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

Function SnappyCompressionSupported

tensorflow/core/lib/io/table_test.cc:579–583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577}
578
579static bool SnappyCompressionSupported() {
580 string out;
581 StringPiece in = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
582 return port::Snappy_Compress(in.data(), in.size(), &out);
583}
584
585TEST(TableTest, ApproximateOffsetOfCompressed) {
586 if (!SnappyCompressionSupported()) {

Callers 1

TESTFunction · 0.70

Calls 3

Snappy_CompressFunction · 0.50
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected