Searched refs:requestDiskByteUsage (Results 1 – 3 of 3) sorted by relevance
470 ASSERT_TRUE(DebugFileIO::requestDiskByteUsage(0L)); in TEST_F()475 ASSERT_FALSE(DebugFileIO::requestDiskByteUsage(100L * 1024L * 1024L * 1024L)); in TEST_F()480 ASSERT_TRUE(DebugFileIO::requestDiskByteUsage(50L * 1024L * 1024L * 1024L)); in TEST_F()481 ASSERT_FALSE(DebugFileIO::requestDiskByteUsage(50L * 1024L * 1024L * 1024L)); in TEST_F()482 ASSERT_TRUE(DebugFileIO::requestDiskByteUsage(1024L)); in TEST_F()487 ASSERT_TRUE(DebugFileIO::requestDiskByteUsage(50L * 1024L * 1024L * 1024L)); in TEST_F()488 ASSERT_FALSE(DebugFileIO::requestDiskByteUsage(50L * 1024L * 1024L * 1024L)); in TEST_F()490 ASSERT_TRUE(DebugFileIO::requestDiskByteUsage(50L * 1024L * 1024L * 1024L)); in TEST_F()496 ASSERT_FALSE(DebugFileIO::requestDiskByteUsage(1024L)); in TEST_F()497 ASSERT_TRUE(DebugFileIO::requestDiskByteUsage(1000L)); in TEST_F()[all …]
209 static bool requestDiskByteUsage(uint64 bytes);
427 if (!DebugFileIO::requestDiskByteUsage(tensorBytes)) { in PublishDebugTensor()697 bool DebugFileIO::requestDiskByteUsage(uint64 bytes) { in requestDiskByteUsage() function in tensorflow::DebugFileIO