码迷,mamicode.com
首页 > 其他好文
Complete Binary Search Tree
A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:The left subtree of a node contains only nodes w...
分类:其他好文   时间:2015-04-13 18:25:39    阅读次数:144
xenserver 备份backup和还原restore命令
转载:http://zhumeng8337797.blog.163.com/blog/static/100768914201425103713738/ 1. 备份和还原pool中的metadata: 备份命令: xe pool-dump-database file-name=[filepath an...
分类:其他好文   时间:2015-04-13 18:26:57    阅读次数:604
格式化字符串
C#的String.Format的用法,一般地我们可以直接使用string.format()或int.ToString()和float.ToString() 1、这个例子是小数点固定两位,两个小数点用 0.00表示,如果float的小数点后的值小于0,将会补两个0 String.Format("{0...
分类:其他好文   时间:2015-04-13 18:24:45    阅读次数:127
观看github前100开源项目的读后感
文章来自:http://www.oschina.net/news/61416/github-top-100-objective-c-projects?from=20150412ReactiveCocoa排名第5 MVMM 其中的VM 感觉应该是把MVC 的C 分得更细致了 ,让C的耦合性没有那么高了...
分类:其他好文   时间:2015-04-13 18:26:03    阅读次数:141
edittext文本变化监听事件
textView.addTextChangedListener(new TextWatcher() { @Override public void onTextChanged(CharSequence chars, int arg1, int arg2, int arg3) { ...
分类:其他好文   时间:2015-04-13 18:25:24    阅读次数:109
Longest Palindromic Substring
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longes...
分类:其他好文   时间:2015-04-13 18:24:42    阅读次数:112
【BZOJ】【1025】【SCOI2009】游戏
DP/整数拆分 整个映射关系可以分解成几个循环(置换群的预备知识?),那么总行数就等于各个循环长度的最小公倍数+1(因为有个第一行的1~N)。那么有多少种可能的排数就等于问有多少种可能的最小公倍数。 呃现在问题就变成了:给你一个数N,将它分解成几个数的和,然后找这些数的最小公倍数总共多少种。很明.....
分类:其他好文   时间:2015-04-13 18:25:59    阅读次数:139
源代码加密软件采购时的注意事项!
大型源代码开发企业在选购源代码安全加密产品时,建议按照下列步骤以及注意事项内容开展企业级源代码加密软件的选型工作。
分类:其他好文   时间:2015-04-13 18:24:21    阅读次数:103
leetcode之Merge Two Sorted Lists
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.这道题是合并两个有...
分类:其他好文   时间:2015-04-13 18:25:38    阅读次数:97
ActivityChooserView-具体使用事例
今天接触到了数据分享这个类,现在总结一下它的具体使用方法1.直接绑定一个menu item上,代码如下其实,这里面的icon可以不用设置,因为你设置了也没有什么效果。它其实是在theme中设定 只要我们在这个按钮上绑定了这个类,当我们点击这个按钮的时候,就会自动打开它了。不过,这个类也需要满足...
分类:其他好文   时间:2015-04-13 18:23:10    阅读次数:756
源代码加密软件,提供了哪些利于软件开发的功能?
源代码加密软件为软件开发工程师提供了哪些加密功能以保证其安全,高效的完成公司企业交付的开发任务。现有大部份源代码加密软件都是以透明加密为主的,而透明加密产品由于对文件类型的绑定,容易导致诸多调试问题,并不是开发软件企业的最优选择,理论上加密软件加密功能与产品开发效率是冲突的,而源代码加密软件所提供的...
分类:其他好文   时间:2015-04-13 18:23:27    阅读次数:155
判断PC机大小端
判断PC机大小端 1 #include 2 #include 3 4 int main() 5 { 6 short a = 0x0102; 7 char *p = (char*)(&a); 8 9 //低字节存储在低地址10 if(*p == 2 && *(p +...
分类:其他好文   时间:2015-04-13 18:22:28    阅读次数:128
BADI OVERVIEW
什么是BADI,如何从SAP中查找BADI?Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommod...
分类:其他好文   时间:2015-04-13 18:22:45    阅读次数:253
[LeetCode] Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Pana...
分类:其他好文   时间:2015-04-13 18:23:52    阅读次数:105
SV中的随机化
SV中的随机化,绿皮书
分类:其他好文   时间:2015-04-13 18:22:52    阅读次数:839
创建Thrift Server和Thrift Client
1、创建Serverpackage cn.horace.thrift.server;import cn.horace.thrift.idl.IUserService;import cn.horace.thrift.rpc.IUserServiceImpl;import org.apache.thri...
分类:其他好文   时间:2015-04-13 18:23:20    阅读次数:126
Objective-C Block方法与笑笑语法
#pragma mark - block语法 NSLog(@"========block方法1==========="); [students sortUsingComparator:^NSComparisonResult(id obj1, id obj2) { Student...
分类:其他好文   时间:2015-04-13 18:22:59    阅读次数:82
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!