在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
上传用户:坏坏的华仔