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

Function TSIOBufferCreate

src/api/InkIOCoreAPI.cc:427–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425/* Buffers */
426
427TSIOBuffer
428TSIOBufferCreate()
429{
430 MIOBuffer *b = new_empty_MIOBuffer(BUFFER_SIZE_INDEX_32K);
431
432 // TODO: Should remove this when memory allocations can't fail.
433 sdk_assert(sdk_sanity_check_iocore_structure(b) == TS_SUCCESS);
434 return reinterpret_cast<TSIOBuffer>(b);
435}
436
437TSIOBuffer
438TSIOBufferSizedCreate(TSIOBufferSizeIndex index)

Callers 15

readMethod · 0.85
writeMethod · 0.85
state_startFunction · 0.85
handle_bufferingFunction · 0.85
transform_connectFunction · 0.85
transform_read_statusFunction · 0.85
transform_buffer_eventFunction · 0.85
psi_includeFunction · 0.85
handle_transformFunction · 0.85
readMethod · 0.85

Calls 1