在linux環境下,開發的一個類似ping的程序,計算ROUND trip time,即往返時間,可選擇使用TCP或UDP
上傳時間: 2013-12-28
上傳用戶:busterman
給出3,3,8,8四個數,求一算法,程序通過這一算法,無論加減乘除,每個數用一次,計算四個數結果為24。注:不需要一種計算結果的驗證。讓計算機替你尋找解決方案,而不僅僅是驗證而已。如ROUND(8×8/3)+3
標簽:
上傳時間: 2015-09-17
上傳用戶:ljt101007
此算術表達式解析器能夠在程序運行時根據輸入的變量大小和算術表達式動態解析表達式,得到運算結果。支持多項算術運算符和數學函數如下:: + - * / ^ ( ) mod abs, atan, cos, exp, ln, ROUND, sin, sqrt, sqr, trunc
上傳時間: 2015-10-17
上傳用戶:Altman
In a preemptive priority based RTOS, priority inversion problem is among the major sources of deadline violations. Priority inheritance protocol is one of the approaches to reduce priority inversion. Unfortunately, RTOS like uC/OS can’t support priority inheritance protocol since it does not allow kernel to have multiple tasks at the same priority. Although it has different ways to avoid priority inversion such as priority ceiling protocol, developers still have some difficulties in programming real time applications with it. In this paper, we redesign the uC/OS kernel to provide the ability to support ROUND robin scheduling and implement priority inheritance semaphore on the modified kernel. As result, we port new kernel with priority inheritance semaphore to evaluation board, and evaluate the execution time of each of the kernel service as well as verify the operations of our implementation.
標簽: priority preemptive inversion problem
上傳時間: 2015-12-14
上傳用戶:氣溫達上千萬的
實現《密碼學導引》一書中DES算法差分攻擊。輸出J1-J8及密鑰Key。默認是3輪DES,可任意設定輪數,修改ROUND的值即可。
上傳時間: 2016-01-07
上傳用戶:Zxcvbnm
此范例可在window的DOS上執行.有9各TASK分別秀出時間.執行方式解壓鎖COPY到C碟然后BC45\SOURCE下修改TEST.C在BC45\TEST下執行MAKETEST.BAT就可編繹出執行檔 to show the starting time and completion time of each task in the first ROUND.
標簽: TEST MAKETEST window SOURCE
上傳時間: 2016-02-14
上傳用戶:zhouchang199
The main purpose of this project is to add a new scheduling algorithm to GeekOS and to implement a simple synchronization primitive (semaphore). As you might have already noticed, GeekOS uses a simple priority based preemptive ROUND Robin algorithm. In this project, you will change this to a multilevel feedback scheduling. In addition, you will provide user programs with semaphores, a means to check the system s current time and a mechanism for passing command-line arguments
標簽: scheduling algorithm implement to
上傳時間: 2013-11-27
上傳用戶:Late_Li
The Little Green BATS is the first and so far only Dutch team in the 3D simulation league. We are a group of graduate students from the department of AI at the University of Groningen, The Netherlands. Our team name is derived from the fact that the first 3D agents in the league were balls and from the very philosophical observation that Balls Are Truly Spheres (BATS). This abbreviation reminded us of our favorite song Little Green Bag by The George Baker Selection and so the whole team name was born. We entered the competition for the first time at the 10th edition of RoboCup at Bremen, Germany. unfortunately our hard work didn t pay off that time: already in the second ROUND we got eliminated. However, after this we had a good base to build upon and the good time we had at the event and the nice community inspired us to continue and work hard for another year. This turned out to be defiantly worth it, because in 2007 in Atlanta we managed to become vice world champions!
標簽: simulation the Little league
上傳時間: 2014-12-07
上傳用戶:youlongjian0
操作系統課程設計_進程調度演示源程序 #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
上傳用戶:鳳臨西北
java面試筆試題大匯總 ~很全面 java面試筆試題大匯總 第一,談談final, finally, finalize的區別。 最常被問到。 第二,Anonymous Inner Class (匿名內部類) 是否可以extends(繼承)其它類,是否可以implements(實現)interface(接口)? 第三,Static Nested Class 和 Inner Class的不同,說得越多越好(面試題有的很籠統)。 第四,&和&&的區別。 這個問得很少。 第五,HashMap和Hashtable的區別。 常問。 第六,Collection 和 Collections的區別。 你千萬別說一個是單數一個是復數。 第七,什么時候用assert。 API級的技術人員有可能會問這個。 第八,GC是什么? 為什么要有GC? 基礎。 第九,String s = new String("xyz") 創建了幾個String Object? 第十,Math.ROUND(11.5)等於多少? Math.ROUND(-11.5)等於多少? 第十一,short s1 = 1 s1 = s1 + 1 有什么錯? short s1 = 1 s1 += 1 有什么錯? 面試題都是很變態的,要做好受虐的準備。 第十二,sleep() 和 wait() 有什么區
上傳時間: 2017-05-20
上傳用戶:壞壞的華仔