搜索资源列表
cLog.cpp
- 通用写日志类 首先建立一个文件,然后就根据时间和 信息写入文件, 如果日志太大,就做一个备份,-generic log write a category established first, and then based on time and information into the document, if the log too, so on a backup,
jiakeji
- 原理:对Pe文件的.data节,.text节进行XOR加密,然后将带解密的Loader写入文件头和第一个段的开头之间,修改Entry Point使其指向Loader. 测试用例:使用vc6.0自动生成的mfc对话框应用程序。 参考文献:(1)def源码 (2)黑客调试技术揭秘 (3)yoda s protector源码
jiakeji1
- 原理:对Pe文件的.data节,.text节进行XOR加密,然后将带解密的Loader写入文件头和第一个段的开头之间,修改Entry Point使其指向Loader. 测试用例:使用vc6.0自动生成的mfc对话框应用程序。 参考文献:(1)def源码 (2)黑客调试技术揭秘 (3)yoda s protector源码
SystemCPU
- 记录系统的CPU的使用情况, 不断的写入文件, 用于监控CPU状态
GOOD_RC4
- RC4加密代码,通过读取文件,对文件内容加密解密,将加密内容和解密内容分别写入文件-the encrypt RC4
QuickSortThread
- 利用多线程多1000000个随机数进行排序并查看相关信息。数据自己产生。结果写入文件-The use of multi-threading more than one million random numbers to sort and view the relevant information. Data itself. The results of written documents
LinuxProcessCommunication
- 创建两个生产者进程和两个消费者进程,生产者进程a需要生成10000个整数,每次都将自己的进程号(用getpid()函数获得)和生成的整数放入共享内存中(共享内存大小为64Byte)。生产者b每次从26个英文字母中选一个,并将自己的进程号和选中的字母放入共享内存中,直到26个字母全部都选中。消费者进程c负责从共享内存中读取数据生产者进程a的数据并且将这些数据写入文件a.out。消费者进程d从共享内存读取进程b的数据后写入b.out中。-The process of the creation of
write_file_in_c
- linux 下写文件,用字节写入文件里;-written document under linux, using byte write documents
LINUX_process
- 这是linux下关于进程操作的两个例子,分别是"父子进程都写入文件"和"管道-两个子进程写父进程读".这两个程序对初学都理解linux下的多进程操作很有帮助.在linux GCC下编译通过.-This is under linux operating on two examples of the process, namely the " father and son have been entered into the process of document" and &qu
Linux_script
- linux系统下的一个脚本程序,演示了一个考勤的脚本程序,从文件“userinfo.dat”中获得用户的用户名和密码信息,将考勤信息写入文件“check.dat”-linux system a scr ipt, a demo scr ipt attendance procedures, from the document " userinfo.dat" get the user' s user name and password information, attendan
Morse_code
- 编写一个程序,读入一个由英文单词组成的文件1.txt,然后把它编码成摩尔斯码写入文件2.txt,同时,根据声音长短发声(点号发短音,破折号发长音)。-The preparation of a program, read a document composed of English words 1.txt, and then encoding it into Morse code into the file 2.txt, at the same time, according to the le
goodvcLogTest
- VC.NET开发的简单又高效的日志管理系统,严格来说是一个日志写入模块,实现日志信息的批量写入件、定时自动刷新到文件中,写入文件的日志级别可动态调整,单个日志文件大小可配置,循环对日志文件写入,这样不会造成机器空间被日志文件耗.-VC.NET development of simple and efficient log management system, strictly speaking, is a log into the module, the realization of the l
select
- 使用select函数,将文件hello1中的文件每隔10秒读取一次并写入文件hello2中。-The use of select function, a file of documents hello1 every 10 seconds to read and write a paper in hello2.
DES
- DES算法,用c++实现。从文件读入明文,将密文写入文件。所有源码齐备,保证测试通过。-DES algorithm, using c++ implementation. Read from a file into the plaintext, the ciphertext to write the file. All source code in place, ensure the test.
TestFileLock
- 运用unix下文件加锁机制,将加锁信息写入文件,利用此函数,可以确保守护进程只启动一个副本。-The use of unix the file locking mechanism to lock the information written to the file, using this function, you can ensure that the daemon to start only one copy.
rizhixitong
- 实现日志信息的批量写入文件,定时自动flush到文件中,写入文件的日志级别可动态调整,单个日志文件大小可配置,循环对日志文件写入,这样不会造成机器空间被日志文件耗尽。-To achieve the log information, write to a file volume, timing, automatic flush to a file, write to the file log level can be dynamically adjusted, a single log file
AuthorizedFileWriter
- AuthorizedFileWriter写入文件使用的security manager。必须通过policy文件给予的批准。-AuthorizedFileWriter writes to file using a security manager. Permissions must be given via policy files.
hafumanshu
- (1) I:初始化,从终端读入n个字符和n个权值,建立哈夫曼树,并将它存放在文件HuffmanTree中. (2)E:编码.利用已建立好的哈夫曼树,对要传输的数据正文(存在文件ToBeTran.txt中)进行编码,将结果代码存(传输)到文件CodeFile中. (3)D:译码.利用已建好的哈夫曼树,对传输到达的CodeFile中的数据代码进行译码,将译码结果存入文件TestFile中. (4) P: 印文件.将文件CodeFile以紧凑格式显示在终端上,每行50个代码。同时将此字符形
example.tar
- ns2入门使用范例 包括常见测量,数据写入文件-ns2 Getting Started Examples of common measurements used, the data written to the file
a
- linux环境下将数据写入文件,并计算写入时间-linux environment to write data to files, and calculate the write time
