MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / read_bytes

Function read_bytes

libCacheSim/traceReader/customizedReader/binaryUtils.h:42–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40#endif
41
42static inline char *read_bytes(reader_t *reader, size_t size) {
43 char *start = NULL;
44#ifdef SUPPORT_ZSTD_TRACE
45 if (reader->is_zstd_file) {
46 start = _read_bytes_zstd(reader, size);
47 } else
48#endif
49 {
50 start = _read_bytes(reader, size);
51 }
52 return start;
53}
54
55#ifdef __cplusplus
56}

Callers 12

reset_readerFunction · 0.85
lcsReader_setupFunction · 0.85
lcs_read_one_reqFunction · 0.85
lcs_print_trace_statFunction · 0.85
valpin_read_one_reqFunction · 0.85
twrNS_read_one_reqFunction · 0.85
twr_read_one_reqFunction · 0.85

Calls 2

_read_bytes_zstdFunction · 0.85
_read_bytesFunction · 0.85

Tested by

no test coverage detected