自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Bo Yang's Blog

About the only thing you can't do is ignore him.

  • 博客(8)
  • 资源 (7)
  • 收藏
  • 关注

转载 [转]多核的软肋:阿姆达定律

原文地址:http://apple4.us/2008/12/amdahl-law.html作者:Rio在过去的很多年里,软件性能的提升很大程度上源自处理器速度的增长。软件工程师面对客户抱怨说软件运行得太慢的通常回答是:升级你的系统。然而现在由于处理器速度逐渐逼近物理极限,继续提高处理器的时钟速度会导致发热量显著增加,甚至核心熔化。江郎才尽的硬件工程师想出了一个能保住自己饭碗的办法:既然不能提高单个

2008-12-31 10:31:00 1320

原创 Perl Notes(I)

Part I    Programming Perl1 Perl Data Types1.1 Funny CharactersTypeCharacterExampleIs a name for:Scalar$$centsAn individual value (number or string)Array@@large

2008-12-29 09:17:00 1118

原创 由服务器名字(Host name)获得IP地址

一下代码可以根据host name获得IP地址:#include #include #include #include #include int main(int argc,char **argv){    struct hostent *hptr;    struct in_addr *in_addr_ptr;    char *ptr,**pptr,**listptr,*addr_ptr;  

2008-12-24 22:19:00 2158

原创 几段耐人寻味的视频

Steve Jobs演讲的伟大时刻:http://item.feedsky.com/~feedsky/apple4us/~6348789/150544877/4456728/1/item.htmlGoogle的超轻型操作系统:http://live.csdn.net/Issue638/livePlay.aspxMIT的智能画板:http://live.csdn.net/Issue642/LiveP

2008-12-19 14:06:00 491

转载 Named Pipe

This page is a copy of http://developers.sun.com/solaris/articles/named_pipes.html.Introduction to Interprocess Communication Using Named Pipes  Print-friendly VersionBy Faisal Faruqui, July 2002 Cont

2008-12-16 23:38:00 1128

原创 return (((ulong*)(x))[-1])

看到一个函数,定义如下: #include "u.h"#include "lib.h"ulonggetcallerpc(void *x){    return (((ulong*)(x))[-1]);}((ulong*)(x))  将void* 的x针针强制转换为 ulong* 此时可以理解为x指向一个ulong类型的数组 [-1] : 表示去x前面的那个元素 上面的代码等价与 ulong px=

2008-12-04 14:06:00 705

原创 NULL Pointer Bugs

NULL Pointer BugsA NULL character pointer is NOT the same as a pointer to a NULL string. In Solaris, the following program will lead to a "Segmentation Fault".#include #include int main(){    char *st

2008-12-03 20:54:00 555 1

原创 Korn Shell Notes(V)

 19. Input/Output Commands19.1 Escape CharactersThe /c escape character causes the trailing newline to be dropped from the output. It is often used to create prompts.    $ print "Enter choice: /c"    

2008-12-01 22:48:00 683

将多个Excel文件批量导入某个Excel文件中去的VBA宏

压缩文件中包括一个包含宏代码的Excel文件Sheet Macros.xls以及其他四个测试文件工作表 1~4。 宏的功能为(1)选中Excel表格中的某些行或列,运行某个Macro,自动根据选中的cells创建新的worksheets,worksheets的名字就是选中的cells的名字。(2)创建新的worksheet的同时,要把某指定目录下与新的worksheet同名的Excel文件的内容copy到新的worksheet中去。

2011-07-11

Network Programming with Perl

Perl网络编程的经典书籍,浅显易懂,值得推荐

2010-06-23

Exploring Expect(英文完全版)

Exploring Expect by Don Libes Publisher: O'Reilly Media, Inc. Pub Date: December 1, 1994 Print ISBN-10: 1-565-92090-2 Print ISBN-13: 978-1-565-92090-3 Pages: 608

2009-09-29

Sun云计算平台-Sun Cloud Computing

本文(Sun Cloud Computing)详细介绍了Sun的云计算平台,对于云计算平台的学习非常有帮助。

2009-08-18

面向对象数据库

面向对象数据库系统及其应用

2007-11-14

Matlab与VC混合编程

利用VC调用Matlab C语言接口,实现VC和Matlab的混合编程。

2007-05-24

空空如也

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

TA关注的人

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