This project shows how to use the IOKit notification mechanism to register to be notified when devices come and go. It uses the Cypress/Anchor EZ-USB chip. (Look at the following example for another way to get notified when a device is unplugged).
标签: notification mechanism notified register
上传时间: 2013-12-01
上传用户:zhuimenghuadie
The full Fusion SDK consists of a directory of header files (*.h), the eyeonSystem.lib file and the eyeonScript.lib file. We have also included some sample plug‐ins to help get you acquainted with the Fusion plug‐in architecture.
标签: eyeonSystem directory the consists
上传时间: 2016-06-07
上传用户:dancnc
Findstr.cpp运行结果: GetNext-IndexKMP的结果: 输入主串s:acabaabcaabaabcac 输入模式串t:abaabcac 主串s长=17 模式串t长=8 next[0]=-1 next[1]=-1 next[2]=0 next[3]=0 next[4]=1 next[5]=-1 next[6]=0 next[7]=-1 next[8]=0 模式串在主串的位置从第10个字符开始 GetNext-IndexKMP的结果: next[1]=0 next[2]=1 next[3]=1 next[4]=1 next[5]=2 next[6]=1 next[7]=1 模式串在主串的位置从第10个字符开始 GetNextVal-IndexKMP的结果: next[1]=0 next[2]=1 next[3]=1 next[4]=0 next[5]=2 next[6]=1 next[7]=1 模式串在主串的位置从第10个字符开始 GetNext-IndexKMP的结果: next[1]=0 next[2]=1 next[3]=1 next[4]=1 next[5]=2 next[6]=1 next[7]=1 模式串t在主串s中的位置从第10个字符开始 IndexBF的结果: 模式串t在主串s中的位置从第10个字符开始
标签: acabaabcaabaabcac GetNext-IndexKMP abaabcac Findstr
上传时间: 2013-12-25
上传用户:璇珠官人
pashload是应用在linux下的网络带宽测试源程序精确度比较高 ///////////////////////////////////// Pathload is a tool for estimating the available bandwidth of an end-to-end path from a host S (sender) to a host R (receiver). The available bandwidth is the maximum IP-layer throughput that a flow can get in the path from S to R, without reducing the rate of the rest of the traffic in the path.
标签: pashload Pathload linux tool
上传时间: 2016-06-29
上传用户:xzt
我所采用的内存管理思想是链表管理思想,内存分配方案是最佳适应方案(best fit)。其主要的数据结构为 struct node { char* p int memosize int flag struct node* next } 这是一个链表的结点的数据结构,用它来管理内存的分配与回收。P 表示所指的分配的内存的首地址,memosize 表示分配的内存块的大小,flag 为一个标志量,表示内存块是否被占用。用 1 和 0 来表示被占用和不被占用。next 表示下一个结点的首地址。 内存管理包括一个分配内存的mm_request(unsigned int)函数,一个初始化所要管理的内存的mm_init()函数,一个空闲列表排序函数sort(),一个释放内存的mm_release(void* )函数和一个判断内存是否被占用的IsFree(int)函数。
标签: 内存管理
上传时间: 2016-07-06
上传用户:qunquan
package query public class LinkQuery { private Node front private Node vear public LinkQuery() { this.front=null this.vear=null } public void add(int i) { Node newNode=new Node(i) if(vear==null && front==null) { vear=newNode front=newNode return } vear.next=newNode vear=newNode } public int remove() { if(this.front==null) { System.out.println("队是空的,无法取") return -1 } int temp=this.front.data this.front=this.front.next if(this.front==null) { this.vear=null }
标签: private public Node LinkQuery
上传时间: 2016-07-08
上传用户:天诚24
美国标准化组织和马里兰大学共同开发.实现java matrix包. JAMA由六个java类组成:Matrix, CholeskyDecomposition , LUDecomposition QRDecomposition SingularValueDecomposition EigenvalueDecomposition . 它提供了广泛的构造函数,丰富的get,set访问子matrix和元素matrix. 基本的矩阵操作有:矩阵的加,乘,矩阵范数.和提供了方便的打印矩阵的方法. 提供了五个基本的矩阵分离类.可以通过Matrix类调用它们来进行线性计算,翻转和其它矩阵方法.
标签: CholeskyDecomposition java LUDecomposition Matrix
上传时间: 2014-01-16
上传用户:123456wh
在Linux系统上使用Socket接口实现FTP客户端和服务器的程序,使客户端可以连接至服务器,并且可以进行一些FTP的基本操作。客户端和服务器的命令通道和数据通道需要分离,支持以下一些FTP命令: get:取远方的一个文件 put:传给远方一个文件 pwd:显示远方当前目录 dir:列出远方当前目录 cd:改变远方当前目录 ?:显示提供的命令 quit:退出返回 !dir,列出本地当前目录。
上传时间: 2016-07-29
上传用户:huangld
If you have programming experience and a familiarity with C--the dominant language in embedded systems--Programming Embedded Systems, Second Edition is exactly what you need to get started with embedded software. This software is ubiquitous, hidden away inside our watches, DVD players, mobile phones, anti-lock brakes, and even a few toasters. The military uses embedded software to guide missiles, detect enemy aircraft, and pilot UAVs. Communication satellites, deep-space probes, and many medical instruments would have been nearly impossible to create without embedded software.
标签: familiarity programming experience dominant
上传时间: 2013-12-11
上传用户:362279997
操作系统课程设计_进程调度演示源程序 #include "stdio.h" #include "stdlib.h" #include "string.h" typedef struct node { char name[10] /*进程标识符*/ int prio /*进程优先数*/ int round /*进程时间轮转时间片*/ int cputime /*进程占用CPU时间*/ int needtime /*进程到完成还要的时间*/ int count /*计数器*/ char state /*进程的状态*/ struct node *next /*链指针*/ }PCB
标签: include typedef stdlib string
上传时间: 2016-08-09
上传用户:凤临西北