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

Function _memset

src/tscore/MMH.cc:306–315  ·  view source on GitHub ↗

NOT general purpose

Source from the content-addressed store, hash-verified

304#else
305// NOT general purpose
306inline void
307_memset(unsigned char *b, int c, int len)
308{
309 (void)c;
310 int o = len & 0x3, i;
311 for (i = 0; i < o; i++)
312 b[i] = 0;
313 for (i = 0; i < (len - o) / 4; i++)
314 ((uint32_t *)(b + o))[i] = 0;
315}
316#endif
317
318int

Callers 1

ink_code_incr_MMH_finalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected