原文链接:
http://www.rastertek.com/gl40tut04.html
Tutorial 4: Buffers, Shaders, and GLSL
第4章:缓冲区、着色器、GLSL
This tutorial will be the introduction to writing vertex and pixel shaders in OpenGL 4...
分类:
其他好文 时间:
2015-07-12 23:29:04
阅读次数:
450
一、理论概述0、参考资料入门资料:https://developers.google.com/protocol-buffers/docs/javatutorial更详细的资料:For more detailed reference information, see the Protocol Buff...
分类:
其他好文 时间:
2015-07-10 22:10:01
阅读次数:
218
使用纳米 Protocol buffers 作为序列化数据 Protocol Buffers 是 Google 公司开发的一种数据描述语言,类似于XML能够将结构化数据序列化. 但是它更小, 更快, 更简单. 如果你决定使用它作为你的数据, 你必须在你的客户端代码中一直使用纳米 protocol b...
分类:
其他好文 时间:
2015-07-10 18:41:51
阅读次数:
96
一、理论概述0、参考资料入门资料:https://developers.google.com/protocol-buffers/docs/javatutorial更详细的资料:For more detailed reference information, see the Protocol Buff...
分类:
其他好文 时间:
2015-07-10 11:05:32
阅读次数:
168
源文件数据,编码格式为gbk读取出来的数据方式一 1 string[] identities = Encoding.GetEncoding("gbk").GetString(buffers)2 .Split(new char[] { '\r', '\n' })3 .Where((s)...
分类:
其他好文 时间:
2015-07-09 12:40:02
阅读次数:
101
一、使用文件给swap增加空间
1、当前swap空间
free-m
totalusedfreesharedbufferscached
Mem:231227401179
-/+buffers/cache:46185
Swap:381403814
2、使用dd命令创建1个4G大的文件
ddif=/dev/zeroof=/opt/swapbs=4kcount=1000k
1024000+0recordsin
1024000+0recordsout
41943..
分类:
其他好文 时间:
2015-07-08 00:50:18
阅读次数:
142
initialize TCP variables:
sequence numbers
buffers,flow control info
Client: connection initiator
Socket clientSocket = new Socket("hostname","portnumber");
Server: contacted by client
S...
分类:
其他好文 时间:
2015-07-02 17:28:50
阅读次数:
120
Linux下清理内存和Cache方法 /proc/sys/vm/drop_caches
频繁的文件访问会导致系统的Cache使用量大增
$ free -m
total used free shared buffers cached
Mem: 3955 3926 28 0 55 3459
-/+ buffers/cache: 411 3544
Swap: 5726 0 5726
...
分类:
系统相关 时间:
2015-07-01 10:07:01
阅读次数:
215
mysql内存分配 1.MySQL内存申请公式: 1.1 per-thread buffers: 每个线程缓冲内存针对每个线程连接分配的。每个线程的connection buffer和resul...
分类:
数据库 时间:
2015-06-30 12:37:24
阅读次数:
123
free命令相对与top提供了更简洁的方法查看系统内存使用情况。第一行 -- Mem(物理内存统计)total (507924) 物理内存总量used(450832) 总计分配给缓存(buffers和cached)使用的数量,可能部分缓冲并未实际使用free (57092) ...
分类:
其他好文 时间:
2015-06-22 19:20:56
阅读次数:
161