报错信息:Replicate_Wild_Ignore_Table:Last_Errno:1032Last_Error:CouldnotexecuteDelete_rowseventontableproduct_same.authtoken_token;Can‘tfindrecordin‘authtoken_token‘,Error_code:1032;handlererrorHA_ERR_KEY_NOT_FOUND;theevent‘smasterlogmysql-bin.001710,end_lo..
分类:
其他好文 时间:
2014-11-27 18:54:19
阅读次数:
211
1 void levelOrder(Bitree* root){ 2 queue nodeQueue; 3 Node* pointer=root; 4 if(pointer){ 5 nodeQueue.push(pointer); 6 } 7 ...
分类:
其他好文 时间:
2014-11-26 22:28:44
阅读次数:
211
尽可能使用const
(1)const约束指针、迭代器
const char* p = "adc"; //non-const pointer,const data
char* const p = "abc"; //const pointer,non-const data
const char* const p = "abc";//const pointer,const data
const s...
分类:
编程语言 时间:
2014-11-26 20:59:52
阅读次数:
169
很明显的2 pointer问题。。。当满足条件的时候后面的指针加,不满足条件的时候前面的指针加,直到满足条件。。。class Solution {public: int lengthOfLongestSubstringTwoDistinct(string s) { int sta...
分类:
其他好文 时间:
2014-11-26 16:10:45
阅读次数:
336
按变量地址存取变量值的方式称为直接访问方式;定义特殊变量用来存放地址,i_pointer的值就是变量i所占用单元的起始地址;存取变量i的值。则要找到存放i的地址的变量,取出地址,然后到地址去取值;i_pointer=&i;一个变量的地址称为该变量的指针;如果有一个变量专门用来存放另一变量的地址(指针...
分类:
编程语言 时间:
2014-11-26 16:06:26
阅读次数:
358
template , // map::key_compare class Alloc = allocator > // map::allocator_type > class map;struct Cell{int...
分类:
其他好文 时间:
2014-11-26 11:06:25
阅读次数:
147
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy ...
分类:
其他好文 时间:
2014-11-26 10:45:07
阅读次数:
205
本文是论文Deep Learning Face Representation by Joint Identification-Verification的阅读笔记。
这篇论文使用deep learning学习特征,使用联合贝叶斯模型作为分类器,选取七组特征分别训练分类器,得到的结果使用SVM进行组合,得到的最终模型在LFW(Labeled Face in the Wild)数据集上的人脸验证任务中,达到了99.15%的准确率,目前排名第一。...
分类:
其他好文 时间:
2014-11-26 01:27:52
阅读次数:
282
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy ...
分类:
其他好文 时间:
2014-11-25 22:44:23
阅读次数:
179
1.memcache状态stats说明:
pid memcache服务器的进程ID
uptime 服务器已经运行的秒数
time 服务器当前的unix时间戳
version memcache版本
pointer_size 当前操作系统的指针大小(32位系统一般是32bit)
rusage_user 进程的累计用户时间
rusage_system 进程的累计系统时间
...
分类:
系统相关 时间:
2014-11-25 16:33:25
阅读次数:
204