Searched refs:expected_offsets (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | unicode_decode_op_test.py | 154 expected_offsets = _nested_offsets(texts, "UTF-8") 156 self.assertRaggedEqual(expected_offsets, result[1]) 275 expected_offsets=[[0], [0, 1, 2, 3, 4], 284 expected_offsets=[[0], [0, 1, 2, 3, 4], 292 expected_offsets=[[], [0, 1, 2, 3, 4], 300 expected_offsets=[[0], [0, 1, 2, 3, 4], 309 expected_offsets=[[0], [0, 1, 2, 3, 4], 314 expected_offsets=None, argument 318 self.assertRaggedEqual(result[1], expected_offsets) 344 expected_offsets = _nested_offsets(texts, encoding) [all …]
|
/external/libchrome/base/strings/ |
D | string_util_unittest.cc | 1017 std::vector<size_t> expected_offsets = {0, 8, 11, 18, 21, 29, 32, 39, 42}; in TEST() local 1019 EXPECT_EQ(expected_offsets, offsets); in TEST() 1021 EXPECT_EQ(expected.substr(expected_offsets[i], subst[i].length()), in TEST() 1090 std::vector<size_t> expected_offsets = {0, 4, 9}; in TEST() local 1091 EXPECT_EQ(expected_offsets, offsets); in TEST()
|