Home
last modified time | relevance | path

Searched refs:k (Results 1 – 10 of 10) sorted by relevance

/unit/src/
H A Dnxt_murmur_hash.c21 k = p[0]; in nxt_murmur_hash2()
26 k *= m; in nxt_murmur_hash2()
27 k ^= k >> 24; in nxt_murmur_hash2()
28 k *= m; in nxt_murmur_hash2()
31 h ^= k; in nxt_murmur_hash2()
68 k = p[0]; in nxt_murmur_hash2_uint32()
69 k |= p[1] << 8; in nxt_murmur_hash2_uint32()
73 k *= m; in nxt_murmur_hash2_uint32()
74 k ^= k >> 24; in nxt_murmur_hash2_uint32()
75 k *= m; in nxt_murmur_hash2_uint32()
[all …]
H A Dnxt_upstream_round_robin.c46 double total, k, w; in nxt_upstream_round_robin_create() local
77 k = (total == 0) ? 0 : (NXT_INT32_T_MAX / 2) / total; in nxt_upstream_round_robin_create()
79 if (isinf(k)) { in nxt_upstream_round_robin_create()
80 k = 1; in nxt_upstream_round_robin_create()
108 w = (wtcf != NULL) ? k * nxt_conf_get_number(wtcf) : k; in nxt_upstream_round_robin_create()
/unit/test/unit/applications/
H A Dtls.py46 with open(key_path, 'rb') as k, open(crt_path, 'rb') as c:
47 return self.conf(k.read() + c.read(), '/certificates/' + crt)
63 for i, k in enumerate(alt_names, 1):
64 k = k.split('|')
66 if k[0] == 'IP':
67 a_names += "IP.%d = %s\n" % (i, k[1])
69 a_names += "DNS.%d = %s\n" % (i, k[0])
/unit/test/unit/
H A Dstatus.py29 k: find_diffs(d1.get(k, 0), d2.get(k, 0))
30 for k in d1
31 if k in d2
/unit/test/python/header_fields/
H A Dwsgi.py3 h = (k for k, v in environ.items() if k.startswith('HTTP_'))
/unit/src/test/
H A Dnxt_cq_test.c341 int i, k, id, verbose, objective, rk; in main() local
454 for (k = 0; k < MAX_ITER; k++) { in main()
518 times[k] = elapsed / 1000.0; in main()
519 mopsec[k] = (double) total_ops / elapsed; in main()
530 printf("Mops/sec %13.2f\n", mopsec[k]); in main()
536 if (k >= STAT_ITER) { in main()
546 (int) k + 1, times[k], mopsec[k], m, c); in main()
551 (int) k + 1, times[k], mopsec[k], m, c); in main()
556 rk = k - STAT_ITER; in main()
558 for (i = rk + 1; i <= k; i++) { in main()
[all …]
H A Dnxt_utf8_test.c88 nxt_uint_t i, k, l, m; in nxt_utf8_test() local
154 for (k = 0; k < 256; k++) { in nxt_utf8_test()
155 utf8[1] = k; in nxt_utf8_test()
/unit/go/
H A Dresponse.go70 for k, vv := range r.header {
73 fields_size += len(k) + len(v)
80 for k, vv := range r.header {
82 C.nxt_unit_response_add_field(r.c_req, str_ref(k), C.uint8_t(len(k)),
/unit/src/nodejs/unit-http/
H A Dhttp_server.js194 var k;
198 k = keys[i];
200 if (k) {
201 this.setHeader(k, obj[k]);
/unit/test/
H A Dconftest.py218 k: v for k, v in option.available['modules'].items() if v is not None