Deleted
Added
nxt_http_parse_test.c (493:745222d540a2) | nxt_http_parse_test.c (494:7c83ddcc1c42) |
---|---|
1 2/* 3 * Copyright (C) NGINX, Inc. 4 * Copyright (C) Valentin V. Bartenev 5 */ 6 7#include <nxt_main.h> 8#include "nxt_tests.h" --- 521 unchanged lines hidden (view full) --- 530 nxt_memzero(&hash, sizeof(nxt_lvlhsh_t)); 531 532 lvl_colls = nxt_http_fields_hash_collisions(&hash, mp, 533 nxt_http_test_bench_fields, 534 nxt_nitems(nxt_http_test_bench_fields), 535 1); 536 537 nxt_log_error(NXT_LOG_NOTICE, thr->log, | 1 2/* 3 * Copyright (C) NGINX, Inc. 4 * Copyright (C) Valentin V. Bartenev 5 */ 6 7#include <nxt_main.h> 8#include "nxt_tests.h" --- 521 unchanged lines hidden (view full) --- 530 nxt_memzero(&hash, sizeof(nxt_lvlhsh_t)); 531 532 lvl_colls = nxt_http_fields_hash_collisions(&hash, mp, 533 nxt_http_test_bench_fields, 534 nxt_nitems(nxt_http_test_bench_fields), 535 1); 536 537 nxt_log_error(NXT_LOG_NOTICE, thr->log, |
538 "http parse test hash collisions %ui out of %ui, level: %ui", | 538 "http parse test hash collisions %ui out of %uz, level: %ui", |
539 colls, nxt_nitems(nxt_http_test_bench_fields), lvl_colls); 540 541 nxt_memzero(&hash, sizeof(nxt_lvlhsh_t)); 542 543 rc = nxt_http_fields_hash(&hash, mp, nxt_http_test_bench_fields, 544 nxt_nitems(nxt_http_test_bench_fields)); 545 if (rc != NXT_OK) { 546 return NXT_ERROR; --- 235 unchanged lines hidden --- | 539 colls, nxt_nitems(nxt_http_test_bench_fields), lvl_colls); 540 541 nxt_memzero(&hash, sizeof(nxt_lvlhsh_t)); 542 543 rc = nxt_http_fields_hash(&hash, mp, nxt_http_test_bench_fields, 544 nxt_nitems(nxt_http_test_bench_fields)); 545 if (rc != NXT_OK) { 546 return NXT_ERROR; --- 235 unchanged lines hidden --- |