Home
last modified time | relevance | path

Searched refs:testMap (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/unittests/ADT/
DStringMapTest.cpp22 StringMap<uint32_t> testMap; member in __anon884106b60111::StringMapTest
32 EXPECT_EQ(0u, testMap.size()); in assertEmptyMap()
33 EXPECT_TRUE(testMap.empty()); in assertEmptyMap()
36 EXPECT_TRUE(testMap.begin() == testMap.end()); in assertEmptyMap()
39 EXPECT_EQ(0u, testMap.count(testKey)); in assertEmptyMap()
40 EXPECT_EQ(0u, testMap.count(StringRef(testKeyFirst, testKeyLength))); in assertEmptyMap()
41 EXPECT_EQ(0u, testMap.count(testKeyStr)); in assertEmptyMap()
42 EXPECT_TRUE(testMap.find(testKey) == testMap.end()); in assertEmptyMap()
43 EXPECT_TRUE(testMap.find(StringRef(testKeyFirst, testKeyLength)) == in assertEmptyMap()
44 testMap.end()); in assertEmptyMap()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DStringMapTest.cpp24 StringMap<uint32_t> testMap; member in __anon8cca574e0111::StringMapTest
34 EXPECT_EQ(0u, testMap.size()); in assertEmptyMap()
35 EXPECT_TRUE(testMap.empty()); in assertEmptyMap()
38 EXPECT_TRUE(testMap.begin() == testMap.end()); in assertEmptyMap()
41 EXPECT_EQ(0u, testMap.count(testKey)); in assertEmptyMap()
42 EXPECT_EQ(0u, testMap.count(StringRef(testKeyFirst, testKeyLength))); in assertEmptyMap()
43 EXPECT_EQ(0u, testMap.count(testKeyStr)); in assertEmptyMap()
44 EXPECT_TRUE(testMap.find(testKey) == testMap.end()); in assertEmptyMap()
45 EXPECT_TRUE(testMap.find(StringRef(testKeyFirst, testKeyLength)) == in assertEmptyMap()
46 testMap.end()); in assertEmptyMap()
[all …]
/external/libcxx/test/std/containers/associative/
Diterator_types.pass.cpp20 void testMap() { in testMap() function
58 testMap<Map, ValueTp, ValueTp*, ValueTp const*>(); in main()
64 testMap<Map, ValueTp, ValueTp*, ValueTp const*>(); in main()
71 testMap<Map, ValueTp, min_pointer<ValueTp>, min_pointer<const ValueTp>>(); in main()
77 testMap<Map, ValueTp, ValueTp*, ValueTp const*>(); in main()
83 testMap<Map, ValueTp, ValueTp*, ValueTp const*>(); in main()
90 testMap<Map, ValueTp, min_pointer<ValueTp>, min_pointer<const ValueTp>>(); in main()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTrieMapTest.java167 …public long timeIteration(Map<String, Integer> testMap, long comparisonTime, Style style, double r… in timeIteration() argument
168 TrieMap<Integer> trieMap = TrieMap.BytesBuilder.with(style, Option.SMALL, testMap).build(); in timeIteration()
169 TreeMap<String,Integer> expected = new TreeMap<String, Integer>(testMap); in timeIteration()
174 …= comparisonTime == 0 ? new TreeMap<String, Integer>(testMap) : new HashMap<String, Integer>(testM… in timeIteration()
188 …logln("\titeration time\tTREEMAP\tn/a\t" + t.toString(testMap.size()) + "\t\titerations=" + t.getI… in timeIteration()
190 …logln("\titeration time\tHASHMAP\tn/a\t" + t.toString(testMap.size(), comparisonTime) + "\titerati… in timeIteration()
205 …logln("\titeration time\t" + style + "\tn/a\t" + t.toString(testMap.size(), comparisonTime) + "\ti… in timeIteration()
220 public void checkContents(Map<String, Integer> testMap, Style style) { in checkContents() argument
221 if (testMap.size() == 0) { in checkContents()
224 TrieMap<Integer> trieMap = TrieMap.BytesBuilder.with(style, Option.SMALL, testMap).build(); in checkContents()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieMapTest.java164 …public long timeIteration(Map<String, Integer> testMap, long comparisonTime, Style style, double r… in timeIteration() argument
165 TrieMap<Integer> trieMap = TrieMap.BytesBuilder.with(style, Option.SMALL, testMap).build(); in timeIteration()
166 TreeMap<String,Integer> expected = new TreeMap<String, Integer>(testMap); in timeIteration()
171 …= comparisonTime == 0 ? new TreeMap<String, Integer>(testMap) : new HashMap<String, Integer>(testM… in timeIteration()
185 …logln("\titeration time\tTREEMAP\tn/a\t" + t.toString(testMap.size()) + "\t\titerations=" + t.getI… in timeIteration()
187 …logln("\titeration time\tHASHMAP\tn/a\t" + t.toString(testMap.size(), comparisonTime) + "\titerati… in timeIteration()
202 …logln("\titeration time\t" + style + "\tn/a\t" + t.toString(testMap.size(), comparisonTime) + "\ti… in timeIteration()
217 public void checkContents(Map<String, Integer> testMap, Style style) { in checkContents() argument
218 if (testMap.size() == 0) { in checkContents()
221 TrieMap<Integer> trieMap = TrieMap.BytesBuilder.with(style, Option.SMALL, testMap).build(); in checkContents()
[all …]
/external/scudo/standalone/tests/
Dbytemap_test.cpp16 template <typename T> void testMap(T &Map, scudo::uptr Size) { in testMap() function
31 testMap(Map, Size); in TEST()
/external/guava/guava-gwt/test/com/google/common/collect/
DCollectSpliteratorsTest_gwt.java26 public void testMap() throws Exception { in testMap() method in CollectSpliteratorsTest_gwt
28 testCase.testMap(); in testMap()
/external/guava/guava-gwt/test/com/google/common/base/
DJoinerTest_gwt.java26 public void testMap() throws Exception { in testMap() method in JoinerTest_gwt
28 testCase.testMap(); in testMap()
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java4161 TestMap testMap = new TestMap(); in testMapMergeEmptyEntry() local
4174 testMap.mergeFrom(input); in testMapMergeEmptyEntry()
4175 assertNotNull(testMap.int32ToInt32Field);; in testMapMergeEmptyEntry()
4176 assertEquals(1, testMap.int32ToInt32Field.size()); in testMapMergeEmptyEntry()
4177 assertEquals(Integer.valueOf(0), testMap.int32ToInt32Field.get(0)); in testMapMergeEmptyEntry()
4178 assertNotNull(testMap.int32ToMessageField); in testMapMergeEmptyEntry()
4179 assertEquals(1, testMap.int32ToMessageField.size()); in testMapMergeEmptyEntry()
4180 TestMap.MessageValue messageValue = testMap.int32ToMessageField.get(0); in testMapMergeEmptyEntry()
4356 private void setMapMessage(TestMap testMap) { in setMapMessage() argument
4357 testMap.int32ToInt32Field = new HashMap<Integer, Integer>(); in setMapMessage()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue143/
DGenericMapTest.java25 public void testMap() throws Exception { in testMap() method in GenericMapTest
/external/snakeyaml/src/test/java/examples/
DCustomMapExampleTest.java27 public void testMap() { in testMap() method in CustomMapExampleTest
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DMapTest.kt13 fun testMap() = runTest { in <lambda>() method
DMapNotNullTest.kt13 fun testMap() = runTest { in <lambda>() method in kotlinx.coroutines.flow.MapNotNullTest
/external/boringssl/src/crypto/cipher_extra/test/nist_cavp/
Dmake_cavp.go210 var testMap = map[string]Test{ var
277 test, ok := testMap[*cipher]
/external/guava/guava-tests/test/com/google/common/collect/
DCollectSpliteratorsTest.java30 public void testMap() { in testMap() method in CollectSpliteratorsTest
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DMapTagTest.java28 public void testMap() { in testMap() method in MapTagTest
/external/clang/test/Analysis/inlining/
Dfalse-positive-suppression.cpp70 void testMap(Map &m, int i) { in testMap() function
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dreplicate_cluster_test.py74 def testMap(self): member in ReplicateClusterTest
Dreplicate_test.py251 def testMap(self): member in RemoteReplicateTest
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dmemory_cleanup_test.py174 def testMap(self, num_parallel_calls): member in MemoryCleanupTest
/external/tensorflow/tensorflow/compiler/tests/
Dwhile_test.py230 def testMap(self): member in WhileTest
/external/guava/guava-tests/test/com/google/common/base/
DJoinerTest.java241 public void testMap() { in testMap() method in JoinerTest
/external/guava/android/guava-tests/test/com/google/common/base/
DJoinerTest.java241 public void testMap() { in testMap() method in JoinerTest
/external/tensorflow/tensorflow/python/grappler/
Ddatasets_test.py367 def testMap(self): member in GrapplerTest
/external/guava/guava-testlib/test/com/google/common/testing/
DFreshValueGeneratorTest.java337 public void testMap() { in testMap() method in FreshValueGeneratorTest

12