码迷,mamicode.com
首页 >  
搜索关键字:add binary    ( 48151个结果
如何解决git提交代码冲突
当我们使用git提交代码时,别人可能也同时修改了我们修改的文件,但是别人的先合入到配置库里边,这样当我们的提交要合入时,就会产生冲突,可以使用以下步骤来解决冲突: (1) git rebase    分支名称   本地分支名称 (2)rebase之后,就会显示冲突,到目标文件进行修改 (3)git add . (4)git rebase --continue (5) git rebase...
分类:其他好文   时间:2014-05-10 09:59:20    阅读次数:643
阅读xtrabackup代码的一点笔记
xtrabackup binary最重要的两个过程是backup和prepare,对应的函数分别是xtrabackup_backup_func()和xtrabackup_prepare_func(),这里做一些阅读代码时的笔记。xtrabackup backup的线程模型:1. 一个log拷贝线程;...
分类:其他好文   时间:2014-05-07 19:20:21    阅读次数:505
bson
1. 什么是bsonBSON是一种类json的一种二进制形式的存储格式,简称Binary JSON,它和JSON一样,支持内嵌的文档对象和数组对象,但是BSON有JSON没有的一些数据类型,如Date和BinData类型。BSON可以做为网络数据交换的一种存储形式,这个有点类似于Google的Pro...
分类:其他好文   时间:2014-05-07 18:23:01    阅读次数:413
Leetcode | Binary Tree Maximum Path Sum
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, 1 ...
分类:其他好文   时间:2014-05-07 09:36:09    阅读次数:300
LeetCode OJ - Validate Binary Search Tree
验证二叉树是否是查找树,可以通过查看它的中序遍历是否是升序的。下面是AC代码: 1 /** 2 * Given a binary tree, determine if it is a valid binary search tree (BST). 3 * solution : 4...
分类:其他好文   时间:2014-05-07 09:01:45    阅读次数:250
LinkedList implement
public class LinkedList { Node head = null; Node tail = null; int length = 0; public void add(Object object) { Node node  = new Node(object, null); if (head == null) { head = tail = nod...
分类:其他好文   时间:2014-05-07 08:24:17    阅读次数:306
ArrayList implement
public class ArrayList { Object[] objects = new Object[10]; int index = 0; public void add(Object object) { if (index == objects.length) { Object[] newObjects = new Object[objects.length*2]; ...
分类:其他好文   时间:2014-05-07 07:57:10    阅读次数:257
leetcode第一刷_Binary Tree Maximum Path Sum
这是道好题。...
分类:其他好文   时间:2014-05-07 06:33:00    阅读次数:284
ios APP 在 waiting for review时重新上传程序
点击details进入后在link点击binary details,进入之后点击右上角reject this binary,然后就可以重新上传了。...
分类:移动开发   时间:2014-05-07 03:43:15    阅读次数:392
LeetCode OJ - Recover Binary Search Tree
这道题要求空间复杂度为O(1),则只能采用Morris Traversal进行中序遍历!!这个了解了之后,难点在于如何定位到两个被交换了的节点?我就被困在这里几个小时!!!(允许我为自己的愚蠢表示下悲伤吧!!!)参考了discuss中前辈的算法,才发现很简单!!!我们只需要这样来看问题,BST的中序...
分类:其他好文   时间:2014-05-06 12:55:19    阅读次数:301
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!