有需求,網(wǎng)上找不到相關(guān)工具,所以自己寫了個(gè). 沒有提供給用戶自行定義線程數(shù)量的接口. 本程序不直接讀取IO文件中的密碼,而是將每個(gè) 要用到的密碼文件映射到內(nèi)存操作,所以同時(shí)最大 只支持32個(gè)線程,密碼文件不宜過大,從性能上來(lái) 說(shuō)越小越好,以免過多的造成內(nèi)存碎片,降低機(jī)器 的性能.很抱歉,因?yàn)閷懰臅r(shí)候我并沒有打算去 寫個(gè)內(nèi)存池來(lái)優(yōu)化它的內(nèi)存操作.我僅僅是做個(gè)測(cè) 試而已,沒有考慮會(huì)利用它來(lái)做些什么. ps: 本程序僅僅做為技術(shù)的交流、共享.如果非法使用 本程序說(shuō)造成的后果,本人不在這方面承擔(dān)任何責(zé)任. 下載了本程序表示已經(jīng)認(rèn)同以上條款!謝謝.
上傳時(shí)間: 2014-01-05
上傳用戶:asdfasdfd
一本介紹MPI的書籍,不過格式是PS格式的,想要正常閱讀需要下載軟件
上傳時(shí)間: 2017-09-10
上傳用戶:gut1234567
usb鍵盤接口,萬(wàn)能鍵盤接口,嵌入式ps/2
標(biāo)簽: usb鍵盤接口
上傳時(shí)間: 2015-06-29
上傳用戶:zreo
第一章、ALTERA QUATUSII 5.0 使用介紹...................................... 3 1. 概述.................................................................. 3 2. QUATUSII 設(shè)計(jì)過程..................................................... 5 2.1. 建立工程.......................................................... 5 2.2. 建立設(shè)計(jì).......................................................... 6 2.2.1 使用QUATUSII BLOCK EDITOR 建立原理圖文件.............................. 7 2.2、2 使用 QUARTUS II TEXT EDITOR .......................................... 8 2.2.3 使用 VERILOG HDL、VHDL 與 AHDL ...................................... 9 3. 編譯綜合設(shè)計(jì).......................................................... 9 4. 仿真工程............................................................. 11 5. 分配設(shè)備與管腳....................................................... 12 6. 程序下載............................................................. 15 7. 調(diào)試與軟件邏輯分析儀的使用........................................... 16 7.1. 設(shè)置和運(yùn)行 SIGNALTAP II 邏輯分析器................................. 17 7.2. 設(shè)置觸發(fā)器: ..................................................... 18 第二章 FPGA 試驗(yàn)平臺(tái)介紹................................................. 19 1 簡(jiǎn)介................................................................... 19 2 主要的器件和特性....................................................... 19 3 LED,撥碼開關(guān)和按鍵................................................... 21 3.1 十二個(gè)發(fā)光二極管(LED)七段數(shù)碼顯示器.............................. 21 3.2 四位撥碼開關(guān)和兩個(gè)功能按鍵......................................... 24 4 RS-232 串口............................................................ 24 5 PS/2 鼠標(biāo)、鍵盤接口.................................................... 26 6 VGA 接口.............................................................. 26 7 USB1.1 接口........................................................... 26 8 LCD 接口.............................................................. 27 9 高速,異步SRAM ....................................................... 27 10 高速,同步SDRAM ...................................................... 33 11 大容量,快速FLASH .................................................... 35 12 USB2.0 芯片接口....................................................... 38 13 編程和調(diào)試接口....................................................... 39 14 時(shí)鐘源............................................................... 39 15 電源方案............................................................. 41 16 復(fù)位電路............................................................. 42 17 擴(kuò)展板接口........................................................... 42 第三章 數(shù)字電路與數(shù)字系統(tǒng)試驗(yàn)........................................... 45 第一部分 基礎(chǔ)試驗(yàn)....................................................... 45 實(shí)驗(yàn)一 3/8 譯碼器....................................................... 45 實(shí)驗(yàn)二 分頻器........................................................... 47 實(shí)驗(yàn)三 BCD 七段顯示譯碼器實(shí)驗(yàn)............................................ 47 實(shí)驗(yàn)四 模擬74LS160 計(jì)數(shù)器實(shí)驗(yàn)........................................... 50 實(shí)驗(yàn)五 交通燈控制器..................................................... 51 實(shí)驗(yàn)六 乒乓球游戲機(jī)..................................................... 52 試驗(yàn)七 掃描數(shù)碼顯示器................................................... 54 試驗(yàn)八 頻率計(jì)........................................................... 56 第二部分 接口控制器試驗(yàn)................................................. 58 試驗(yàn)九 RS-232 串口控制器................................................. 58 試驗(yàn)十 LCD 顯示試驗(yàn)...................................................... 60 試驗(yàn)十一 VGA 控制輸出試驗(yàn)............................................... 64 試驗(yàn)十二 PS/2 鍵盤控制器試驗(yàn)............................................ 66 試驗(yàn)十三 接口互連試驗(yàn)................................................... 69
標(biāo)簽: FPGA
上傳時(shí)間: 2015-10-08
上傳用戶:shzweh1234
PS/2 設(shè)備接口用于許多現(xiàn)代的鼠標(biāo)和鍵盤 它是由 IBM 開發(fā)并且最初出現(xiàn)在 IBM 技術(shù)參考手冊(cè)里 但 是 當(dāng)我知道的時(shí)候這篇文件就已經(jīng)很多年沒有印刷了 因此關(guān)于這個(gè)內(nèi)容現(xiàn)在沒有官方的出版物 我 無(wú)法訪問 IBM 的技術(shù)參考手冊(cè) 所以本網(wǎng)頁(yè)中的所有信息都來(lái)自于我自己的經(jīng)驗(yàn)及本頁(yè)最下面列出的 參考的幫助
標(biāo)簽: ps2 技術(shù)手冊(cè)
上傳時(shí)間: 2016-06-22
上傳用戶:doudou123
關(guān)于交通信號(hào)倒計(jì)時(shí)器,國(guó)家標(biāo)準(zhǔn)文件,里面有介紹倒計(jì)時(shí)顯示方式,檢測(cè)標(biāo)準(zhǔn)等
標(biāo)簽: 交通
上傳時(shí)間: 2016-09-13
上傳用戶:niujiangbo
// 學(xué)生管理.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "resource.h" #define MAX_LOADSTRING 100 // Global Variables: HINSTANCE hInst; // current instance TCHAR szTitle[MAX_LOADSTRING]; // The title bar text TCHAR szWindowClass[MAX_LOADSTRING]; // The title bar text // Foward declarations of functions included in this code module: ATOM MyRegisterClass(HINSTANCE hInstance); BOOL InitInstance(HINSTANCE, int); LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM); struct person { char name[10]; int ID; int cj_yw; int cj_sx; struct person* next; struct person* pro; }per; int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { // TODO: Place code here. MSG msg; HACCEL hAccelTable; // Initialize global strings LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); LoadString(hInstance, IDC_MY, szWindowClass, MAX_LOADSTRING); MyRegisterClass(hInstance); // Perform application initialization: if (!InitInstance (hInstance, nCmdShow)) { return FALSE; } hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_MY); // Main message loop: while (GetMessage(&msg, NULL, 0, 0)) { if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) { TranslateMessage(&msg); DispatchMessage(&msg); } } return msg.wParam; } // // FUNCTION: MyRegisterClass() // // PURPOSE: Registers the window class. // // COMMENTS: // // This function and its usage is only necessary if you want this code // to be compatible with Win32 systems prior to the 'RegisterClassEx' // function that was added to Windows 95. It is important to call this function // so that the application will get 'well formed' small icons associated // with it. // ATOM MyRegisterClass(HINSTANCE hInstance) { WNDCLASSEX wcex; wcex.cbSize = sizeof(WNDCLASSEX); wcex.style = CS_HREDRAW | CS_VREDRAW; wcex.lpfnWndProc = (WNDPROC)WndProc; wcex.cbClsExtra = 0; wcex.cbWndExtra = 0; wcex.hInstance = hInstance; wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_MY); wcex.hCursor = LoadCursor(NULL, IDC_ARROW); wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); wcex.lpszMenuName = (LPCSTR)IDC_MY; wcex.lpszClassName = szWindowClass; wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_SMALL); return RegisterClassEx(&wcex); } // // FUNCTION: InitInstance(HANDLE, int) // // PURPOSE: Saves instance handle and creates main window // // COMMENTS: // // In this function, we save the instance handle in a global variable and // create and display the main program window. // BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) { HWND hWnd; hInst = hInstance; // Store instance handle in our global variable hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL); if (!hWnd) { return FALSE; } ShowWindow(hWnd, nCmdShow); UpdateWindow(hWnd); return TRUE; } // // FUNCTION: WndProc(HWND, unsigned, WORD, LONG) // // PURPOSE: Processes messages for the main window. // // WM_COMMAND - process the application menu // WM_PAINT - Paint the main window // WM_DESTROY - post a quit message and return // // LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { int wmId, wmEvent; PAINTSTRUCT ps; HDC hdc; TCHAR szHello[MAX_LOADSTRING]; LoadString(hInst, IDS_HELLO, szHello, MAX_LOADSTRING); switch (message) { case WM_COMMAND: wmId = LOWORD(wParam); wmEvent = HIWORD(wParam); // Parse the menu selections: switch (wmId) { case IDM_ABOUT: DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About); break; case IDM_EXIT: DestroyWindow(hWnd); break; default: return DefWindowProc(hWnd, message, wParam, lParam); } break; case WM_PAINT: hdc = BeginPaint(hWnd, &ps); // TODO: Add any drawing code here... RECT rt; GetClientRect(hWnd, &rt); DrawText(hdc, szHello, strlen(szHello), &rt, DT_CENTER); EndPaint(hWnd, &ps); break; case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hWnd, message, wParam, lParam); } return 0; } // Mesage handler for about box. LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { case WM_INITDIALOG: return TRUE; case WM_COMMAND: if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) { EndDialog(hDlg, LOWORD(wParam)); return TRUE; } break; } return FALSE; }
上傳時(shí)間: 2016-12-29
上傳用戶:767483511
// 學(xué)生管理.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "resource.h" #define MAX_LOADSTRING 100 // Global Variables: HINSTANCE hInst; // current instance TCHAR szTitle[MAX_LOADSTRING]; // The title bar text TCHAR szWindowClass[MAX_LOADSTRING]; // The title bar text // Foward declarations of functions included in this code module: ATOM MyRegisterClass(HINSTANCE hInstance); BOOL InitInstance(HINSTANCE, int); LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM); struct person { char name[10]; int ID; int cj_yw; int cj_sx; struct person* next; struct person* pro; }per; int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { // TODO: Place code here. MSG msg; HACCEL hAccelTable; // Initialize global strings LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); LoadString(hInstance, IDC_MY, szWindowClass, MAX_LOADSTRING); MyRegisterClass(hInstance); // Perform application initialization: if (!InitInstance (hInstance, nCmdShow)) { return FALSE; } hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_MY); // Main message loop: while (GetMessage(&msg, NULL, 0, 0)) { if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) { TranslateMessage(&msg); DispatchMessage(&msg); } } return msg.wParam; } // // FUNCTION: MyRegisterClass() // // PURPOSE: Registers the window class. // // COMMENTS: // // This function and its usage is only necessary if you want this code // to be compatible with Win32 systems prior to the 'RegisterClassEx' // function that was added to Windows 95. It is important to call this function // so that the application will get 'well formed' small icons associated // with it. // ATOM MyRegisterClass(HINSTANCE hInstance) { WNDCLASSEX wcex; wcex.cbSize = sizeof(WNDCLASSEX); wcex.style = CS_HREDRAW | CS_VREDRAW; wcex.lpfnWndProc = (WNDPROC)WndProc; wcex.cbClsExtra = 0; wcex.cbWndExtra = 0; wcex.hInstance = hInstance; wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_MY); wcex.hCursor = LoadCursor(NULL, IDC_ARROW); wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); wcex.lpszMenuName = (LPCSTR)IDC_MY; wcex.lpszClassName = szWindowClass; wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_SMALL); return RegisterClassEx(&wcex); } // // FUNCTION: InitInstance(HANDLE, int) // // PURPOSE: Saves instance handle and creates main window // // COMMENTS: // // In this function, we save the instance handle in a global variable and // create and display the main program window. // BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) { HWND hWnd; hInst = hInstance; // Store instance handle in our global variable hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL); if (!hWnd) { return FALSE; } ShowWindow(hWnd, nCmdShow); UpdateWindow(hWnd); return TRUE; } // // FUNCTION: WndProc(HWND, unsigned, WORD, LONG) // // PURPOSE: Processes messages for the main window. // // WM_COMMAND - process the application menu // WM_PAINT - Paint the main window // WM_DESTROY - post a quit message and return // // LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { int wmId, wmEvent; PAINTSTRUCT ps; HDC hdc; TCHAR szHello[MAX_LOADSTRING]; LoadString(hInst, IDS_HELLO, szHello, MAX_LOADSTRING); switch (message) { case WM_COMMAND: wmId = LOWORD(wParam); wmEvent = HIWORD(wParam); // Parse the menu selections: switch (wmId) { case IDM_ABOUT: DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About); break; case IDM_EXIT: DestroyWindow(hWnd); break; default: return DefWindowProc(hWnd, message, wParam, lParam); } break; case WM_PAINT: hdc = BeginPaint(hWnd, &ps); // TODO: Add any drawing code here... RECT rt; GetClientRect(hWnd, &rt); DrawText(hdc, szHello, strlen(szHello), &rt, DT_CENTER); EndPaint(hWnd, &ps); break; case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hWnd, message, wParam, lParam); } return 0; } // Mesage handler for about box. LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { case WM_INITDIALOG: return TRUE; case WM_COMMAND: if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) { EndDialog(hDlg, LOWORD(wParam)); return TRUE; } break; } return FALSE; }
標(biāo)簽: 學(xué)生 計(jì)算器
上傳時(shí)間: 2016-12-29
上傳用戶:767483511
ps2接口協(xié)議,PS/2 技術(shù)參考,中英雙語(yǔ),需要的拿去。
上傳時(shí)間: 2017-04-13
上傳用戶:Cola大魔王
運(yùn)行: 需要連接數(shù)據(jù)庫(kù),本人用的SQL2008R2,使用其更改版本導(dǎo)入就行 com.operate.main 包 Main.java 為主函數(shù)接口 PS:如果beautyeye_lnf.jar包報(bào)錯(cuò),導(dǎo)入其lib目錄下的對(duì)應(yīng)包即可 登錄: 管理員-- 帳號(hào);密碼 :admin;1 或者 1;1 學(xué) 生-- 帳號(hào);密碼 :01001;01001 數(shù)據(jù)庫(kù): com.means.sql 包 SqlKey.java 提供了參數(shù) com.means.sql 包 SqlCmd.java 提供了當(dāng)前數(shù)據(jù)庫(kù)的查詢語(yǔ)句(不推薦更改,數(shù)據(jù)庫(kù)已提供) 還需改進(jìn): 課程表數(shù)據(jù)跟學(xué)生成績(jī)數(shù)據(jù)太少, 課程表的管理沒有寫,偷個(gè)懶 如果需要可以對(duì)照 StuManage 跟 StuUpdate 倆個(gè)類來(lái)寫,直接復(fù)制就可以了。 PS: 還有問題可以聯(lián)系 Q.2095204800
標(biāo)簽: 管理系統(tǒng)
上傳時(shí)間: 2017-06-27
上傳用戶:aaass
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1