俊秀百褶裙

文章
5
资源
0
加入时间
4年2月8天

ngx_array_s数组分析(三)

一、定义ngx_array_s是一维的数据结构,在内存中内存空间是连续的。struct ngx_array_s {    void        *elts;                       --数组首个元素地址    ngx_uint_t   nelts;                 --数组中已有元素个数             size_t       size;                      --数组每个元素大小(字节)    ngx_uint_t