sscanf和sprintf是scanf和printf家族用法sscanf和sprintf是scanf和printf家族的一对成员,用于处理和分析字符串非常强大得两个函数头文件 stdio.h原型int sscanf(const char *buffer,const char *format,......
分类:
其他好文 时间:
2014-07-16 22:59:38
阅读次数:
200
最近有些人问我PCI设备驱动的问题, 和他们交流过后, 我建议他们先看一看>这本书, 个人感觉, 这本书写得非常连贯流畅.
PCI设备驱动基本包括了PCI的资源获取, 配置空间的读写, 中断的处理, 中断后半部在DPC中的处理.
同时, 也必须了解DMA, ScatterGater, MapRegister, Common Buffer等基础.
1.1 PCI设备资源获取...
这里记录下堆的相关操作。
op 1:
'''
@ data: the heap array
@ p : index of parent item
@ n : number of data
@@ Swap p and it's son items, make p the largest of them
'''
def swapForMaxHeap(data, n, p):
l...
分类:
其他好文 时间:
2014-07-13 17:07:15
阅读次数:
223
Exception in thread "HSQLDB Connection @429be9" java.lang.OutOfMemoryError: Java heap space
在服务器下的data/xxxx也就是数据库路径下,我的在F:\tomcat7\bin\data下删掉关于xxxx的文件及文件夹。...
分类:
数据库 时间:
2014-07-12 22:08:20
阅读次数:
338
Description
Read the statement of problem G for the definitions concerning trees. In the following we define the basic terminology of heaps. A heap is a tree whose internal nodes have each assigned...
分类:
其他好文 时间:
2014-07-12 18:52:12
阅读次数:
285
1.key_buffer 索引块大小 set global hot_cache.key_buffer_size = 1024; //设置大小 show variables like 'key_buffer_size'; 查看大小 PS::不可删除默认的key_buffer大小 ...
分类:
数据库 时间:
2014-07-12 15:53:55
阅读次数:
259
HttpReponse是服务器接收到浏览器的请求后,处理返回结果常用的一个类。一、属性Buffer 获取或设置一个值,该值指示是否缓冲输出并在处理完整个响应之后发送它。BufferOutput 获取或设置一个值,该值指示是否缓冲输出并在处理完整个页之后发送它。Cache ...
分类:
其他好文 时间:
2014-07-11 22:32:36
阅读次数:
246
1.用命令导入导出表C:\Users\xiang>imp bjlims/bjlims@orcl file="c:\tjlims.dmp" full=yC:\Users\xiang>exp GDNA2/DNA file=D:\TEMP.DMP owner=GDNA2 buffer=1024
分类:
其他好文 时间:
2014-07-11 13:04:17
阅读次数:
188
#include "mainwindow.h"#include #include #include #include #include #include #include #define MAX_BUFFER_SIZE (200)typedef unsigned cha...
分类:
数据库 时间:
2014-07-10 14:34:54
阅读次数:
211
本章主要阐述SGA中的Database buffer cache。Buffer cache {1.pin (读写瞬间的状态)2.clean3.dirty4.unused}--Database buffer cache概述:1.段、区、块的概念:create table t2 ( id int, .....
分类:
数据库 时间:
2014-07-09 14:49:28
阅读次数:
219