/prebuilts/go/darwin-x86/test/fixedbugs/issue4879.dir/ |
a.go | 7 type Collection struct { 17 func MakePrivateCollection() *Collection { 18 return &Collection{ 23 func MakePrivateCollection2() *Collection { 24 return &Collection{ 28 func MakePrivateCollection3() *Collection { 29 return &Collection{
|
/prebuilts/go/linux-x86/test/fixedbugs/issue4879.dir/ |
a.go | 7 type Collection struct { 17 func MakePrivateCollection() *Collection { 18 return &Collection{ 23 func MakePrivateCollection2() *Collection { 24 return &Collection{ 28 func MakePrivateCollection3() *Collection { 29 return &Collection{
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
ArrayUtilsTest.java | 40 ArrayList<Object> collection = null; local 41 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); 43 collection = new ArrayList<>(); 44 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); 46 collection = new ArrayList<>(Collections.singletonList(a)); 47 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); 48 assertEquals(1, collection.size()); 49 assertTrue(collection.contains(a)); 51 collection = new ArrayList<>(Collections.singletonList(null)); 52 assertEquals(1, ArrayUtils.unstableRemoveIf(collection, isNull)) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
X509CollectionStoreParameters.java | 4 import java.util.Collection; 7 * This class contains a collection for collection based <code>X509Store</code>s. 15 private Collection collection; field in class:X509CollectionStoreParameters 20 * The collection is copied. 23 * @param collection 24 * The collection containing X.509 object types. 25 * @throws NullPointerException if <code>collection</code> is <code>null</code>. 27 public X509CollectionStoreParameters(Collection collection [all...] |
X509StoreSpi.java | 5 import java.util.Collection; 11 public abstract Collection engineGetMatches(Selector selector);
|
/external/libxml2/result/ |
cdata2 | 2 <collection> 6 </collection>
|
/external/libxml2/result/noent/ |
cdata2 | 2 <collection> 6 </collection>
|
/external/libxml2/test/ |
cdata2 | 2 <collection> 6 </collection>
|
/external/snakeyaml/src/test/resources/pyyaml/ |
spec-07-12a.data | 2 # collection (mapping) node.
|
spec-08-14.data | 4 - !!map # Block collection
|
spec-09-12.data | 1 # Outside flow collection: 5 # Inside flow collection:
|
spec-10-07.data | 6 [ collection, simple, key ]: value
|
/external/v8/tools/clang/blink_gc_plugin/ |
README.chromium | 2 collection infrastructure.
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
CollectionImplementation.java | 10 import java.util.Collection; 12 /** Allows tests to work with different Collection implementations. */ 14 /** Returns the Collection class. */ 16 /** Returns an empty collection. */ 17 public Collection emptyCollection();
|
/prebuilts/misc/common/robolectric/lib/ |
hamcrest-library-1.3-sources.jar | |
/prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-library/1.3/ |
hamcrest-library-1.3-sources.jar | |
/external/protobuf/src/google/protobuf/stubs/ |
map_util.h | 72 template <class Collection> 73 const typename Collection::value_type::second_type& 74 FindOrDie(const Collection& collection, 75 const typename Collection::value_type::first_type& key) { 76 typename Collection::const_iterator it = collection.find(key); 77 GOOGLE_CHECK(it != collection.end()) << "Map key not found: " << key; 82 template <class Collection> 83 typename Collection::value_type::second_type [all...] |
/external/pdfium/third_party/base/ |
stl_util.h | 17 // Returns true if the key is in the collection. 18 template <typename Collection, typename Key> 19 bool ContainsKey(const Collection& collection, const Key& key) { 20 return collection.find(key) != collection.end(); 23 // Test to see if a collection like a vector contains a particular value. 24 // Returns true if the value is in the collection. 25 template <typename Collection, typename Value> 26 bool ContainsValue(const Collection& collection, const Value& value) [all...] |
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/ |
IsEmptyCollectionTest.java | 1 package org.hamcrest.collection; 7 import java.util.Collection; 10 import static org.hamcrest.collection.IsEmptyCollection.empty; 16 protected Matcher<Collection<?>> createMatcher() { 21 assertMatches("empty collection", createMatcher(), emptyCollection()); 29 assertDescription("an empty collection", createMatcher()); 36 private void needs(@SuppressWarnings("unused") Matcher<Collection<String>> bar) { } 38 private static Collection<String> collectionOfValues() { 42 private static Collection<Integer> emptyCollection() {
|
/external/libtextclassifier/util/gtl/ |
map_util.h | 31 template <class Collection> 32 const typename Collection::value_type::second_type& FindWithDefault( 33 const Collection& collection, 34 const typename Collection::value_type::first_type& key, 35 const typename Collection::value_type::second_type& value) { 36 typename Collection::const_iterator it = collection.find(key); 37 if (it == collection.end()) { 43 // Inserts the given key and value into the given collection if and only if th [all...] |
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/ |
IsCollectionWithSize.java | 1 package org.hamcrest.collection; 6 import java.util.Collection; 11 * Matches if collection size satisfies a nested matcher. 13 public class IsCollectionWithSize<E> extends FeatureMatcher<Collection<? extends E>, Integer> { 15 super(sizeMatcher, "a collection with size", "collection size"); 19 protected Integer featureValueOf(Collection<? extends E> actual) { 24 * Creates a matcher for {@link java.util.Collection}s that matches when the <code>size()</code> method returns 30 * a matcher for the size of an examined {@link java.util.Collection} 32 public static <E> Matcher<Collection<? extends E>> hasSize(Matcher<? super Integer> sizeMatcher) [all...] |
IsIn.java | 1 package org.hamcrest.collection; 8 import java.util.Collection; 11 private final Collection<T> collection; field in class:IsIn 13 public IsIn(Collection<T> collection) { 14 this.collection = collection; 18 collection = Arrays.asList(elements); 24 return collection.contains(o) [all...] |
/external/snakeyaml/src/test/resources/template/ |
etalon2-template.yaml | 6 #collection are at the end 9 #empty collection is not emitted
|
/device/google/muskie/ |
init.logging.userdebug.rc | 2 # SM DUMP logging collection
|
/external/llvm/test/YAMLParser/ |
spec-07-12a.test | 4 # collection (mapping) node.
|