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

Function next_CacheKey

src/iocore/cache/P_CacheInternal.h:388–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386
387extern const uint8_t CacheKey_next_table[256];
388void inline next_CacheKey(CacheKey *next, const CacheKey *key)
389{
390 next->u8[0] = CacheKey_next_table[key->u8[0]];
391 for (int i = 1; i < 16; i++) {
392 next->u8[i] = CacheKey_next_table[(next->u8[i - 1] + key->u8[i]) & 0xFF];
393 }
394}
395
396extern const uint8_t CacheKey_prev_table[256];
397void inline prev_CacheKey(CacheKey *prev, const CacheKey *key)

Callers 8

evacuateReadHeadMethod · 0.85
openWriteWriteDoneMethod · 0.85
openReadReadDoneMethod · 0.85
openReadMainMethod · 0.85
openReadStartEarliestMethod · 0.85
openReadStartHeadMethod · 0.85
evacuateDocReadDoneMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected