-
This is the hard part I of a Java process on moreServerprogram. simple. understa...
这是我辛苦编的一个JAVA程序,是关于moreServerprogram.简单,易懂.希望能被采用.多谢管理员过目.-This is the hard part I of a Java process on moreServerprogram. simple. understandable. hope can be used. thank administrators read. Thank you
- 2022-08-17 13:58: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
-
I do one based on C/S mode of online games. Chess
我自己做的一个基于C/S模式的网络游戏。下棋的。附带服务器端和客户端全部源代码。
单机运行的话需要运行一个服务端和两个客户端,就可以自己跟自己下棋了。-I do one based on C/S mode of online games. Chess-playing. Fringe server and the client all of the source code. The stand-alone operation need to run a server and two clients, they can do it themselves by playing chess with ourselves.
- 2022-04-25 16:54:25下载
- 积分:1
-
国外的一个IRCBOT
国外的一个IRCBOT-YaBot原代码
- 2022-12-20 08:25:03下载
- 积分:1
-
一个小浏览器
实验题目:
基于MFC的IE浏览器应用程序
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-04-14 12:03:57下载
- 积分:1
-
C language of the UDP socket programming, please studies
用C语言实现的UDP协议的socket编程,请大家研究研究-C language of the UDP socket programming, please studies
- 2022-02-21 11:07:34下载
- 积分:1
-
一个很好的局域网聊天系统,有客户端和服务器端,结果调试,没有任何错误....
一个很好的局域网聊天系统,有客户端和服务器端,结果调试,没有任何错误.-a good chat LAN systems, client and server, debugging, no mistakes.
- 2023-06-17 15:40:03下载
- 积分:1
-
剪贴板的使用,使用剪贴板在两个进程间进行通信
剪贴板的使用,使用剪贴板在两个进程间进行通信-How to use Clipboard
- 2022-01-25 17:38:04下载
- 积分:1
-
FTP登陆下载程序VC
FTP登陆下载程序VC-FTP download landing VC
- 2022-02-20 09:03:27下载
- 积分:1
-
一个.net下的Remote进程管理工具
一个.net下的Remote进程管理工具--A management tool of Remote progress under .net
- 2022-02-25 03:15:05下载
- 积分:1