码迷,mamicode.com
首页 >  
搜索关键字:threading    ( 3244个结果
使用指针优化性能
============================创建基于栈的数组(高性能,低系统开销)//数组的类型必须为值类型usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespaceConsoleApplication1 { classProgram { staticunsa..
分类:其他好文   时间:2014-10-26 19:53:53    阅读次数:232
使用HttpDownLoadHelper下载文件
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.IO;using System.Threading;namespace ProjectWenDangManage...
分类:Web程序   时间:2014-10-26 14:15:43    阅读次数:182
指针示例
==========================================示例一结论:1,栈中的内存块按4的倍数进行分配(不是按照类型的大小分配的)2,指针类型强制转换,得到的内容将无意义usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading...
分类:其他好文   时间:2014-10-26 06:56:06    阅读次数:216
python中threading多线程
python中有两个处理多线程的模块thread和threading。其中thread提供了多线程底层支持的模块,以低级原始的发那个是来处理和控制线程,使用起来较为复杂;而threading基于thread进行包装,将线程操作对象化。最基础的的多线程我们先看一个最最基础的多线程例子import th...
分类:编程语言   时间:2014-10-23 17:36:45    阅读次数:210
Forms.Timer、Timers.Timer、Threading.Timer的研究
.NET Framework里面提供了三种TimerSystem.Windows.Forms.TimerSystem.Timers.TimerSystem.Threading.Timer一、System.Windows.Forms.Timer1、基于Windows消息循环,用事件方式触发,在界面线程...
分类:其他好文   时间:2014-10-23 15:39:44    阅读次数:265
C# framework 4.0 使用UI线程--Task
using System.Threading.Tasks;//保存污染因子 private void btSavePF_Click(object sender, EventArgs e) { try { ...
分类:编程语言   时间:2014-10-23 12:19:15    阅读次数:232
FileDown(文件下载类)
using System;using System.IO;using System.Threading;using System.Web;/// /// 文件下载类/// public class FileDown{ public FileDown() { } /// /// 参数为虚拟路径 //....
分类:其他好文   时间:2014-10-22 17:59:59    阅读次数:1178
HTMLHelper
using System;using System.Text; using System.Net; using System.IO; using System.Threading;using System.Text.RegularExpressions;public class HTMLHelper...
分类:Web程序   时间:2014-10-22 17:50:04    阅读次数:228
.Net基础加强11
复习:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Net;using System.Text.R...
分类:Web程序   时间:2014-10-22 17:41:30    阅读次数:315
FTPClient
using System;using System.Net;using System.IO;using System.Text;using System.Net.Sockets;using System.Threading;public class FTPClient{ public static ...
分类:其他好文   时间:2014-10-22 17:26:17    阅读次数:148
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!