Description: This program demonstrates a half-duplex 9600-baud UART using // Timer_A3 using no XTAL and an external resistor for DCO ROSC. DCO used for // TACLK UART baud generation. The program will wait in LPM4, echoing back // a received character using 8N1 protocol. On valid RX character, the // character is echoed back. // Using a 100k resistor on ROSC, with default DCO setting, set DCOCLK ~ 2MHz. // ACLK = n/a, MCLK = SMCLK ~2MHz DCOCLK
標簽: using demonstrates Description half-duplex
上傳時間: 2014-01-14
上傳用戶:cuiyashuo
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
上傳用戶:璇珠官人
The Robotics Toolbox provides many functions that are useful in robotics such as kinematics, dynamics, and trajectory generation. The Toolbox is useful for simulation as well as analyzing results from experiments with real robots.
標簽: kinematics functions Robotics provides
上傳時間: 2013-12-17
上傳用戶:cx111111
我所采用的內存管理思想是鏈表管理思想,內存分配方案是最佳適應方案(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
The Rails Cookbook is is packed with the solutions you need to be a proficient developer with Rails, the leading framework for building the new generation of Web 2.0 applications. Recipes range from the basics, like installing Rails and setting up your development environment, to the latest techniques, such as developing RESTful web services. Topics include: . Modeling data with the ActiveRecord library . Setting up views with ActionView and RHTML templates . Building your application s logic into ActionController . Testing and debugging your Rails application . Building responsive web applications using JavaScript and Ajax . Ensuring that your application is security and performs well . Deploying your application with Mongrel and Apache . Using Capistrano to automate deployment . Using the many Rails plugins Working with graphics
標簽: Rails with proficient developer
上傳時間: 2013-12-23
上傳用戶:pkkkkp
此軟件功能強大 It operates in the highly ompetitive UK banking sector against ...barcode reader to reduce human errors in the ordering process. - The ...co-generation and unit- testing of client and server components of the
標簽: ompetitive operates banking against
上傳時間: 2014-11-29
上傳用戶:huyiming139
Space-Time Processing for CDMA Mobile Communications.Written for research students and design engineers, this book addresses many basic questions related to the use of space-time processing in CDMA-based third-generation systems
標簽: Communications Space-Time Processing for
上傳時間: 2014-01-13
上傳用戶:cooran
操作系統課程設計_進程調度演示源程序 #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
上傳用戶:鳳臨西北
KMP算法的思想一般數據結構書都有講,KMP算法本身與求next數組的算法很類似,無符號整型數據與整型數據比較大小
上傳時間: 2016-08-12
上傳用戶:lifangyuan12