Home
last modified time | relevance | path

Searched refs:random (Results 1 – 11 of 11) sorted by path

/unit/
H A DCHANGES12 random data and can be used as a unique request identifier.
/unit/auto/
H A Dunix14 #include <sys/random.h>
36 #include <linux/random.h>
53 # OpenBSD 5.6 lacks <sys/random.h>.
76 nxt_feature="getentropy() in sys/random.h"
79 #include <sys/random.h>
/unit/docs/
H A Dunit-openapi.yaml4882 summary: "Boolean value that enables or disables random tickets"
/unit/src/
H A Dnxt_http_variables.c419 rand = &task->thread->random; in nxt_http_var_request_id()
H A Dnxt_lib.c107 nxt_random_init(&thread->random); in nxt_lib_start()
H A Dnxt_port_memory.c377 nxt_pid, nxt_random(&task->thread->random)); in nxt_shm_open()
H A Dnxt_process.c660 nxt_random_init(&thread->random); in nxt_process_setup()
H A Dnxt_thread.c163 nxt_random_init(&thr->random); in nxt_thread_init()
H A Dnxt_thread.h159 nxt_random_t random; member
/unit/test/unit/applications/
H A Dwebsockets.py4 import random
26 raw_key = bytes(random.getrandbits(8) for _ in range(16))
178 mask_bits = struct.pack('!I', random.getrandbits(32))
/unit/tools/
H A Dsetup-unit886 addr.sin_port = htons(0); // random port