摘要: 转自 https://www.qcloud.com/community/article/111 由于HTTP 1自身的局限性,它不能很好的为用户提供性能良好的WEB服务。于1999年6月正式发布了HTTP1.1标准REC2616,它厘清了之前版本中很多有歧义的地方,而且还新增了很多重要的优化,如持久 阅读全文
posted @ 2017-07-10 13:42 never_comparison 阅读(236) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include #include #include #include #include #include #define MSGLINE 5000 #define OUTSIZE 1024 /* hexadecimal lookup table */ stati... 阅读全文
posted @ 2017-07-10 10:51 never_comparison 阅读(134) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include #include #include #include #include #include #include "sqlite3.h" void getDiskFile(MYSQL *con, char *rtdir,char* fname,lon... 阅读全文
posted @ 2017-07-10 10:47 never_comparison 阅读(125) 评论(0) 推荐(0) 编辑
摘要: Network Working Group J. Klensin, EditorRequest for Comments: 2821 AT&T LaboratoriesObsoletes: 821, 974, 1869 April 2001Updates: 1123Category: Standar 阅读全文
posted @ 2017-07-10 06:39 never_comparison 阅读(311) 评论(0) 推荐(0) 编辑
摘要: db定义字节类型变量,一个字节数据占1个字节单元,读完一个,偏移量加1 dw定义字类型变量,一个字数据占2个字节单元,读完一个,偏移量加2 dd定义双字类型变量,一个双字数据占4个字节单元,读完一个,偏移量加4 汇编程序的框架:.386.model flat, stdcall.data.codest 阅读全文
posted @ 2017-07-10 06:36 never_comparison 阅读(212) 评论(0) 推荐(0) 编辑
摘要: This problem is notoriously hard to implement due to all the corner cases. Most implementations consider odd-lengthed and even-lengthed arrays as two different cases and treat them separately. As a m... 阅读全文
posted @ 2017-07-10 06:33 never_comparison 阅读(153) 评论(0) 推荐(0) 编辑
摘要: //the basic idea is, keep a hashmap which stores the characters in string as keys and their positions as values, and keep two pointers which define the max substring. move the right pointer to scan t... 阅读全文
posted @ 2017-07-10 06:28 never_comparison 阅读(143) 评论(0) 推荐(0) 编辑
摘要: eclipse使用快捷键: 1. 查找声明 : F3 ( 或者 Ctrl 加鼠标左键点击 ) 2. 头文件和源文件切换 . Ctrl +Tab 3. 查看类继承关系图 Ctrl +T 4. 查找源文件 Ctrl +Shift+R 5. 查找字段 Ctrl +H 6. 查找文件的函数或者全局变量 Ctrl +O 7. 查找被引用的位置 Ctrl + Shift + G s... 阅读全文
posted @ 2017-07-10 06:17 never_comparison 阅读(104) 评论(0) 推荐(0) 编辑
摘要: preview: '.' Matches any single character. '*' Matches zero or more of the preceding element. The matching should cover the entire input string (not partial). The function prototype should be: bool... 阅读全文
posted @ 2017-07-10 06:14 never_comparison 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 队列调度 1队列有调度方式: 并发调度和抢占式调度,信用机制。 2现有的并发队列调度的缺点: 最开始,postfix使用一种很简单但却很健壮的发送方法,每当尝试连接发送但失败后,会减少1个并发数,反之增加一个并发数。当然并发数不能超过配置参数maximum per-destination.当并发数降 阅读全文
posted @ 2017-07-10 06:00 never_comparison 阅读(195) 评论(0) 推荐(0) 编辑
摘要: List: imap I tried the code you referenced (the exact program and compilation script are in attachments), but it failed. The program takes input as modified UTF-7, uses MailboxToURL routine to ... 阅读全文
posted @ 2017-07-10 05:33 never_comparison 阅读(593) 评论(0) 推荐(0) 编辑
摘要: 队列管理中真正的main函数式 trigger_server_main(argc, argv, qmgr_trigger_event, CA_MAIL_SERVER_INT_TABLE(int_table), CA_MAIL_SERVER_STR_TABLE(str_table), CA_MAIL_ 阅读全文
posted @ 2017-07-10 05:26 never_comparison 阅读(574) 评论(0) 推荐(0) 编辑
摘要: Postfix网络编程的结构: Tcp/Ip连接:inet_connect.c inet_listern.c //src/util/inet_connect.c /* inet_connect - connect to TCP listener */ int inet_connect(const c 阅读全文
posted @ 2017-07-10 05:25 never_comparison 阅读(197) 评论(0) 推荐(0) 编辑
摘要: src/master typedef struct { char *program; /* postfix */ int major; /* 2 */ int minor; /* 9 */ int patch; /* null */ char *snapshot; /* 20111209-nonpr 阅读全文
posted @ 2017-07-10 05:20 never_comparison 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 结构: struct WATCHDOG { unsigned timeout; /* our time resolution */ WATCHDOG_FN action; /* application routine */ char *context; /* application context  阅读全文
posted @ 2017-07-10 05:18 never_comparison 阅读(185) 评论(0) 推荐(0) 编辑
摘要: B树:二叉搜索树 性质: 1.所有非叶子结点至多拥有两个儿子(Left和Right); 2.所有结点存储一个关键字; 3.非叶子结点的左指针指向小于其关键字的子树,右指针指向大于其关键字的子树; B-树: 1.定义任意非叶子结点最多只有M个儿子;且M>2; 2.根结点的儿子数为[2, M]; 3.除 阅读全文
posted @ 2017-07-10 03:56 never_comparison 阅读(127) 评论(0) 推荐(0) 编辑