Mercurial > hg > nginx
comparison src/core/ngx_crc32.c @ 1694:8c696afe46b3
rename ngx_crc32_init() to ngx_crc32_table_init()
ngx_crc32_init(), ngx_crc32_update(), ngx_crc32_final()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 07 Dec 2007 20:19:41 +0000 |
parents | 8902a211b00e |
children | d620f497c50f |
comparison
equal
deleted
inserted
replaced
1693:f4eb04fd8579 | 1694:8c696afe46b3 |
---|---|
100 | 100 |
101 uint32_t *ngx_crc32_table_short = ngx_crc32_table16; | 101 uint32_t *ngx_crc32_table_short = ngx_crc32_table16; |
102 | 102 |
103 | 103 |
104 ngx_int_t | 104 ngx_int_t |
105 ngx_crc32_init(void) | 105 ngx_crc32_table_init(void) |
106 { | 106 { |
107 void *p; | 107 void *p; |
108 | 108 |
109 if (((uintptr_t) ngx_crc32_table_short | 109 if (((uintptr_t) ngx_crc32_table_short |
110 & ~((uintptr_t) ngx_cacheline_size - 1)) | 110 & ~((uintptr_t) ngx_cacheline_size - 1)) |