Home
last modified time | relevance | path

Searched refs:ApproximateOffsetOf (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/lib/io/
Dtable_test.cc243 uint64 ApproximateOffsetOf(const StringPiece& key) const { in ApproximateOffsetOf() function in tensorflow::table::TableConstructor
244 return table_->ApproximateOffsetOf(key); in ApproximateOffsetOf()
565 ASSERT_TRUE(Between(c.ApproximateOffsetOf("abc"), 0, 0)); in TEST()
566 ASSERT_TRUE(Between(c.ApproximateOffsetOf("k01"), 0, 0)); in TEST()
567 ASSERT_TRUE(Between(c.ApproximateOffsetOf("k01a"), 0, 0)); in TEST()
568 ASSERT_TRUE(Between(c.ApproximateOffsetOf("k02"), 0, 0)); in TEST()
569 ASSERT_TRUE(Between(c.ApproximateOffsetOf("k03"), 10, 500)); in TEST()
570 ASSERT_TRUE(Between(c.ApproximateOffsetOf("k04"), 10000, 11000)); in TEST()
571 ASSERT_TRUE(Between(c.ApproximateOffsetOf("k04a"), 210000, 211000)); in TEST()
572 ASSERT_TRUE(Between(c.ApproximateOffsetOf("k05"), 210000, 211000)); in TEST()
[all …]
Dtable.h63 uint64 ApproximateOffsetOf(const StringPiece& key) const;
Dtable.cc151 uint64 Table::ApproximateOffsetOf(const StringPiece& key) const { in ApproximateOffsetOf() function in tensorflow::table::Table