上一页 1 ··· 5 6 7 8 9 10 下一页
摘要: 模块的init main configuration阶段时,用到的ngx_cycle是main函数的init_cycle(旧的),在main中init_cycle中会创建新的ngx_cycle, 之后再main中把新的cycle赋值给ngx_cycle全局变量。 而在initmain时,用的是旧的c 阅读全文
posted @ 2019-05-20 11:25 yushimeng 阅读(1020) 评论(0) 推荐(0) 编辑
摘要: 1、ngx_pool_t ** ngx_get_pool()//use:getngx_pool_t **pool_address;ngx_pool_t *pool;pool_address = ngx_get_pool();pool = *pool_address;//use: freengx_fr 阅读全文
posted @ 2019-04-23 17:11 yushimeng 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 官网下载的最新版notepad++,结果pluginadmin里面installnppftp总是安不上,点击install之后然后点是就退出,再进去也没有安装好。 网上找了半天也没找到什么有用信息,最后官网看吧。看到一句: Keep in mind that your plugin binary n 阅读全文
posted @ 2019-03-28 10:48 yushimeng 阅读(671) 评论(0) 推荐(1) 编辑
摘要: http://blog.chinaunix.net/uid-27767798-id-3840094.html 断断续续看完了,还是没有全部清晰 阅读全文
posted @ 2019-03-14 11:29 yushimeng 阅读(204) 评论(0) 推荐(0) 编辑
摘要: ngx_string 是宏定义,定义变量的时候可以看成直接拿里面的值给变量赋值,声明变量,看成ngx_str_t test = {sizeof("a")-1, "a"},是符合定义的; 而给变量赋值的时候不能一次赋两个值。 阅读全文
posted @ 2019-03-12 17:52 yushimeng 阅读(278) 评论(0) 推荐(0) 编辑
摘要: a-a:b-b:c-c:d-d:e-e:f-f:g-g:h-h:i-i:j-j:k-k:l-l:m-m:n-n:o-o:p-p:q-q:r-r:s-s:t-t:u-u:v-v:w-w:x-x:y-y:z-z: 阅读全文
posted @ 2019-03-08 16:59 yushimeng 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 郁闷了很长时间一件事:第4行*pp代表的应该是f750的值:8758。我就是挺郁闷的:为什么printf("%d",a)的时候,a就是函数名,才能显示,这里传过去的是Hello的地址也能显示? 我年轻了。因为Hello是字符串啊,a是int变量。 阅读全文
posted @ 2019-02-20 15:33 yushimeng 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 请你来实现一个 atoi 函数,使其能将字符串转换成整数。 首先,该函数会根据需要丢弃无用的开头空格字符,直到寻找到第一个非空格的字符为止。 当我们寻找到的第一个非空字符为正或者负号时,则将该符号与之后面尽可能多的连续数字组合起来,作为该整数的正负号;假如第一个非空字符是数字,则直接将其与之后连续的 阅读全文
posted @ 2018-12-21 16:54 yushimeng 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-12-11 15:56 yushimeng 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 罗马数字包含以下七种字符: I, V, X, L,C,D 和 M。 字符 数值 I 1 V 5 X 10 L 50 C 100 D 500 M 1000 例如, 罗马数字 2 写做 II ,即为两个并列的 1。12 写做 XII ,即为 X + II 。 27 写做 XXVII, 即为 XX + V 阅读全文
posted @ 2018-11-26 15:10 yushimeng 阅读(290) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 下一页