码迷,mamicode.com
首页 >  
搜索关键字:auto    ( 14366个结果
37、
1 new Thread() { 2 3 @Override 4 public void run() { 5 // TODO Auto-generated method stub 6 ...
分类:其他好文   时间:2014-09-27 18:25:10    阅读次数:223
《STL源码剖析》---_auto_ptr.h阅读笔记
auto_ptr是常用的智能指针,其实现很简单,源代码也很短,但是中间有个代理类auto_ptr_ref用的很巧妙,值得学习。...
分类:其他好文   时间:2014-09-27 12:54:09    阅读次数:183
客户端打开
客户端打开服务器是怎么知道连接的1.客户端调用NGP的接口TcpLinkEx::TcpLinkEx(){ auto ser = GetPlug(LibEvtServer); if(!ser) { ser = NEW(LibEvtServer); SetP...
分类:其他好文   时间:2014-09-27 03:48:49    阅读次数:221
client怎样调用IBinder接口对象
代码: public void funclick(View view){ Intent _intent = new Intent(MainActivity.this,MyService.class); bindService(_intent, conn, BIND_AUTO_CREATE); }.....
分类:其他好文   时间:2014-09-27 00:53:28    阅读次数:396
服务器打开共享内存的初始化
服务器共享内存以及客户端打开服务器获得通知过程打开GS就会进行共享内存的初始化,过程很复杂,看了很多次,今天看的时候终于了解了大概了bool DataLayer::init(){ int pid = GetCurrentProcessId(); auto path = Plug::Get...
分类:其他好文   时间:2014-09-26 23:44:58    阅读次数:281
[solr] - suggestion
前文使用了SpellCheck做了个自动完成模拟(Solr SpellCheck),使用第一种SpellCheck方式做auto-complete,是基于动态代码方式建立内容,下面方式可通过读文件方式建立内容,并有点击率排序。1、在mycore/conf目录下新建一个dictionary.txt文件...
分类:其他好文   时间:2014-09-26 19:07:08    阅读次数:155
Layout Support 获取上下bar的长度
Layout SupportThis protocol is implemented by the UIViewController properties topLayoutGuide and bottomLayoutGuide to support using Auto Layout with a...
分类:其他好文   时间:2014-09-26 12:46:58    阅读次数:174
[solr] - spell check
solr提供了一个spell check,又叫suggestions,可以用于查询输入的自动完成功能auto-complete。参考文献:https://cwiki.apache.org/confluence/display/solr/Spell+Checkinghttp://www.cnblogs...
分类:其他好文   时间:2014-09-25 22:08:37    阅读次数:304
水平居中和垂直居中
水平居中(2)方式一:text-align:center适用类型:行级元素方式二:margin:0 auto;适用类型:块级元素垂直居中(7)方式一:line-height适用:内联、块级场景:单行文本垂直居中html: Content here css:#child {line-height: 2...
分类:其他好文   时间:2014-09-25 20:08:47    阅读次数:195
identity 列自动增长问题(SQL Server 2012 Auto Identity Column Value Jump Issue)
SqlServer2012中identity列存在一个特性:当服务器重启时,定义为int的identity列会自动在原来最大值上加1000。例如你原来一个自增列中最大值是2,那你重启后插入一条数据到这个表中,你的这个自增列就会是1002了,在2008里就应该是3.定义为bigint的identity...
分类:数据库   时间:2014-09-25 19:28:57    阅读次数:170
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!