码迷,mamicode.com
首页 >  
搜索关键字:protocol buffers    ( 6697个结果
Socket编程实践(3) --Socket API
socket函数#include #include int socket(int domain, int type, int protocol);创建一个套接字用于通信参数:   domain:指定通信协议族(protocol family),常用取值AF_INET(IPv4)   type:指定socket类型, 流式套接字SOCK_STREAM,数据报套接字SOCK_DGRAM,原始套接字...
分类:Windows程序   时间:2015-03-14 13:56:46    阅读次数:238
ORA-28040: No matching authentication protocol
使用hibernate+oracle数据库时报错,错误如下: 121 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.3.1.GA 147 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found 162 [main] INFO org....
分类:其他好文   时间:2015-03-14 11:07:05    阅读次数:877
iOS 中KVC、KVO、NSNotification、delegate 总结及区别
iOS 中KVC、KVO、NSNotification、delegate 总结及区别 1、KVC,即是指 NSKeyValueCoding,一个非正式的Protocol,提供一种机制来间接访问对象的属性。而不是通过调用Setter、Getter方法访问。KVO 就是基于 KVC 实现的关键技术之一。 Demo: @interface myPerson : NSObject { NSString*_name; int _age; ...
分类:移动开发   时间:2015-03-13 16:41:59    阅读次数:74011
ios --关于播放 itunes 里面的歌曲
详情见:http://www.cnblogs.com/kenshincui/p/4186022.html 写的很好#import @protocol MyMusicPlayer @optional@optional/** * 当前播放的时间 * * @param time 时间 */-(void.....
分类:移动开发   时间:2015-03-13 16:01:05    阅读次数:202
影响postgresql性能的几个重要参数
PG的配置文件是数据库目录下的postgresql.conf文件,8.0以后的版本可支持K,M,G这样的参数,只要修改相应参数后重新启动PG服务就OK了。shared_buffers:这是最重要的参数,postgresql通过shared_buffers和内核和磁盘打交道,因此应该尽量大,让更多的数...
分类:数据库   时间:2015-03-13 15:52:52    阅读次数:161
【转载】free查看内存
http://blog.csdn.net/hylongsuny/article/details/7742995free 命令相对于top 提供了更简洁的查看系统内存使用情况:$ free total usedfree shared buffers c...
分类:其他好文   时间:2015-03-12 16:41:14    阅读次数:133
在Win7的IIS上搭建FTP服务及用户授权——转载!!
原文地址:http://blog.sina.com.cn/s/blog_6cccb1630100q0qg.htmlFTP服务 FTP是文件传输协议(File Transfer Protocol)的简称,该协议属于应用层协议(端口号通常为21),用于Internet上的双向文件传输(即文件的上传和下载...
分类:Windows程序   时间:2015-03-12 14:54:24    阅读次数:153
在 go/golang语言中使用 google Protocol Buffer
怎么在go语言中实用google protocol Buffer呢?现在的潮流趋势就是一键搞定,跟ubuntu安装软件一样go get code.google.com/p/goprotobuf/{proto,protoc-gen-go}go install code.google.com/p/gop...
分类:编程语言   时间:2015-03-11 16:40:36    阅读次数:218
正式协议
正式协议的概念,可以通过在@protocol部分列出一组方法名来定义一个正式协议。通过在@interface声明中的类名之后列出用尖括号括起来的协议名称,对象可以采用该协议。当对象采用一个正式协议时,它承诺实现该协议中列出的每一个要求实现的方法。如果你没有实现协议中的所有方法,编译器将向你提出警告,...
分类:其他好文   时间:2015-03-10 22:55:05    阅读次数:178
Swift的关键字
常见的关键字有以下4种:1、与声明有关的关键字:class,deinit,enum,extension,func,import,init,let,protocol,static,struct,subscript,typealias,var2、与语句有关的关键字:break,case,continue,default,do,else,fallthrough,if,in,for,return,switch,return,where,while3、..
分类:编程语言   时间:2015-03-10 19:39:30    阅读次数:144
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!