-
056457
VC 实现刷新桌面实例,精选学习源码,很好的参考资料。(VC to refresh the desktop case, select learning source code, a good reference.)
- 2013-12-25 11:02:38下载
- 积分: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
-
VCBladedDLL
Balded 软件调用的用户控制器的DLL编程方法。(How to progran DLL with VC++ which is used by Bladed Wind Turbine Simulation Software)
- 2020-11-10 14:39:47下载
- 积分:1
-
随机森林用于模式分类
随机森林用于模式分类识别算法,包含代码和数据(Random Forests for Pattern Classification Recognition Algorithms, Containing Codes and Data)
- 2018-12-21 10:14:06下载
- 积分:1
-
同伴
点对点传输文件的程序。使用TransmitFile调用,通信双方既是客户机又是服务器-peer-to-peer file transfer procedures. Use TransmitFile call, communication is both client-server is
- 2022-04-16 03:37:47下载
- 积分:1
-
irqflags_32
New file layout: Now the ioctl definitions immediately follow the definitions of the structures that they use.
- 2015-07-01 12:01:02下载
- 积分:1
-
c
C语言入门经典(第四版)源代码
C语言入门经典(第四版)源代码(Introduction to C language classic source code (fourth edition))
- 2013-05-11 12:52:25下载
- 积分:1
-
OUTPUT2
java in power sytem
- 2011-12-20 02:35:16下载
- 积分:1
-
card system set various parameters, such as ip, dns, the relevant parameters. In...
设定系统网卡各种参数,如ip,dns,相关参数。在2000下立即改变网卡参数。-card system set various parameters, such as ip, dns, the relevant parameters. In 2000 card immediately change parameters.
- 2023-06-17 05:55:04下载
- 积分:1
-
1) 从网络采集实时数据:在软件运行过程中,可以实时地从网络上根据自定义的通信协议采集数据,并且按照层次结构显示在主界面中。
2) 自动生成数据表:在服务...
1) 从网络采集实时数据:在软件运行过程中,可以实时地从网络上根据自定义的通信协议采集数据,并且按照层次结构显示在主界面中。
2) 自动生成数据表:在服务器程序初次运行时,创建数据库,并且随着程序的进行在数据库中根据收到的数据生成数据表。
3) 历史数据存储功能:从网络上采集的数据值只要发生变化,就会存储到历史数据表中。
-a) real-time data acquisition networks : the software process, in real time from the network on the basis of communications from the definition of data acquisition agreement, in accordance with the hierarchy shown in the main interface. 2) Automatic Generation Data Sheet : in the initial operation of the server, database creation, and with the conduct of the proceedings in the database according to the data received generate data sheets. 3) Historical data storage functions : collection from the network as long as the data values change, it will store historical data table.
- 2022-02-07 12:57:40下载
- 积分:1