request_mem_region仅仅是linux对IO内存的管理,意思指这块内存我已经占用了,别人就不要动了,也不能被swap出去。使用这些寄存器时,可以不调用request_mem_region,但这样的话就不能阻止别人对他的访问了。http://blog.csdn.net/skyflying...
分类:
其他好文 时间:
2014-10-01 10:16:01
阅读次数:
195
public class Email { #region 发送邮件 /// /// 发送邮件 /// /// 主题 /// 内容 /// SMTP服务器 /// 注册的邮箱如aa...
分类:
其他好文 时间:
2014-09-30 20:11:29
阅读次数:
131
最近在做Excel导出,看到了这个方法,虽不是自己写的,但值得收藏,但是忘记从那摘抄的,没写原文作者看到望见谅! 1 #region 导出Excel 2 /// 3 /// list 转换Datatable 4 /// 5 /// 6 /// 7 public DataTable DataO...
分类:
其他好文 时间:
2014-09-29 16:49:21
阅读次数:
193
stringpath_query="RigthAdvent.aspx?";#region分页//////分页代码//////总的结果条数///每一页的大小///当前页码///分页的htmlpublicstringPaging(doubletotalResult,intpageSize,intcurr...
分类:
Web程序 时间:
2014-09-29 16:00:11
阅读次数:
128
#region 通过带参数的Sql语句来实现模糊查询(多条件查询) StringBuilder sb = new StringBuilder("select * from books"); List listWheres = new...
分类:
数据库 时间:
2014-09-29 15:46:31
阅读次数:
648
#region 获取微信凭证 public string GetAccessToken(string wechat_id) { string accessToken = ""; DataTable dtwecaht = we...
分类:
微信 时间:
2014-09-28 18:07:03
阅读次数:
329
#region实现IComparable的排序class UserInfo:IComparable { public int ID { get; set; } public int Age { get; set; } public string Nam...
分类:
其他好文 时间:
2014-09-27 19:35:10
阅读次数:
151
SELECT SUM(population) FROM bbc这里的SUM作用在所有返回记录的population字段上,结果就是该查询只返回一个结果,即所有国家的总人口数。显示每个地区的总人口数和总面积:SELECT region, SUM(population), SUM(area)FROM b...
分类:
其他好文 时间:
2014-09-26 11:06:58
阅读次数:
203
Cable master
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 24292
Accepted: 5200
Description
Inhabitants of the Wonderland have decided to hold a region...
分类:
其他好文 时间:
2014-09-24 23:45:18
阅读次数:
201
Cable master
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 24292
Accepted: 5200
Description
Inhabitants of the Wonderland have decided to hold a region...
分类:
其他好文 时间:
2014-09-24 22:05:38
阅读次数:
190