MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / NumberString

Function NumberString

tensorflow/core/lib/io/recordio_test.cc:43–47  ·  view source on GitHub ↗

Construct a string from a number

Source from the content-addressed store, hash-verified

41
42// Construct a string from a number
43string NumberString(int n) {
44 char buf[50];
45 snprintf(buf, sizeof(buf), "%d.", n);
46 return string(buf);
47}
48
49// Return a skewed potentially long string
50string RandomSkewedString(int i, random::SimplePhilox* rnd) {

Callers 3

RandomSkewedStringFunction · 0.85
TEST_FFunction · 0.85
TestNonSequentialReadsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected