码迷,mamicode.com
首页 >  
搜索关键字:note    ( 7358个结果
Android----获取activity上所有的控件
/** * @note 获取该activity所有view * @author liuh * */ public List getAllChildViews() { View view = this.getWindow().getDecorView(); return getAll...
分类:移动开发   时间:2014-12-12 18:58:14    阅读次数:161
leetcode------Single Number II
标题:Single Number II正确率:34%难度:中等Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm sh...
分类:其他好文   时间:2014-12-12 11:14:28    阅读次数:127
基于git的源代码管理模型——git flow
说明:本文以nvie的“a successful git branching model”为蓝本,结合我个人理解写成。如有谬误,还请各位指出。多谢!Note:This article is highly based on nvie'sa successful git branching model....
分类:其他好文   时间:2014-12-11 23:59:08    阅读次数:439
cpack
一. 简介CPack是CMake 2.4.2之后的一个内置工具,主要作用就是生成制定类型的安装包.它可以脱离cmake单独运行.关于怎么具体作用安装包,请参见pack工程二. 基本设置 (mandatory)设置包类型set(CPACK_GENERATOR "DEB") NOTE:参数可以是你所知道...
分类:其他好文   时间:2014-12-11 15:19:35    阅读次数:761
[Elasticsearch] 多字段搜索 (五) - 以字段为中心的查询
以字段为中心的查询(Field-centric Queries) 上述提到的三个问题都来源于most_fields是以字段为中心(Field-centric),而不是以词条为中心(Term-centric):它会查询最多匹配的字段(Most matching fields),而我们真正感兴趣的最匹配的词条(Most matching terms)。 NOTE best_fields同...
分类:其他好文   时间:2014-12-11 10:26:13    阅读次数:312
c++ 11 key note
常数初始化,使用constexpr关键字 constexpr in getNum(){return 4}; int some_arr[getNum + 3]; 初始化列表class InitClass{ public: InitClass(std::initializer...
分类:编程语言   时间:2014-12-11 00:00:59    阅读次数:473
Leetcode: Anagrams
Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.分析:此题的题意不是很明确,意思重新表述应该是一组string里面,有几个...
分类:其他好文   时间:2014-12-10 22:28:44    阅读次数:294
Pascal's Triangle II
Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3, Return [1,3,3,1]. Note: Could you optimize your algorithm to use only O(k) extra space?...
分类:其他好文   时间:2014-12-10 21:16:44    阅读次数:201
leetcode------Single Number(2)
标题:Single Number通过率:46.0%难度: 中等Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should ....
分类:其他好文   时间:2014-12-10 17:41:54    阅读次数:194
【LeetCode】Subsets II 解题报告
【题目】 Given a collection of integers that might contain duplicates, S, return all possible subsets. Note: Elements in a subset must be in non-descending order.The solution set must not con...
分类:其他好文   时间:2014-12-10 12:38:33    阅读次数:196
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!