unit Unit1; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Gra ...
分类:
其他好文 时间:
2016-09-08 14:20:45
阅读次数:
849
(* * Unit owner: d10.天地弦 * blog: http://www.cnblogs.com/dksoft * homePage: www.diocp.org * * 2015-02-22 08:29:43 * DIOCP-V5 发布 * * 1. 修复ex.tcpclient编码 ...
分类:
其他好文 时间:
2016-09-06 22:58:33
阅读次数:
171
1.BlockingQueue定义的常用方法如下 抛出异常 特殊值 阻塞 超时 插入 add(e) offer(e) put(e) offer(e,time,unit) 移除 remove() poll() take() poll(time,unit) 检查 element() peek() 不可用 ...
分类:
其他好文 时间:
2016-09-06 17:00:30
阅读次数:
195
MMU 请点评 现代操作系统普遍采用虚拟内存管理(Virtual Memory Management)机制,这需要处理器中的MMU(Memory Management Unit,内存管理单元)提供支持,本节简要介绍MMU的作用。 首先引入两个概念,虚拟地址和物理地址。如果处理器没有MMU,或者有MM ...
分类:
其他好文 时间:
2016-09-06 15:29:15
阅读次数:
125
1 //1.单元内容 2 unit UnitAlienForm; 3 interface 4 uses 5 Windows, Forms, Classes, Graphics; 6 //从文件加载PNG 7 procedure AlienForm_PNGFromFile(AForm : TForm; ...
文章来源: http://anony3721.blog.163.com/blog/static/5119742010866050589/ 一.主单元 1 unit UnMain; 2 3 interface 4 5 uses 6 Winapi.Windows, Winapi.Messages, Sy ...
Unity中的coroutine是通过yield expression;来实现的。官方脚本中到处会看到这样的代码。 疑问: yield是什么? Coroutine是什么? unity的coroutine程序执行流程怎么那么奇怪? unity中的coroutine原理是什么,怎么实现的? 使用unit ...
分类:
编程语言 时间:
2016-09-05 19:08:27
阅读次数:
204
ECHOServer代码(不考虑粘包的处理): unit ufrmMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Ac ...
分类:
其他好文 时间:
2016-09-04 22:05:42
阅读次数:
191
foreach(f: T => Unit) foreachPartition(f: Iterator[T] => Unit) getCheckpointFile getNumPartitions getStorageLevel isCheckpointed isEmpty() max() min() ...
分类:
其他好文 时间:
2016-09-04 17:26:45
阅读次数:
466
MMU(Memory Management Unit,内存管理单元),操作系统通过使用处理器的MMU功能实现以下:1)虚拟内存。有了虚拟内存,可以在处理器上运行比实际物理内存大的应用程序。为了使用虚拟内存,操作系统通常要设置一个交换分区(通常是硬盘),通过将不活跃的内存中的数据放入交换分区,操作系统 ...
分类:
系统相关 时间:
2016-09-03 22:26:30
阅读次数:
239