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

Function go_back_two_req

libCacheSim/traceReader/reader.c:413–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413int go_back_two_req(reader_t *const reader) {
414 /* go back two requests
415 return 0 on successful, non-zero otherwise
416 */
417 if (go_back_one_req(reader) == 0) {
418 return go_back_one_req(reader);
419 } else {
420 return 1;
421 }
422}
423
424/**
425 * read one request from reader precede current position,

Callers 2

test_reader_more1Function · 0.85
read_one_req_aboveFunction · 0.85

Calls 1

go_back_one_reqFunction · 0.85

Tested by 1

test_reader_more1Function · 0.68