session.BeginDataAccess(); if (session.GotoFirstSource()){ do{ RTPPacket *packet; while ((packet = session.GetNextPacket()) != 0){ ...
分类:
其他好文 时间:
2014-08-06 11:49:51
阅读次数:
315
DOM event delegation is a mechanism of responding to ui-events via a single common parent rather than each child, through the magic of event "bubbling" (aka event propagation).
When an event is tri...
分类:
其他好文 时间:
2014-08-05 14:06:30
阅读次数:
259
A Magic Lamp
Time Limit: 2000/1000 MS (Java/Others) Memory Limit:
32768/32768 K (Java/Others)
Problem Descripti...
分类:
其他好文 时间:
2014-08-05 11:23:19
阅读次数:
240
Embodiments of the present invention address deficiencies of the art in respect to secure communications for multiple hosts in an address translation ...
分类:
Web程序 时间:
2014-08-05 02:54:48
阅读次数:
381
Volley源码分析系列出了有一段日子了,有不少看官私底下给我留言,同时抛出了一些问题。对于一些比较简单的问题我们跳过去,这两天接到网友是@smali提出的问题。不得不赞一下这位看官看源码时候的细腻程度,我引出这个问题供大家一块思考一下。
Q:在写入文件头数据的时候为何不直接写入Int而是通过移位的方式来完成?
我们来看一下对应的源码:
writeInt(os, CACHE_MAGIC);
...
分类:
移动开发 时间:
2014-08-04 14:25:47
阅读次数:
235
Magic xpa 2.5 Release NotesNew Features, Feature Enhancements and Behavior ChangesCall with Destination – Backward Compatibility EnhancementsIn Online...
分类:
其他好文 时间:
2014-08-04 13:54:57
阅读次数:
333
一、在Packet Tracer上边画好拓扑,并配置好模块和帧中继DLCI
先看下配好的拓扑图:
配置过程:
1、添加3台路由器,我用的是2811,为路由器添加S端口模块,我用的是NM-4A/S模块。
2、添加一个Cloud-PT-Empty设备(Cloud0)模拟帧中继网络,为Cloud0添加3个S端口模 块,好与路由器连接!
?
3、设置好S1,...
分类:
其他好文 时间:
2014-08-01 23:19:22
阅读次数:
340
QuicksumTime Limit: 2 Seconds Memory Limit: 65536 KBA checksum is an algorithm that scans a packet of data and returns a single number. The idea is...
分类:
其他好文 时间:
2014-08-01 22:43:32
阅读次数:
333
【题目大意】题目大意是这样的:某工厂生产几种产品,首先用packet包住,这些产品的高度都是h,底面积有1*1,2*2,3*3,4*4,5*5,6*6六种规格,下面我们要用高度为h,底面积为6*6的集装箱装这些货物,问怎样使所用集装箱数目最少?【解题思路】我们首先必须先装底面积大的货物,并且对于面积...
分类:
其他好文 时间:
2014-08-01 13:04:31
阅读次数:
235
ioctl.h 分析
我自己画了个解析图。。。不要嫌弃丑啊。。。哈哈
type
The magic number. Just choose one number (after consultingioctl-number.txt ) and use it throughout the driver. This field is eight b...
分类:
其他好文 时间:
2014-08-01 10:55:41
阅读次数:
234