自定义博客皮肤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)
  • 收藏
  • 关注

转载 Bind系统调用

Bind含义 一条tcp/udp 连接一般是有五元组进行标识的 {<proto>, <src addr>, <src port>, <dst addr>, <dst port>}   Bind一般是在server端调用,通过bind,会把本端的地址和端口号与socket描述符进行绑定,而目的地址和端口在conn...

2016-12-04 16:27:00 437

转载 Plai 5: Adding functions to languae

#lang plai-typed (define-type ExprC [numC (n : number)] [idC (s : symbol)] [plusC (l : ExprC) (r : ExprC)] [multC (l : ExprC) (r : ExprC)] [appC (fun : symbol) (arg : ExprC)...

2016-11-02 19:11:00 201

转载 The Root of Lisp

The Root of Lisp 对Lisp类的语言(scheme,racket)的理解非常有帮助。 转载于:https://www.cnblogs.com/memo-store/p/5996064.html

2016-10-25 11:29:00 260

转载 Plai 2: Everything about parser

plai-type 的parser, 不得不说lisp语言还是擅长处理括号表达式,而且其list 的member允许类型不同,但是说真的,还是不怎么喜欢lisp。 #lang plai-typed (define-type ArithC [numC (n : number)] [plusC (l : ArithC) (r : ArithC)] [multC (l...

2016-10-22 13:41:00 213

转载 How to run PLAI code

Recently I am learning the interpretor so I start to read PLAI(Programing Languages: Application and interpretation). However, for a noob of functional language, such like Scheme, Racket,... it...

2016-10-10 22:57:00 165

转载 Linux 不同时钟的区别

在Linux内核中,我们可以发现主要有这么几种不同类型的时钟(clock): CLOCK_REALTIME CLOCK_MONOTONIC CLOCK_MONOTONIC_RAW CLOCK_BOOTTIME CLOCK_REALTIME,可以理解为wall time,即是实际的时间。用户可以使用命令(date)或是系统调用去修改。如果使用了NTP, 也会被NTP...

2016-07-10 18:13:00 461

转载 Generic netlink howto

1. Registering a family Registering a family is including four steps: define the family, define operations, register the family, register the operations. Define the family, is just creating a...

2016-05-25 23:40:00 140

转载 Vim configuration & usage memo

1. vim cstags&cscope auto load tags&db For ctags, add following to .vimrc set tags = tags;/ Or using this set tags=tags; set autochdir Note that, the semicolon(;) is ne...

2016-05-24 22:20:00 115

空空如也

空空如也

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

TA关注的人

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