-
mm1
对MM1排队系统的仿真,采用事件调度法,计算队列的平均队长与平均等待时间(MM1 queuing system for the simulation event scheduling method used to calculate the average queue captain and the average waiting time)
- 2008-04-28 18:59:43下载
- 积分:1
-
一个和NAT相关的程序
一个和NAT相关的程序-a NAT and related procedures
- 2022-05-21 04:32:22下载
- 积分:1
-
各个线程任务分配是这样实现的。在开始下载时,文件平均分成若干块进行下载。如第一个线程一开始的任务是从文件的0位置开始下载一直到72908位置处。线程1每次下载...
各个线程任务分配是这样实现的。在开始下载时,文件平均分成若干块进行下载。如第一个线程一开始的任务是从文件的0位置开始下载一直到72908位置处。线程1每次下载一块数据后就要调整任务,如第一次下载了20800字节的数据,那么线程1的任务将改为:20800-72908。如此下去,直到任务为72908-72908时表示线程1完成了当前的下载任务。此时,线程1就分析各个线程的任务,找出任务最为繁忙的一个线程:如线程3:14816-218724。那么线程1就自动去调整任务,拿50%的任务来再次下载。周而复始直到各个线程都完成任务。不过这里有一点需要注意:为了避免重复下载部分数据,在调整任务的时候,起始的文件便移量必须加上接受缓冲器的字节数,因为如前面所举的列子来看。线程1和线程3在平衡负载的时候,线程正在下载数据,如果所剩的数据比接受缓冲器的大小还小,线程1和线程3的部分下载数据将会重复。
在调整任务和分析任务的时候,会发现一个问题。就是读取文件数据太过频繁。于是我用了一个数据结构。在下载文件的过程中始终打开配置文件,这样速度提高了很多。在文件下载完毕后关闭文件。-various threads assignment is achieved. At the beginning of the download, the paper divided into a number of pieces of the download. As a thread of a task is to start from the position paper of 0 to start the download has 72,908 locations Department. Thread a download each one will have to adjust the data tasks, such as the first downloaded 20,800 gigabytes of data, then threaded a task will be re :20800- 72908. This situation continues until the mandate of 72908-72908 said threaded a completion of the cu
- 2022-03-20 03:50:55下载
- 积分:1
-
STM32-DAC
stm32 dac例程。串口发送电压值到下位机,下位机通过DAC输出这个电压值。(An STM32 DAC example. User sends a voltage value to STM32 APP,the APP will output the same voltage value via DAC.)
- 2021-04-14 16:38:55下载
- 积分:1
-
EBMA
说明: 用块匹配算法做目标跟踪 可显示运动物体的运动方向,并画出运动矢量图(target tracking)
- 2009-08-21 11:36:58下载
- 积分:1
-
Multifulator
说明: 多功能显示模拟器的设计与实现Multifunction Display Design and Implementation of Simulator(Multifunction Display Design and Implementation of Simulator)
- 2011-04-02 19:08:26下载
- 积分:1
-
javascript 原生打飞机
javascript写的打飞机游戏,有背景音乐,下载解压后打开html文件即可(airplane battle game)
- 2018-09-01 20:53:13下载
- 积分:1
-
TCP文件传输协议的服务器端的实现(JAVA编写)
TCP文件传输协议的服务器端的实现(JAVA编写)-TCP File Transfer Protocol server-side to achieve the (JAVA prepared)
- 2022-05-13 16:29:49下载
- 积分:1
-
WindowMedia
Windows Media 编程导向
作者 陆其明(Windows Media-oriented programming author Lu Qiming)
- 2006-07-15 17:50:17下载
- 积分:1
-
jiugongwenti
(九宫问题)在一个3×3的九宫中有1-8这8个数及一个空格随机的摆放在其中的格子里,如图1-1所示。现在要求实现这个问题:将该九宫格调整为如图1-1右图所示的形式。调整的规则是:每次只能将与空格(上、下、或左、右)相邻的一个数字平移到空格中。试编程实现这一问题的求解。((Nine-palace issues) in a 3 × 3 of the Nine-palace are 1-8 this 8 random number and the placing of a space in which the cell house, as shown in Figure 1-1. Now required to achieve this issue: the squares adjustment for the right as shown in Figure 1-1 form. Adjustment of the rules: each can only be with the spaces (upper and lower, or left, right) adjacent to a digital flat space. Test Programming to solve this problem.)
- 2008-12-25 22:07:50下载
- 积分:1