码迷,mamicode.com
首页 >  
搜索关键字:protocol buffer    ( 10832个结果)
MFC-将CString转换成std::string
//将CString转换成const char * int stringLength = ::WideCharToMultiByte(CP_UTF8, NULL, video_path, wcslen(video_path), NULL, 0, NULL, NULL); char* buffer.....
分类:编程语言   时间:2015-04-02 18:27:45    阅读次数:210
Oracle TopSQL
常用的Oracle查询TOP语句。 Top 10 by Buffer Gets: 最耗缓存 set?linesize?100 set?pagesize?100 SELECT?*?FROM (SELECT?SQL_FULLTEXT?sql, ????????buffer_gets,?executions,?buffer_gets/e...
分类:数据库   时间:2015-04-02 16:50:18    阅读次数:219
Buffer和Cache
Buffer和CacheBuffer和Cache的定义Abufferissomethingthathasyettobe"written"todisk.Acacheissomethingthathasbeen"read"fromthediskandstoredforlateruse.CacheCache:高速缓存,是位于CPU与主内存间的一种容量较小但速度很高的存储器。由于CPU的速度远高于主内存,CPU直接从..
分类:系统相关   时间:2015-04-02 16:42:28    阅读次数:139
Linux系统中的Page cache和Buffer cache
Linux系统中的Pagecache和BuffercacheFree命令显示内存首先,我们来了解下内存的使用情况:Mem:表示物理内存统计total:表示物理内存总量(total=used+free)used:表示总计分配给缓存(包含buffers与cache)使用的数量,但其中可能部分缓存并未实际使用。free:未被分配的内存..
分类:系统相关   时间:2015-04-02 16:41:53    阅读次数:237
深入理解Linux网络技术内幕——协议处理函数
网络帧在进入网络层时,需要区分不同的网络协议进行处理,这就需要涉及协议处理函数。 首先我们从驱动接收到一个数据帧,分析数据帧在协议栈中自下而上的传输流程。 设备驱动程序在接收到一个数据帧时,会将其保存在一个sk_buff缓冲区数据结构,并对其进行初始化。 struct sk_buff { ...... __be16 protocol:16; ...... } 在这个缓...
分类:系统相关   时间:2015-04-02 15:12:02    阅读次数:317
Ajax本地跨域问题 Cross origin requests are only supported for HTTP
问题:打开本地html文件时,报错如下Cross origin requests are only supported for protocol schemes: http, data,chrome-extension, https, chrome-extension-resource.分析:浏览器...
分类:Web程序   时间:2015-04-02 13:04:09    阅读次数:222
Muduo 设计与实现之一:Buffer 类的设计
【开源访谈】Muduo 作者陈硕访谈实录 http://www.oschina.net/question/28_61182 开源访谈是开源中国推出的一系列针对国内优秀开源软件作者的访谈,以文字的方式记录并传播。我们希望开源访谈能全面的展现国内开源软件、开源软件作者的现状,着实推动国内开源软件的应用与发展。 【嘉宾简介】 陈硕 北京师范大学硕士,擅长 C++ ...
分类:其他好文   时间:2015-04-02 11:41:17    阅读次数:207
arp 数据
Last login: Wed Apr  1 23:44:36 on ttys000 localhost:~ apple$ sudo tcpdump -i en0 host 192.168.0.1 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on en0, link-...
分类:其他好文   时间:2015-04-02 01:30:31    阅读次数:380
Linux Command Line
一.lsof对于一切皆文件的Linux,listopenfiles无疑非常管用,常用参数mark下,以备后续快速查询。1.-iinternet,即跟网络有关,用法:lsof-i[46][protocol][@hostname|hostaddr][:service|port]46-->IPv4orIPv6protocol-->TCPorUDPhostname-->Internethostnamehostadd..
分类:系统相关   时间:2015-04-01 20:12:00    阅读次数:291
linux源代码阅读笔记 find_entry分析
78 static struct buffer_head * find_entry(struct m_inode * dir, 79 const char * name, int namelen, struct dir_entry ** res_dir)find_entry是linu...
分类:系统相关   时间:2015-04-01 14:49:53    阅读次数:165
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!