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

Function TSIOBufferReaderCopy

src/api/InkIOCoreAPI.cc:499–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499int64_t
500TSIOBufferReaderCopy(TSIOBufferReader readerp, void *buf, int64_t length)
501{
502 auto r{reinterpret_cast<IOBufferReader *>(readerp)};
503 char *limit = r->memcpy(buf, length, 0);
504 return limit - static_cast<char *>(buf);
505}
506
507void
508TSIOBufferProduce(TSIOBuffer bufp, int64_t nbytes)

Callers 5

body_reader_helperFunction · 0.85
br_out_statsFunction · 0.85
gzip_out_statsFunction · 0.85

Calls 1

memcpyMethod · 0.80

Tested by 1