Searched refs:random_seed (Results 1 – 3 of 3) sorted by relevance
27 random_seed.h46 random_seed.c
402 static volatile int random_seed = -1; in lh_char_hash() local404 if (random_seed == -1) { in lh_char_hash()409 __sync_val_compare_and_swap(&random_seed, -1, seed); in lh_char_hash()411 InterlockedCompareExchange(&random_seed, seed, -1); in lh_char_hash()414 random_seed = seed; /* potentially racy */ in lh_char_hash()418 return hashlittle((const char*)k, strlen((const char*)k), random_seed); in lh_char_hash()
34 random_seed.c