自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (4)
  • 收藏
  • 关注

原创 多核心计算机运算

在上一篇《【代码保留】ThreadPoolHelper SampleCode》文章中,我们提到了ThreadPool。而这篇文章将通过一组数据来展示多核计算、单核计算以及线程池在处理单核计算时候的一些区别。本篇示例将继续引用上一篇示例中的例子,并作出补充,请自行查阅。(上一篇)由于我们知道经过多年的工业发展,计算机已经逐渐从单核向多核发展,再者由于计算机(特指CPU)的发展在单

2007-12-23 23:02:00 539

原创 ThreadPoolHelper

在使用ThreadPool的时候,我们可能会经常使用到QueueUserWorkItem这个静态方法,这个方法的两个版本如下public static bool QueueUserWorkItem(WaitCallback callBack)public static bool QueueUserWorkItem(WaitCallback callBack,Object s

2007-12-23 07:02:00 722

原创 The Attribute basic

本文仅仅写了一个最简单的Attribute示例,不作过多阐释,代码如下: 值得注意的是,由于Attribute是在编译时确定的,因此/*Blog = new Blog(10,"title","content"),*/ 由于Blog的确定是在运行时确定的,这样的方式将无法编译通过。using System;using System.Reflection;namespace CA_

2007-12-16 22:02:00 325

原创 oracle sqlplus

DOS: 内含两种方法: sqlplus username@connect_identifier,如以下示例中:sqlplus bzgl@ora10g sqlplus username[/password][@connect_identifier],如以下示例中:sqlplus bzgl/bzgl@o

2007-12-14 13:02:00 638

原创 静态构造函数(Static Constructor)(It performs well in Singleton)

今天无意间看到了静态构造函数的代码,也许是没怎么见过,觉得新鲜,就顺手写了以下代码,或许我见过,或许我忘记了……呵呵,发布上来自己作个纪念…… 发现用来做Singleton模式倒是不错,呵呵……using System;namespace CA_StaticConstructor{ class StaticClass { public st

2007-12-10 03:02:00 521

原创 TreeView的ImageSet属性设置断线的问题

TreeView的ImageSet属性设置完后,图标可能替换掉了,但是却会出现如下图所示断线的情况。 在IE7中,即使设置了ShowLines=true,也会出现如此断线情况。(IE6貌似不会) 使用VS2005创建的页面会自动添加: 将此句删除即可。

2007-12-06 22:02:00 671

原创 【代码保留】IP地址排序(字符串分隔补齐)

功能:实现IP地址排序思路:IP地址以点号分隔,直接排序会出现顺序混乱:如:10.143.19.138192.168.1.1如此两个IP地址是无法排序的(很明显)将其转换成:010.143.019.138192.168.001.001就可以进行排序了……代码:select t.icf_path icf_path_o,lpad(substr(t.i

2007-12-03 09:02:00 360

原创 微软发布架构师期刊阅读器

微软发布架构师期刊阅读器转载:http://www.infoq.com/cn/news/2007/11/aj-reader作者 Hartmut Wilms译者 胡键 发布于 2007年11月29日 下午11时53分 社区.NET主题企业架构 微软发布了架构师期刊阅读器,它是一个用来阅读架构师期刊的WPF阅读器。架构师期刊是一份由微软发行的关注于IT架构的

2007-12-02 01:02:00 330

使用增强的计时器测量代码段(Code Section)

使用增强的计时器测量代码段(Code Section) 作者:英特尔公司 Paul Work 和 Khang Nguyen  介绍  现有计时器  增强的计时器  使用增强的计时器  增强计时器的结构  结论  更多资源  作者简介

2009-02-19

Learning GNU C

文档格式:pdf Learning GNU C Ciaran O’Riordan Why learn C? C is a standard. It is the programmers programming language. It is the standard programming language of GNU and BSD based systems. The majority of these systems and the applications that run on them, is written in C. C was developed over thirty years ago for writing operating systems and applications. It’s small, extensible design has allowed it to evolve with the computer industry. Because of it’s age and popularity, C is a very well supported language. Many tools exist to make C programming easier and these tools are often very mature and of a high standard. All the software we will use in this book is written in C. Why use GNU? GNU is a complete, Unix-like operating system that has been in development for just over twenty years. GNU software is known for it’s stability and standard compliance. Most GNU systems use Linux as a kernel. These systems are often known as GNU/Linux systems.

2008-09-11

ISO-C99标准文档

这是ISO-C99的标准文档。是C语言99版本之后的最佳参考,也是最新版本。

2008-09-11

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除