MCPcopy Create free account
hub / github.com/apache/trafficserver / rand_CacheKey

Function rand_CacheKey

src/iocore/cache/P_CacheInternal.h:380–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378}
379
380void inline rand_CacheKey(CacheKey *next_key)
381{
382 EThread *ethread = this_ethread();
383 next_key->b[0] = ethread->generator.random();
384 next_key->b[1] = ethread->generator.random();
385}
386
387extern const uint8_t CacheKey_next_table[256];
388void inline next_CacheKey(CacheKey *next, const CacheKey *key)

Callers 5

open_writeMethod · 0.85
CacheTest.ccFile · 0.85
update_document_keyFunction · 0.85

Calls 2

this_ethreadFunction · 0.85
randomMethod · 0.45

Tested by 2