USB device的PC機測試程序,可以通過設置buffer的大小來測試buffer對USB傳輸速度的影響。
上傳時間: 2013-12-19
上傳用戶:asddsd
多線程 網絡傳輸 開發環境:Delphi7.0+WinXP,沒用其他控件(除了Delphi自帶的Indy) 傳輸協議:TCP/IP 客戶端一次發送65000字節的包,服務端負責組裝并處理數據粘連。 使用ReadBuffer(),Send()函數來接收發送Buffer內字節,這樣作的目的是使程序具有更好的靈活性。你可以自定義Buffer內那些字節的含義,例如是字符串、圖像、聲音、命令等等。 文件的多線程讀寫采用windows內存映像技術。 關鍵的服務器處理函數IdTCPServer1Execute(AThread: TIdPeerThread)是非線程安全的。如果使用臨界區,那么多線程將在這里串行執行,嚴重降低多線程效率。對此,我采用一個簡單的辦法,具體可以看程序。
上傳時間: 2014-12-02
上傳用戶:silenthink
DELPHI basicCtrl+NUM 直接將光標跳到NUM處,NUM是用Ctrl+Shift+NUM設置的標號。 NUM不能用小鍵盤。 Ctrl+Home 將光標移至文件頭。 Ctrl+End 將光標移至文件尾。 Ctrl+B Buffer List窗口。 Ctrl+I 同Tab鍵。 Ctrl+M 同Enter鍵。 Ctrl+N 同Enter鍵,但光標位置保持不變。 Ctrl+T 刪除光標右邊的一個單詞。 Ctrl+Y 刪除光標所在行。 Ctrl+Shift+↑ 光標在函數體內時,將光標快速移至當前函數聲明處。 Ctrl+Shift+↓ 光標在函數聲明行時,將光標快速移至函數定義處。 Ctrl+Shift+C 聲明一個過程或函數后,直接生成過程或函數的名稱、begin、end Ctrl+Shift+E 光標在Edit窗口和Explorer窗口間切換。 Ctrl+Shift+G 插入GUID。 Ctrl+Shift+J 彈出Delphi語句提示窗口,選擇所需語句將自動完成一條語句。 Ctrl+Shift+T 在光標行加入To-Do注釋。 Ctrl+Shift+Y 刪除光標之后至本行末尾之間的文本。 Ctrl+F3 Call Stack窗口。 Ctrl+F4 等于File菜單中的Close項。
上傳時間: 2014-11-26
上傳用戶:kr770906
This a script for working with short TCP files with several source nodes, sharing a single bottleneck link with a RED buffer
標簽: with bottlenec working several
上傳時間: 2013-12-15
上傳用戶:Miyuki
Oracle 在啟動的時候指定SGA使用多少虛擬內存,并且在運行時允許實例通過調整buffer cache, shared pool, large pool和PGA的大小動態的調整SGA。
上傳時間: 2015-06-17
上傳用戶:gxrui1991
制作網頁的時候,有很多的技巧,如屏蔽鼠標右鍵 、防止復制、不準粘貼、 防止被人frame 等
標簽: 頁
上傳時間: 2013-12-21
上傳用戶:yuzsu
簡易計算器不需要很高深的算法,對于數字計算的唯一要求就是在除數為零的時候要加以判斷和處理,其他的就是窗口布局和功能完善了;首先:計算器需要一個顯示按鍵結果的TextField部件,再就是添加很多Button了;為了界面的美觀,為Frame添加兩個panel,一個布局用BorderLayout.NORTH,另一個用GridLayout分成均等的幾行幾列;窗口的整體布局就基本成形了。剩下的為Button添加事件及響應事件的結果,編寫程序實現。
上傳時間: 2013-12-28
上傳用戶:anng
#include "define.h" #include <stdio.h> #include <string.h> #include <ctype.h> #include <malloc.h> FILE *fp /*////////////////////////////////////////////////////////////////////////////// This is a pretreatment. /////////////////////////////////////////////////////////////////////////////*/ void readIntoBuffer(char buffer[256]) { char ch1 char temp int i for(i=0 i<256&&!feof(fp) i++) { ch1=fgetc(fp) if(ch1== )
上傳時間: 2015-07-16
上傳用戶:ynsnjs
This text surrounds the development of the electric power SCADA system exactly, aiming at the present condition of the our country electric power charged barbed wire net currently, according to the oneself at the e- lectric power protect the profession after the electricity in seven years of development, design and adjust to try the experience on the scene from following severals carry on the treatise:Is the emergence to the system of SC- ADA and developments to introduce first Carry on the introduction elucidation to applied present condition and the development foregrounds of various terminal equipments communication agreement(rules invite) the next in order Then is the elucidation to the windows the bottom according to the mfc the plait distance environment an- d VC++6.0 plait distance softwares Carry on the more detailed treatise to the realization of the procedure struct- ure frame and the source code again End is the applied case example give examples.
標簽: the development surrounds electric
上傳時間: 2014-10-28
上傳用戶:liuchee
一個用JAVA 寫的程序,是一個綜合 的JAVA應用程序,尤其是對Frame的使用,以及監聽器的使用。
上傳時間: 2013-11-28
上傳用戶:曹云鵬