Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1解决方法:在Build Setting 搜索框中搜索...
分类:
其他好文 时间:
2014-11-26 22:35:42
阅读次数:
233
Stream buffer是一个用于在cache和memory或者L1cache和L2cache之间的预取器,相应地,其目的是用于替代L2cache或者减少L1cache的缺失率
最原始的stream buffer由Jouppi(Improving direct-mapped cache performance by the addition of a small fully-associative cache and prefetch buffers.)一个人提出(牛逼吧?论文上也是一个作者),用于在L2...
分类:
其他好文 时间:
2014-11-26 16:29:20
阅读次数:
527
简述 创建一个套接口。 #include SOCKET PASCAL FAR socket( int af, int type, int protocol); af:一个地址描述。目前仅支持AF_INET格式,也就是说ARPA Internet地址格式。 type:新套接口的类型描述。 proto....
分类:
其他好文 时间:
2014-11-26 16:25:02
阅读次数:
195
free命令就是查看linux内存使用的常用命令free的常用参数:-m以M为单位查看内存使用情况-b以字节为单位查看内存使用情况-s可以再指定时间段不间断监控内存情况Mem:表示物理内存统计-/+buffers/cached:表示物理内存的缓存统计Swap:表示硬盘上交换分区的使用情况,第1行Mem:t..
分类:
其他好文 时间:
2014-11-26 11:38:25
阅读次数:
158
database linkdblink的主要作用是两个数据库间的数据访问create database link my_test connect totestdbname identified by testpassusing '(DESCRIPTION = (ADDRESS = (PROTOCOL...
分类:
数据库 时间:
2014-11-26 11:07:08
阅读次数:
227
#import typedef void(^compeletionHandler) (NSInteger selectButtonIndex);@class ZSDCustom;@protocol ZSDCustomDelegate -(void)showCustomView:(ZSDCustom ...
分类:
移动开发 时间:
2014-11-26 10:56:45
阅读次数:
190
(一)代理模式应用场景:当一个类的某些功能需要由别的类来实现,但是又不确定具体会是哪个类实现。优势:解耦合敏捷原则:开放-封闭原则实例:tableview的 数据源delegate,通过和protocol的配合,完成委托诉求。列表row个数delegate自定义的delegate(二)观察者模式应用...
分类:
移动开发 时间:
2014-11-26 01:23:19
阅读次数:
235
#import @class ZBTabBar;@protocol ZBTabBarDelegate -(void)tabBar:(ZBTabBar *)tabBar didSelectButtonFrom:(int)from to:(int)to;@end@interface ZBTabBar :...
分类:
其他好文 时间:
2014-11-25 22:59:54
阅读次数:
152
默认情况下,libcurl不支持https, 如果使用https链接,就会出现"?Protocol https not supported or disabled in libcurl" 的错误提示。查看curl是否支持https可以使用命令: curl -V。 curl有两种方式使用https...
分类:
Web程序 时间:
2014-11-25 16:41:05
阅读次数:
264
Java网络编程提供了两种协议:TCP(传输控制协议)和UDP(数据报协议)。TCP(Transmission Control Protocol)是一种可靠的传输协议,传输时会采用“三次握手”端的方式建立连接,以保证数据的可靠性和安全性;而UDP(User Datagram Protocol)协议是一种不可靠的传输协议,发送的数据不一定能够接受的到,网上的聊天是工具一般采用的此协议。下面将详细的接受TCP和UDP的使用以及相应的编码。
一、TCP网络通信
二、UDP网络通信...
分类:
编程语言 时间:
2014-11-25 16:32:22
阅读次数:
235