OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hashSet
(Results
1 - 21
of
21
) sorted by null
/external/deqp/framework/delibs/depool/
dePoolHashSet.h
48
*
HashSet
* HashSet_create (deMemPool* pool);
49
* int HashSet_getNumElements (const
HashSet
*
hashSet
);
50
* Set<Value>* HashSet_find (const
HashSet
*
hashSet
, Key key); TODO: better API
51
* Hash<Set*>* HashSet_getHash (const
HashSet
*
hashSet
); TODO: better API
52
* deBool HashSet_insert (
HashSet
*
hashSet
, Key key, Value value);
53
* void HashSet_delete (
HashSet
* hashSet, Key key, Value value)
[
all
...]
dePoolHashSet.c
34
deTestHashSet*
hashSet
= deTestHashSet_create(pool);
38
DE_TEST_ASSERT(deTestHashSet_getNumElements(
hashSet
) == 0);
43
deTestHashSet_insert(
hashSet
, (deInt16)i, 2*j + 5);
45
DE_TEST_ASSERT(deTestHashSet_getNumElements(
hashSet
) == 19);
52
deTestHashSet_delete(
hashSet
, (deInt16)i, 2*j + 5);
54
DE_TEST_ASSERT(deTestHashSet_getNumElements(
hashSet
) == 19);
58
DE_TEST_ASSERT(deTestHash_getNumElements(
hashSet
) == 0);
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
StreamFlagsTest.java
45
Stream<String>
hashSet
= new
HashSet
<String>().stream();
50
Stream<?>[] streams = { arrayList, linkedList,
hashSet
, treeSet, linkedHashSet, repeat };
62
Stream<String>
hashSet
= new
HashSet
<String>().stream();
73
assertFlags(OpTestCase.getStreamFlags(
hashSet
),
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
HashSetTest.java
24
import java.util.
HashSet
;
41
HashSet
hs;
46
* java.util.
HashSet
#
HashSet
()
49
// Test for method java.util.
HashSet
()
50
HashSet
hs2 = new
HashSet
();
51
assertEquals("Created incorrect
HashSet
", 0, hs2.size());
55
* java.util.
HashSet
#
HashSet
(int
[
all
...]
LinkedHashSetTest.java
24
import java.util.
HashSet
;
335
LinkedHashSet<String>
hashSet
= new LinkedHashSet<>();
338
hashSet
.addAll(keys);
341
SpliteratorTester.runBasicIterationTests_unordered(
hashSet
.spliterator(), expectedKeys,
343
SpliteratorTester.runBasicSplitTests(
hashSet
, expectedKeys);
344
SpliteratorTester.testSpliteratorNPE(
hashSet
.spliterator());
346
assertTrue(
hashSet
.spliterator().hasCharacteristics(Spliterator.ORDERED));
349
assertTrue(
hashSet
.spliterator().hasCharacteristics(Spliterator.DISTINCT));
/external/mockito/src/org/mockito/internal/util/collections/
HashCodeAndEqualsSafeSet.java
11
import java.util.
HashSet
;
34
private
HashSet
<HashCodeAndEqualsMockWrapper> backingHashSet = new
HashSet
<HashCodeAndEqualsMockWrapper>();
131
private
HashSet
<HashCodeAndEqualsMockWrapper> asWrappedMocks(Collection<?> mocks) {
133
HashSet
<HashCodeAndEqualsMockWrapper>
hashSet
= new
HashSet
<HashCodeAndEqualsMockWrapper>();
136
hashSet
.add(HashCodeAndEqualsMockWrapper.of(mock));
138
return
hashSet
;
/cts/tests/tests/util/src/android/util/cts/
ArraySetTest.java
25
import java.util.
HashSet
;
126
private static <E> void compareSets(
HashSet
<E> set, ArraySet<E> array) {
129
// Check that every entry in
HashSet
is in ArraySet.
134
// Check that every entry in ArraySet is in
HashSet
using ArraySet.iterator().
140
// Check that every entry in ArraySet is in
HashSet
using ArraySet.valueAt().
151
assertTrue("
HashSet
.equals(ArraySet) failed", set.equals(array));
152
assertTrue("ArraySet.equals(
HashSet
) failed", array.equals(set));
154
assertTrue("
HashSet
.containsAll(ArraySet) failed", set.containsAll(array));
155
assertTrue("ArraySet.containsAll(
HashSet
) failed", array.containsAll(set));
182
private static <E> void dump(
HashSet
<E> set, ArraySet<E> array)
[
all
...]
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
ArrayMapTests.java
25
import java.util.
HashSet
;
211
private static boolean compareSets(
HashSet
set, ArraySet array) {
313
Log.e("test", "
HashSet
of " + set.size() + " entries:");
338
HashSet
<ControlledHash>
hashSet
= new
HashSet
<ControlledHash>();
352
hashChanged =
hashSet
.add(key);
359
hashChanged =
hashSet
.remove(key);
373
dump(
hashSet
, arraySet);
384
if (!compareSets(
hashSet
, arraySet))
[
all
...]
/libcore/ojluni/src/main/java/java/security/cert/
PKIXParameters.java
35
import java.util.
HashSet
;
147
Set<TrustAnchor>
hashSet
= new
HashSet
<TrustAnchor>();
154
hashSet
.add(new TrustAnchor((X509Certificate)cert, null));
157
setTrustAnchors(
hashSet
);
210
(new
HashSet
<TrustAnchor>(trustAnchors));
259
Collections.unmodifiableSet(new
HashSet
<String>(initialPolicies));
/external/guice/core/test/com/google/inject/spi/
InjectionPointTest.java
42
import java.util.
HashSet
;
142
Constructor<
HashSet
> constructor =
HashSet
.class.getConstructor();
143
TypeLiteral<
HashSet
<String>>
hashSet
= new TypeLiteral<
HashSet
<String>>() {};
145
InjectionPoint injectionPoint = InjectionPoint.forConstructor(constructor,
hashSet
);
154
" does not define java.util.
HashSet
.<init>()",
162
" does not define java.util.
HashSet
.<init>()",
302
Set<String> methods = new
HashSet
<String>()
[
all
...]
/prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-stdlib/0.12.613/
kotlin-stdlib-0.12.613.jar
/prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-stdlib/0.13.1513/
kotlin-stdlib-0.13.1513.jar
/prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-stdlib/0.13.1514/
kotlin-stdlib-0.13.1514.jar
/external/robolectric/v1/lib/main/
h2-1.2.147.jar
/prebuilts/tools/common/m2/repository/com/android/tools/external/com-intellij/psi-subset/143.1821.5/
psi-subset-143.1821.5.jar
/external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar
/prebuilts/gradle-plugin/com/android/tools/external/com-intellij/uast/145.597.3/
uast-145.597.3.jar
/prebuilts/tools/common/m2/repository/com/android/tools/external/com-intellij/uast/145.597.3/
uast-145.597.3.jar
/prebuilts/tools/common/m2/repository/org/mockito/mockito-all/1.9.5/
mockito-all-1.9.5.jar
/prebuilts/tools/common/m2/repository/org/mockito/mockito-core/1.9.5/
mockito-core-1.9.5.jar
/prebuilts/tools/common/offline-m2/com/android/tools/external/com-intellij/uast/145.597.3/
uast-145.597.3.jar
Completed in 540 milliseconds