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

Function ink_code_MMH

src/tscore/MMH.cc:97–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97int
98ink_code_MMH(unsigned char *input, int len, unsigned char *sixteen_byte_hash)
99{
100 MMH_CTX ctx;
101 ink_code_incr_MMH_init(&ctx);
102 ink_code_incr_MMH_update(&ctx, reinterpret_cast<const char *>(input), len);
103 ink_code_incr_MMH_final(sixteen_byte_hash, &ctx);
104 return 0;
105}
106
107static inline void
108MMH_update(MMH_CTX *ctx, unsigned char *ab)

Callers 1

test_MMH.ccFile · 0.85

Calls 3

ink_code_incr_MMH_initFunction · 0.85
ink_code_incr_MMH_updateFunction · 0.85
ink_code_incr_MMH_finalFunction · 0.85

Tested by

no test coverage detected