发布时间:2013-07-23 17:51:04
点击(此处)折叠或打开(require "sb-bsd-sockets")(use-package "SB-BSD-SOCKETS")(use-package "SB-SYS")(defun htons (hostshort) (logior (ash (logand hostshort #x00FF) 8) .........【阅读全文】
发布时间:2013-07-18 10:29:55
点击(此处)折叠或打开#!/usr/bin/pythonfrom struct import *from socket import *from sys import *class DBPkgHead: def __init__(self): &.........【阅读全文】
发布时间:2013-07-18 10:28:20
点击(此处)折叠或打开static int GB18030Cut(const unsigned char *buf, int max){ int i = 0; for (; i < max;) {  .........【阅读全文】
发布时间:2013-07-15 09:49:48
非C++1x实现,可return UniquePtr、赋值、构造。点击(此处)折叠或打开#ifndef UNIQUEPTR_H#define UNIQUEPTR_Htemplatestruct default_delete{ void operator()(_T *pt.........【阅读全文】