Style and comment fixes.
This commit is contained in:
@@ -858,8 +858,8 @@ nxt_lvlhsh_bucket_each(nxt_lvlhsh_each_t *lhe)
|
|||||||
if (lhe->entries == 0) {
|
if (lhe->entries == 0) {
|
||||||
next = *nxt_lvlhsh_next_bucket(lhe->proto, lhe->bucket);
|
next = *nxt_lvlhsh_next_bucket(lhe->proto, lhe->bucket);
|
||||||
|
|
||||||
lhe->bucket = (next == NULL) ? NXT_LVLHSH_BUCKET_DONE:
|
lhe->bucket = (next == NULL) ? NXT_LVLHSH_BUCKET_DONE
|
||||||
nxt_lvlhsh_bucket(lhe->proto, next);
|
: nxt_lvlhsh_bucket(lhe->proto, next);
|
||||||
|
|
||||||
lhe->entries = nxt_lvlhsh_bucket_entries(lhe->proto, next);
|
lhe->entries = nxt_lvlhsh_bucket_entries(lhe->proto, next);
|
||||||
lhe->entry = 0;
|
lhe->entry = 0;
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ nxt_mp_create(size_t cluster_size, size_t page_alignment, size_t page_size,
|
|||||||
nxt_queue_init(chunk_pages);
|
nxt_queue_init(chunk_pages);
|
||||||
chunk_pages++;
|
chunk_pages++;
|
||||||
pages--;
|
pages--;
|
||||||
};
|
}
|
||||||
|
|
||||||
nxt_queue_init(&mp->free_pages);
|
nxt_queue_init(&mp->free_pages);
|
||||||
nxt_queue_init(&mp->nget_pages);
|
nxt_queue_init(&mp->nget_pages);
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
* %t ptrdiff_t
|
* %t ptrdiff_t
|
||||||
* %S null-terminated wchar string
|
* %S null-terminated wchar string
|
||||||
* %C wchar
|
* %C wchar
|
||||||
* %[0][width][u][x|X]Q int182_t/uint128_t
|
* %[0][width][u][x|X]Q int128_t/uint128_t
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user