码迷,mamicode.com
首页 > 其他好文
RAC安装概要
RAC安装概要GRID版本: 11.2.0.0.0Oracle版本: 11.2.0.1OS: RHEL5.8 x86_64 (2.6.18-308.el5)#!/bin/bash# 设置当前要配置的节点, 1为node101机器, 2为node102机SID=1#SID=2# ===========...
分类:其他好文   时间:2014-11-23 17:20:34    阅读次数:335
【2014-11-23】《The Hardware/Software Interface》– Section 10
The malloc package void* malloc(size_t size) void free (void *p) other functions calloc: Version of malloc that initializes allocated block to zero re...
分类:其他好文   时间:2014-11-23 17:18:55    阅读次数:180
Virtual Member Functions 的语意
看过之前的 virtual function可以知道其实现模型: 每一个 class 有一个 virtual table. 内含该 class 之中 有作用的 virtual function 地址, 然后每个 object 有一个 vptr, 指向 virtual table 的所在. 在这一节中...
分类:其他好文   时间:2014-11-23 17:19:40    阅读次数:226
Git 的基本配置
用户信息你个人的用户名称和电子邮件地址,用户名可随意修改,git 用于记录是谁提交了更新,以及更新人的联系方式。$ git config --global user.name "Donly Chan"$ git config --global user.email donly@example.com...
分类:其他好文   时间:2014-11-23 17:20:20    阅读次数:158
[Leetcode] Largest Rectangle in Histogram
Givennnon-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histog...
分类:其他好文   时间:2014-11-23 17:19:58    阅读次数:254
计算机存储系统学习心得
分层组织计算机存储系统由高层到低层分别名之寄存器堆、高速缓存(cache)、主存(main memory)和外存(secondary memory)。那么为什么记忆系统要层次化呢?如果答案是效率,那么提效的原理又是什么呢?如果原理是传说中的局部性原理(principle of locality),那...
分类:其他好文   时间:2014-11-23 17:19:37    阅读次数:228
bzoj 3143: [Hnoi2013]游走 高斯消元
3143: [Hnoi2013]游走Time Limit:10 SecMemory Limit:128 MBSubmit:1026Solved:448[Submit][Status]Description一个无向连通图,顶点从1编号到N,边从1编号到M。小Z在该图上进行随机游走,初始时小Z在1号顶点...
分类:其他好文   时间:2014-11-23 17:17:33    阅读次数:249
minlen of expression of integer
given an integer ,find 最小长度minlen 的expression of integer, minlen 定义为多少个完全平方数相加例如 14 = 1 + 4 + 9, minlen = 3int MinExpressionInteger(int i){ int k =...
分类:其他好文   时间:2014-11-23 17:15:54    阅读次数:189
三层交换单臂路由vlan间通信综合实验之降龙要点--Lee
单臂路由三层交换机提供vlan间的通信之菜鸟之降龙详解要点:图示PC:左到右依次设置IP172.16.10.1,20.1,30.1,40,1,50,1/24网关10.254,20.25430,25440,25450.254目的:全网ping通2层交换,下行做vlan,把接口划分vlan内,上行接口做...
分类:其他好文   时间:2014-11-23 17:16:44    阅读次数:275
OpenCASCADE Linear Extrusion Surface
Abstract. OpenCASCADE linear extrusion surface is a generalized cylinder. Such a surface is obtained by sweeping a curve (called the “extruded curve” ...
分类:其他好文   时间:2014-11-23 17:18:29    阅读次数:414
expression tree to string
+/ \1 */ \5 6这样的。要返回1+(5*6)struct TreeNode{ TreeNode * left, *right; string val; TreeNode(string i) :val(i), left(NULL), right(NULL){}}; bool...
分类:其他好文   时间:2014-11-23 17:17:23    阅读次数:156
实现 memcpy
void * Memcpy(void * src, void * des, int len){ char * pSrc, *pDes; if (NULL == des || NULL == src) return NULL; if (src (char*)des) ...
分类:其他好文   时间:2014-11-23 17:17:30    阅读次数:146
给一个只包含 0, 1, * 的 String,将所有的* 替换成 0 或者 1, 返回所有的可能行
void GetAllString(int start, string & str, vector & res) { if (start == str.size()) { res.push_back(str); } else { ...
分类:其他好文   时间:2014-11-23 17:16:19    阅读次数:189
GS LiveMgr心跳管理类
struct LiveMgr{private: int m_nCount; /// m_vecChannels; /// m_spTimer; /// m...
分类:其他好文   时间:2014-11-23 17:14:19    阅读次数:216
三元组的补充(稀疏矩阵的乘法)
1 #include 2 #include 3 #include 4 #include 5 6 using namespace std; 7 8 class Node { 9 public: 10 int row,col; 11 int value; ...
分类:其他好文   时间:2014-11-23 17:16:37    阅读次数:409
使用 VisualVM 进行性能分析及调优
本文转自:http://www.ibm.com/developerworks/cn/java/j-lo-visualvm/index.htmlVisualVM 是一款免费的\集成了多个 JDK 命令行工具的可视化工具,它能为您提供强大的分析能力,对 Java 应用程序做性能分析和调优。这些功能包括生...
分类:其他好文   时间:2014-11-23 17:14:25    阅读次数:280
Leetcode Word Break
Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.For exampl...
分类:其他好文   时间:2014-11-23 17:13:25    阅读次数:203
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!