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

Method str_store

include/tscore/Arena.h:156–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154 -------------------------------------------------------------------------*/
155
156inline char *
157Arena::str_store(const char *str, size_t len)
158{
159 char *mem;
160
161 mem = str_alloc(len);
162 memcpy(mem, str, len);
163 mem[len] = '\0';
164
165 return mem;
166}

Callers 7

build_requestFunction · 0.80
_encode_headerMethod · 0.80
output_decoded_headersFunction · 0.80
http_str_storeFunction · 0.80
TSHttpTxnParentProxySetFunction · 0.80

Calls 1

memcpyFunction · 0.50

Tested by 2

build_requestFunction · 0.64
output_decoded_headersFunction · 0.64