-
Common
说明: Builder design pattern implementation
- 2020-06-24 19:00:01下载
- 积分:1
-
C# chart
说明: 这里介绍了将时间作为横坐标,实时显示接收数据波形的C#程序。(This paper introduces the C # program which takes time as abscissa to display the received data waveform in real time.)
- 2020-12-04 21:19:48下载
- 积分:1
-
readline
IIS的域名绑定程序,属于网络编程的范围(IIS binding domain falls within the scope of network programming)
- 2008-12-23 20:34:26下载
- 积分:1
-
c++ 解析pcap包源代码
解析wireshark 包源代码,包括udp和tcp 内容,解析后存入tmp2.txt 文件
解析过程:
1. 分析以太类型是否为case 0x0800: //ip ,不分析其它包
2. 分析包的传输层协议是udp还是tcp ,抛弃其它包
3. 读取tcp和udp数据内容
- 2022-05-05 07:40:12下载
- 积分:1
-
SOURCE-UDF
在fluent中对一个固体应用udf加载了双椭球热源(生热率)(For a solid,using a udf to add a heat source to the double ellipsoid)
- 2018-01-07 22:10:34下载
- 积分:1
-
DFAScan
已知一个正则表达式,把它转化为dfa,nfa转化为dfa,dfa最小化 完全可以用,很好很强大!(Given a regular expression, put it into a dfa, nfa into dfa, dfa minimization can use, very very powerful!)
- 2020-11-08 19:59:48下载
- 积分:1
-
解压缩文件示例(rar、zip、7zip、Gzip、tar...等)
本程序是基于 sharpcompress-master 设计的演示程序。开原地址:https://github.com/adamhathcock/sharpcompress。1. 程序主要展示了压缩文件的解压缩,支持的文件类型有:rar、zip、7zip、Gzip、tar......等压缩格式,展示了密码解压、分卷解压、解压进度等功能。2. 不支持“带密码的分卷压缩文件”的解压;无密码分卷压缩、单个带密码文件正常解压。3. 此程序在设计中,对组件源代码进行了修改,与原组件代码对照查看。4、sharpcompress-master组件功能繁多,比如,文件压缩为图片、压缩文件内文件添加删除、更名等等,对照现有的压缩软件,功能均具备,可在代码中查看使用。本示例只是展示了解压缩功能。此程序为识别全部压缩格式,未引用DLL,全部为cs文件,如有错误,自行对照修正。private void Uncompress(string archiveFile, string destinationPath, string password = null) { var archive = ArchiveFactory.Open(archiveFile, new ReaderOptions() { Password = password, LeaveStreamOpen = true }); volumes = archive.Entries.Count(); archive.EntryExtractionBegin = archive_EntryExtractionBegin; archive.FilePartExtractionBegin = archive_FilePartExtractionBegin; archive.CompressedBytesRead = archive_CompressedBytesRead; Task.Run(() => { long order = 0; foreach (var entry in archive.Entries) { if (!entry.IsDirectory) { entry.WriteToDirectory(destinationPath, new ExtractionOptions() { ExtractFullPath = true, Overwrite = true, }); } order ; this.CrossThreadCalls(() => { if (volumes > 1) { progress[0].Value = CreatePercentage(order, volumes); } }); } MessageBox.Show("解压缩任务完成 !"); }); } private void archive_EntryExtractionBegin(object sender, ArchiveExtractionEventArgs e) { entryTotal = e.Item.Size; info_builde1 = "提取文件: " e.Item.Key ";"; } private void archive_FilePartExtractionBegin(object sender, FilePartExtractionBeginEventArgs e) { partTotal = e.Size; info_builde2 = "分卷:" e.Name ";"; } private void archive_CompressedBytesRead(object sender, CompressedBytesReadEventArgs e) { string percentage = entryTotal.HasValue ? CreatePercentage(e.CompressedBytesRead, entryTotal.Value).ToString() : "Unknown"; info_builde = info_builde1 info_builde2 "字节:" e.CompressedBytesRead ";百分比:" percentage "%"; this.CrossThreadCalls(() => { compress_Info.Text = info_builde; progress[1].Value = int.Parse(percentage) > 100 || int.Parse(percentage) < 0 ? 100 : int.Parse(percentage); if (volumes < 2) progress[0].Value = progress[1].Value; Application.DoEvents(); }); } private int CreatePercentage(long n, long d) { return (int)(((double)n / (double)d) * 100); }
- 2019-07-21下载
- 积分:1
-
别人写的权限管理框架,对于初学者应该会很有帮助吧,Vs2008下面开发的...
别人写的权限管理框架,对于初学者应该会很有帮助吧,Vs2008下面开发的-Written by others rights management framework would be helpful for the beginners it should be, Vs2008 developed the following
- 2022-02-28 18:10:42下载
- 积分:1
-
dsp_duogegongcheng
dsp 培训所以资料,包括程序 很多个工程程序。(So dsp training materials, including procedures for many of engineering programs.)
- 2010-10-27 15:59:28下载
- 积分:1
-
Qizi
闲来无事,2003年国庆编的一个程序,在google或者baidu上可以查关键字“拦路棋子 1.0”可以得到。请站长审阅,看看是否可以让我得到下载点数,(nothing better to do, and in 2003 a series of the National procedures, the engines on google or can check the keyword " roadblocks pawn 1.0" can be. Please head examined to see if I can be downloaded points, huh)
- 2016-05-07 20:12:03下载
- 积分:1