- 博客(9)
- 资源 (16)
- 收藏
- 关注
转载 Linux下发送与接收组播数据(socket编程)
Sender.cpp[c-sharp] view plain copy#include #include #include #include #include #include #include #include #include #d
2017-11-08 22:10:46 3004
转载 “Hello World”在Linux系统上的运行过程
#includeint main(){ printf("hello world\n"); return 0;} 然后gcc helloworld.c -o helloworld,一个最简单的hello world程序出现了。它是从哪里开始执行的呢?这还不简单?main函数么。地球人都知道。为什么一定要从main函数开始呢? f
2017-10-13 22:36:28 1729
转载 redis总结
redis与memcachedredis支持更多的数据结构redis支持数据持久化redis支持两种存储方式:snapshot(快照)和aof(append only mode),快照是定时将内存快照持久化到硬盘(crash会丢失数据),aof是在写入数据的同时将操作命令保存到日志(不会丢失数据,但操作日志管理维护成本高)redis单线程,memcached是多线程的r
2017-09-26 15:25:02 180
原创 【代码】N个非定长升序数组 合并成一个升序数组
struct nodenumber_s{ int *a;//存放数组 int len;//当前数组元素个数 int cur;//当前数组中下次可用于归并的元素下标};struct nodetable_s{//该结构表示若干个非定长的数组 struct nodenumber_s *table; int size;//数组个数};
2017-07-21 17:19:33 535
原创 基于nginx的C模块代码实现获取POST请求参数并回传给客户端
ngx_http_echo_post_parameter_module .c文件#include #include #include #include #include "ngx_config.h"static char * ngx_http_echo_post_parameter(ngx_conf_t *cf,ngx_command_t *cmd, void *con
2017-07-06 15:04:48 1281
原创 nginx源码分析(持续更新)
1.http模块何时将http请求各个阶段的处理函数注册到nginx的http框架中, 会在该http模块的postconfiguration回调函数被调用过程中将Http请求某阶段本模块干预处理的函数注册进去; 具体参考代码ngx_http_block函数中如下代码(ngx_http.c中)for (m = 0; ngx_modules[m]; m++) {
2017-07-03 17:51:19 342
转载 创建数据库并授权
hadoop@ubuntu:~$ mysql -u root -pmysqlmysql> CREATE USER 'hive' IDENTIFIED BY 'mysql';mysql> GRANT ALL PRIVILEGES ON *.* TO 'hive'@'%' WITH GRANT OPTION;mysql> flush privileges;
2016-07-14 11:16:07 228
转载 Hive metastore database is not initialized
After installing hive, if the first thing you did was run hive, hive attempted to create/initialize the metastore_db, but apparently might not get it right. On that initial run, maybe you saw your err
2016-07-12 15:56:13 380
转载 码率控制FAQ
<br />有关码率控制的FAQ<br />--------ByHychong<br />1.码率控制中几个参数含义的理解<br />在 RC 中经常会碰到这几个参数,InitialDelayOffset, Pm_X1,Pm_X2,Pm_rgQp[20],Pm_rgRp[20],<br />UpperBound1, UpperBound2, LowerBound,谁能解释一下他们的含义啊,在程序里多次出现,就是搞不<br />懂他们是用来干什么的,郁闷!<br />你应该先好好学习一下JVT-H017r3,
2011-04-24 14:36:00 1082
软件设计师经典教材word版软件设计师经典教材word版
2011-08-11
Improved Methods for Initializing R-Q Model
2011-04-24
Transform Coding with Integer-to-Integer Transforms.pdf
2011-04-17
电子词典设计与开发 电子词典123
2008-11-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人