/* * The internal form of a hash table. * * The table is an array indexed by the hash of the key collisions * are resolved by hanging a linked list of hash entries off each * element of the array. Although this is a really simple design it * isn t too bad given that pools have a low allocation overhead. */ split from apache for general usage
上傳時間: 2014-01-07
上傳用戶:gtf1207
usb bulk 傳輸例程。 * The bulkusb driver is a generic function driver, based on the Windows Driver Model (WDM). * Supports Plug and Play(PnP), Power Management(PM), Windows Management Instrumentation (WMI) and the Selective Suspend (SS) features. * This sample is based off the selSusp DDK sample. Please refer the selSusp sample and the DDK docs to understand the handling of PnP, PM, WMI and SS features and implementations. * The USB device used for this sample is a generic Intel I82930 USB evaluation board programmed with a simple loopback test using a 64 KB circular buffer. None of the code in the sample is specific to this controller chip.
標簽: driver function Windows bulkusb
上傳時間: 2016-04-25
上傳用戶:270189020
智力搶答器: 1、競賽開始時,主持人接通啟動/停止開關(SA),指示燈HL1亮。 2、主持人按下開始搶答按鈕(SB0)后,如果在10S內無人搶答,則指示燈HL2亮,表示搶答器自動撤銷此次搶答.如果10S內有人搶答(按下按鈕SB3,SB4,SB5),則最先按下搶答按鈕的信號有效,相應搶答桌的搶答燈(HL1,HL2,HL3)亮。 3、當主持人確認搶答有效后,按下答題計時按鈕(SB6),搶答桌上的搶答燈滅,計時開始,計時時間到(1minute),搶答桌上的搶答燈再次亮。 4、如果搶答者在規定的時間內正確的回答問題,主持人按下加分按鈕,搶答桌上的搶答紅燈快速閃爍(0.3s ON,0.3s OFF)。如果搶答者在規定的時間內回答問題不正確或計時時間到還回答不出問題,主持人按下減分按鈕,搶答桌上的搶答綠燈(HL4、HL6、HL8)閃爍(0.3s ON,0.3s OFF)。
上傳時間: 2014-11-27
上傳用戶:banyou
富士通單片機MB902420系列The internal LCD-cotroller will be initialised (1/2 bias, 1/2 duty). The internal Resistor devider is used. Some different methods are shown, how segments can be swicthed on/off.
標簽: internal LCD-cotroller initialised The
上傳時間: 2016-04-27
上傳用戶:270189020
Probabilistic Principal Components Analysis. [VAR, U, LAMBDA] = PPCA(X, PPCA_DIM) computes the principal % component subspace U of dimension PPCA_DIM using a centred covariance matrix X. The variable VAR contains the off-subspace variance (which is assumed to be spherical), while the vector LAMBDA contains the variances of each of the principal components. This is computed using the eigenvalue and eigenvector decomposition of X.
標簽: Probabilistic Components Principal Analysis
上傳時間: 2016-04-28
上傳用戶:qb1993225
Recent work by Petricoin and Liotta and co-workers (Petricoin et al. Use of proteomic patterns in serum to identify ovarian cancer. Lancet. 2002 Feb 16 359(9306):572-7. PMID: 11867112) has generated a lot of excitement and controversy. This example shows some ways that MATLAB can be used to read, visualize, pre-process (base-line correction, resample) and classify the data. The data can be downloaded from http://home.ccr.cancer.gov/ncifdaproteomics/ppatterns.asp
標簽: Petricoin co-workers and proteomic
上傳時間: 2016-04-28
上傳用戶:hewenzhi
There are two files in the zip folder. bpsk_spread.m and jakesmodel.m Steps for simulation: 1] Run jakesmodel.m first 2] Then run bpsk_spread.m . 3] Note that during the first run bpsk_spread.m has no rayleigh fading.This is because the corresponding code has been commented 4] The resulting performance is stored in BER_awgn. 5] Now uncomment the Rayleigh Fading code in bpsk_spread.m file. 6] Same time comment BER_awgn (line 112) and uncomment BER_ray variable. 7] Run the simulation. To compare the perfromances of the receiver using DSSS plot the BER_awgn and BER_ray
標簽: bpsk_spread jakesmodel simulation folder
上傳時間: 2016-05-19
上傳用戶:ynsnjs
This demonstration illustrates the application of adaptive filters to signal separation using a structure called an adaptive line enhancer (ALE). In adaptive line enhancement, a measured signal x(n) contains two signals, an unknown signal of interest v(n), and a nearly-periodic noise signal eta(n). The goal is to remove the noise signal from the measured signal to obtain the signal of interest.
標簽: demonstration application illustrates separation
上傳時間: 2014-09-08
上傳用戶:2525775
JLAB is a set of Matlab functions I have written or co-written over the past fifteen years for the purpose of analyzing data. It consists of four hundred m-files spanning thirty thousand lines of code. JLAB includes functions ranging in complexity from one-line aliases to high-level algorithms for certain specialized tasks. These have been collected together and made publicly available for you to use, modify, and --- subject to certain very reasonable constraints --- to redistribute. Some of the highlights are: a suite of functions for the rapid manipulation of multi-component, potentially multi-dimensional datasets a systematic way of dealing with datasets having components of non-uniform length tools for fine-tuning figures using compact, straightforward statements and specialized functions for spectral and time / frequency analysis, including advanced wavelet algorithms developed by myself and collaborators.
標簽: co-written functions the fifteen
上傳時間: 2014-01-26
上傳用戶:hjshhyy
很完整的51串口程序 包括如下: 串口中斷服務程序,僅需做簡單調用即可完成串口輸入輸出的處理 出入均設有緩沖區,大小可任意設置。 可供使用的函數名: char getbyte(void) 從接收緩沖區取一個byte,如不想等待則在調用前檢測inbufsign是否為1。 getline(char idata *line, unsigned char n) 獲取一行數據回車結束,必須定義最大輸入字符數 putbyte(char c) 放入一個字節到發送緩沖區 putbytes(unsigned char *outplace,j) 放一串數據到發送緩沖區,自定義長度 putstring(unsigned char code *puts) 發送一個定義在程序存儲區的字符串到串口 puthex(unsigned char c) 發送一個字節的hex碼,分成兩個字節發。 putchar(uchar c,uchar j) 輸出一個無符號字符數的十進制表示,必須標示小數點的位置,自動刪除前面無用的零 putint(uint ui,uchar j) 輸出一個無符號整型數的十進制表示,必須標示小數點的位置,自動刪除前面無用的零 delay(unsigned char d) 延時n x 100ns putinbuf(uchar c) 人工輸入一個字符到輸入緩沖區 CR 發送一個回車換行
上傳時間: 2016-06-13
上傳用戶:epson850