码迷,mamicode.com
首页 >  
搜索关键字:failed to push some refs to    ( 25890个结果
STL 队列 、优先队列、栈 小结
学长说现在基本上可以开始学习STL中一些标准模板了,今天先总结一下 队列、栈、优先队列 1、队列(queue)       先进先出原则,头文件#include ,定义结构queue名称;queueq、queueq等; 如: struct node { int x; }f; queueq;//结构体类型队列 q.push(f) //将f压入队列的尾部 node t...
分类:其他好文   时间:2014-06-28 08:36:49    阅读次数:162
INSTALL_FAILED_MISSING_SHARED_LIBRARY
install FMRadio.apk的时候一直报这个错。 原因是高通的FMRadio的jni库和apk是分开的,也就是说直接编译生成的apk中是不包含这个库的,因此install的时候会提示没有共享库。对这个apk的办法是采用push的方式。...
分类:其他好文   时间:2014-06-28 07:50:05    阅读次数:240
正整数划分的另一种解法 (纯递归)
Step 1: n ==1 : return 1 n == 2 : return  [1,1],[2]Step 2:for n > 2a.arr.push(n)b.arr.push([n-1,1])c.1 get result of recursion(n-2)c.2 combine n==2 & result => retc.3 remove duplicate record in retcod...
分类:其他好文   时间:2014-06-28 07:17:11    阅读次数:255
了解saltstack的通信协议zeromq(二)
上文讨论了PAIR/PAIR,REQ/REP两种模式,现在看看PUB/SUB和PUSH/PULL模式。PUB/SUB:发布订阅模式,跟我们订阅新闻类似的,采用异步IO,多对多模式,如果没有订阅,服务端发送的消息直接丢弃掉。pub_server.pyimportzmq importrandom importsys importtime port="5556" iflen(s..
分类:其他好文   时间:2014-06-28 06:38:09    阅读次数:649
error
Gem::Ext::BuildError:ERROR:Failedtobuildgemnativeextension./home/chenwei/.rvm/rubies/ruby-1.9.3-p547/bin/rubyextconf.rbcheckingforruby/thread.h...nocheckingforrb_thread_blocking_region()...yescheckingforrb_wait_for_single_fd()...yescheckingforrb_hash_dup()...
分类:其他好文   时间:2014-06-28 00:32:22    阅读次数:296
自定义Activity的跳转动画
本来感觉是一个很小的需求, 后来发现老是 出问题, 使用Theme在 4.0上 操作不是很好用. 后来查阅资料, 需要在finish 后面 和 startActivity 后面添加    overridePendingTransition(R.anim.push_right_in,                 R.anim.push_right_out); ...
分类:其他好文   时间:2014-06-27 23:33:51    阅读次数:385
多视图控制器跳转方法
1.Modal:打开:presentViewController关闭:dismissViewController2.Push:需搭配NavigationController使用,采用压栈和出栈的方式打开:pushViewController关闭:popViewController3.Segue:以上...
分类:其他好文   时间:2014-06-27 13:57:24    阅读次数:161
[leetcode] Search in Rotated Sorted Array
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
分类:其他好文   时间:2014-06-27 12:11:09    阅读次数:181
HP 笔记本 UEFI 模式下还原 windows 7 the system image restore failed
本人公司电脑型号为HPfolio9740m,用windows7自带的修复工具,恢复windows标准镜像文件,出现如下错误:Thesystemp_w_picpathrestorefailed.Windowscannotrestoreasystemp_w_picpathtoacomputerthanhasdifferentfirmware.Thesystemp_w_picpathwascreatedonacomputerusingBIOSand..
分类:Windows程序   时间:2014-06-27 06:48:53    阅读次数:537
.net wcf memory gates checking failed
某个功能不能使用,从内网访问这个API出现memorygatescheckingfailed。如下图所示,正如上图所说,激活wcf最小内存不够,加minFreeMemoryPercentageToActivateService="0"。恢复正常访问如下图所示,为了以后预防这种问题再次发生,暂时有两种解决方法可选:1、服务器增加内存..
分类:Web程序   时间:2014-06-27 06:16:28    阅读次数:449
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!