/third_party/protobuf/src/google/protobuf/stubs/ |
D | 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); 82 template <class Collection> 83 typename Collection::value_type::second_type& 84 FindOrDie(Collection& collection, // NOLINT 85 const typename Collection::value_type::first_type& key) { 86 typename Collection::iterator it = collection.find(key); [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | callbacksDontShareTypes.types | 2 interface Collection<T> { 15 map<T, U>(c: Collection<T>, f: (x: T) => U): Collection<U>; 16 >map : { <T, U>(c: Collection<T>, f: (x: T) => U): Collection<U>; <T>(c: Collection<T>, f: (x: T) =… 17 >c : Collection<T> 21 map<T>(c: Collection<T>, f: (x: T) => any): Collection<any>; 22 >map : { <T, U>(c: Collection<T>, f: (x: T) => U): Collection<U>; <T>(c: Collection<T>, f: (x: T) =… 23 >c : Collection<T> 31 var c2: Collection<number>; 32 >c2 : Collection<number> 44 >r1a : Collection<string> [all …]
|
D | tooFewArgumentsInGenericFunctionTypedArgument.types | 2 interface Collection<T, U> { 17 map<T, U, V>(c: Collection<T,U>, f: (x: T, y: U) => V): Collection<T, V>; 18 …{ <T, U, V>(c: Collection<T, U>, f: (x: T, y: U) => V): Collection<T, V>; <T, U>(c: Collection<T, … 19 >c : Collection<T, U> 24 map<T, U>(c: Collection<T,U>, f: (x: T, y: U) => any): Collection<any, any>; 25 …{ <T, U, V>(c: Collection<T, U>, f: (x: T, y: U) => V): Collection<T, V>; <T, U>(c: Collection<T, … 26 >c : Collection<T, U> 31 var c2: Collection<number, string>; 32 >c2 : Collection<number, string> 38 >r1a : Collection<number, string> [all …]
|
D | genericFunctionsWithOptionalParameters3.types | 2 class Collection<T> { 3 >Collection : Collection<T> 10 fold<T, S>(c?: Collection<T>, folder?: (s: S, t: T) => T, init?: S): T; 11 >fold : <T, S>(c?: Collection<T>, folder?: (s: S, t: T) => T, init?: S) => T 12 >c : Collection<T> 18 mapReduce<T, U, V>(c: Collection<T>, mapper: (x: T) => U, reducer: (y: U) => V): Collection<V>; 19 >mapReduce : <T, U, V>(c: Collection<T>, mapper: (x: T) => U, reducer: (y: U) => V) => Collection<V> 20 >c : Collection<T> 29 var c = new Collection<string>(); 30 >c : Collection<string> [all …]
|
D | genericCombinators2.types | 2 interface Collection<T, U> { 18 map<T, U>(c: Collection<T, U>, f: (x: T, y: U) => any): Collection<any, any>; 19 …{ <T, U>(c: Collection<T, U>, f: (x: T, y: U) => any): Collection<any, any>; <T, U, V>(c: Collecti… 20 >c : Collection<T, U> 25 map<T, U, V>(c: Collection<T, U>, f: (x: T, y: U) => V): Collection<T, V>; 26 …{ <T, U>(c: Collection<T, U>, f: (x: T, y: U) => any): Collection<any, any>; <T, U, V>(c: Collecti… 27 >c : Collection<T, U> 36 var c2: Collection<number, string>; 37 >c2 : Collection<number, string> 50 >r5a : Collection<any, any> [all …]
|
D | typeofStripsFreshness.types | 2 interface Collection<T> { 7 new <T>(): Collection<T>; 9 declare const Collection: CollectionStatic; 10 >Collection : CollectionStatic 20 const result: Collection<All> = new Collection(); 21 >result : Collection<"all"> 22 >new Collection() : Collection<"all"> 23 >Collection : CollectionStatic 36 const result2: Collection<Both> = new Collection(); 37 >result2 : Collection<Both> [all …]
|
D | typeofStripsFreshness.symbols | 2 interface Collection<T> { 3 >Collection : Symbol(Collection, Decl(typeofStripsFreshness.ts, 0, 0), Decl(typeofStripsFreshness.t… 7 >elems : Symbol(Collection.elems, Decl(typeofStripsFreshness.ts, 0, 25)) 13 new <T>(): Collection<T>; 15 >Collection : Symbol(Collection, Decl(typeofStripsFreshness.ts, 0, 0), Decl(typeofStripsFreshness.t… 18 declare const Collection: CollectionStatic; 19 >Collection : Symbol(Collection, Decl(typeofStripsFreshness.ts, 0, 0), Decl(typeofStripsFreshness.t… 29 const result: Collection<All> = new Collection(); 31 >Collection : Symbol(Collection, Decl(typeofStripsFreshness.ts, 0, 0), Decl(typeofStripsFreshness.t… 33 >Collection : Symbol(Collection, Decl(typeofStripsFreshness.ts, 0, 0), Decl(typeofStripsFreshness.t… [all …]
|
D | typeofStripsFreshness.js | 2 interface Collection<T> { 6 new <T>(): Collection<T>; 8 declare const Collection: CollectionStatic; 13 const result: Collection<All> = new Collection(); 20 const result2: Collection<Both> = new Collection(); 25 var result = new Collection(); 27 var result2 = new Collection();
|
D | genericFunctionsWithOptionalParameters3.js | 2 class Collection<T> { class 6 fold<T, S>(c?: Collection<T>, folder?: (s: S, t: T) => T, init?: S): T; 7 mapReduce<T, U, V>(c: Collection<T>, mapper: (x: T) => U, reducer: (y: U) => V): Collection<V>; 10 var c = new Collection<string>(); 19 var Collection = /** @class */ (function () { 20 function Collection() { class in Collection 22 Collection.prototype.add = function (x) { }; 23 return Collection; 26 var c = new Collection();
|
D | comparisonOfPartialDeepAndIndexedAccessTerminatesWithoutError.symbols | 17 interface Collection<T> { 18 >Collection : Symbol(Collection, Decl(comparisonOfPartialDeepAndIndexedAccessTerminatesWithoutError… 21 sortBy(...iteratees: Many<PartialDeep<T>>[]): Collection<T>; 22 >sortBy : Symbol(Collection.sortBy, Decl(comparisonOfPartialDeepAndIndexedAccessTerminatesWithoutEr… 27 >Collection : Symbol(Collection, Decl(comparisonOfPartialDeepAndIndexedAccessTerminatesWithoutError… 31 const x: Collection<{x: number}> = (null as any as Collection<{x: number, y: number}>); 33 >Collection : Symbol(Collection, Decl(comparisonOfPartialDeepAndIndexedAccessTerminatesWithoutError… 35 >Collection : Symbol(Collection, Decl(comparisonOfPartialDeepAndIndexedAccessTerminatesWithoutError…
|
D | comparisonOfPartialDeepAndIndexedAccessTerminatesWithoutError.types | 8 interface Collection<T> { 9 sortBy(...iteratees: Many<PartialDeep<T>>[]): Collection<T>; 10 >sortBy : (...iteratees: Many<PartialDeep<T>>[]) => Collection<T> 14 const x: Collection<{x: number}> = (null as any as Collection<{x: number, y: number}>); 15 >x : Collection<{ x: number; }> 17 >(null as any as Collection<{x: number, y: number}>) : Collection<{ x: number; y: number; }> 18 >null as any as Collection<{x: number, y: number}> : Collection<{ x: number; y: number; }>
|
D | complexRecursiveCollections.js | 5 interface Collection<K, V> { 6 map<M>(mapper: (value: V, key: K, iter: this) => M): Collection<K, M>; 7 flatMap<M>(mapper: (value: V, key: K, iter: this) => Ara<M>, context?: any): Collection<K, M>; 13 interface Seq<K, V> extends Collection<K, V> { 15 interface N1<T> extends Collection<void, T> { 29 …Value: any, reviver?: (key: string | number, sequence: Collection.Keyed<string, any> | Collection.… 32 export function isImmutable(maybeImmutable: any): maybeImmutable is Collection<any, any>; 33 export function isCollection(maybeCollection: any): maybeCollection is Collection<any, any>; 34 export function isKeyed(maybeKeyed: any): maybeKeyed is Collection.Keyed<any, any>; 35 export function isIndexed(maybeIndexed: any): maybeIndexed is Collection.Indexed<any>; [all …]
|
D | callbacksDontShareTypes.symbols | 2 interface Collection<T> { 3 >Collection : Symbol(Collection, Decl(callbacksDontShareTypes.ts, 0, 0)) 7 >length : Symbol(Collection.length, Decl(callbacksDontShareTypes.ts, 0, 25)) 10 >add : Symbol(Collection.add, Decl(callbacksDontShareTypes.ts, 1, 19)) 15 >remove : Symbol(Collection.remove, Decl(callbacksDontShareTypes.ts, 2, 20)) 22 map<T, U>(c: Collection<T>, f: (x: T) => U): Collection<U>; 27 >Collection : Symbol(Collection, Decl(callbacksDontShareTypes.ts, 0, 0)) 33 >Collection : Symbol(Collection, Decl(callbacksDontShareTypes.ts, 0, 0)) 36 map<T>(c: Collection<T>, f: (x: T) => any): Collection<any>; 40 >Collection : Symbol(Collection, Decl(callbacksDontShareTypes.ts, 0, 0)) [all …]
|
D | tooFewArgumentsInGenericFunctionTypedArgument.symbols | 2 interface Collection<T, U> { 3 >Collection : Symbol(Collection, Decl(tooFewArgumentsInGenericFunctionTypedArgument.ts, 0, 0)) 8 >length : Symbol(Collection.length, Decl(tooFewArgumentsInGenericFunctionTypedArgument.ts, 0, 28)) 11 >add : Symbol(Collection.add, Decl(tooFewArgumentsInGenericFunctionTypedArgument.ts, 1, 19)) 18 >remove : Symbol(Collection.remove, Decl(tooFewArgumentsInGenericFunctionTypedArgument.ts, 2, 26)) 27 map<T, U, V>(c: Collection<T,U>, f: (x: T, y: U) => V): Collection<T, V>; 33 >Collection : Symbol(Collection, Decl(tooFewArgumentsInGenericFunctionTypedArgument.ts, 0, 0)) 42 >Collection : Symbol(Collection, Decl(tooFewArgumentsInGenericFunctionTypedArgument.ts, 0, 0)) 46 map<T, U>(c: Collection<T,U>, f: (x: T, y: U) => any): Collection<any, any>; 51 >Collection : Symbol(Collection, Decl(tooFewArgumentsInGenericFunctionTypedArgument.ts, 0, 0)) [all …]
|
D | contextualTypingOfGenericFunctionTypedArguments1.types | 2 interface Collection<T> { 16 forEach<T>(c: Collection<T>, f: (x: T) => Date): void; 17 >forEach : <T>(c: Collection<T>, f: (x: T) => Date) => void 18 >c : Collection<T> 23 var c2: Collection<number>; 24 >c2 : Collection<number> 42 >_.forEach : <T>(c: Collection<T>, f: (x: T) => Date) => void 44 >forEach : <T>(c: Collection<T>, f: (x: T) => Date) => void 45 >c2 : Collection<number> 51 >_.forEach : <T>(c: Collection<T>, f: (x: T) => Date) => void [all …]
|
D | genericCombinators2.symbols | 2 interface Collection<T, U> { 3 >Collection : Symbol(Collection, Decl(genericCombinators2.ts, 0, 0)) 8 >length : Symbol(Collection.length, Decl(genericCombinators2.ts, 0, 28)) 11 >add : Symbol(Collection.add, Decl(genericCombinators2.ts, 1, 19)) 18 >remove : Symbol(Collection.remove, Decl(genericCombinators2.ts, 2, 26)) 28 map<T, U>(c: Collection<T, U>, f: (x: T, y: U) => any): Collection<any, any>; 33 >Collection : Symbol(Collection, Decl(genericCombinators2.ts, 0, 0)) 41 >Collection : Symbol(Collection, Decl(genericCombinators2.ts, 0, 0)) 43 map<T, U, V>(c: Collection<T, U>, f: (x: T, y: U) => V): Collection<T, V>; 49 >Collection : Symbol(Collection, Decl(genericCombinators2.ts, 0, 0)) [all …]
|
D | genericWithIndexerOfTypeParameterType2.js | 2 export class Collection<TItem extends CollectionItem> { class 6 export class List extends Collection<ListItem>{ 36 exports.ListItem = exports.CollectionItem = exports.List = exports.Collection = void 0; 37 var Collection = /** @class */ (function () { class 38 function Collection() { class in anonymousFunction052cb7ee0600.Collection 40 return Collection; 42 exports.Collection = Collection; 50 }(Collection));
|
D | complexRecursiveCollections.types | 5 interface Collection<K, V> { 6 map<M>(mapper: (value: V, key: K, iter: this) => M): Collection<K, M>; 7 >map : <M>(mapper: (value: V, key: K, iter: this) => M) => Collection<K, M> 13 flatMap<M>(mapper: (value: V, key: K, iter: this) => Ara<M>, context?: any): Collection<K, M>; 14 >flatMap : <M>(mapper: (value: V, key: K, iter: this) => Ara<M>, context?: any) => Collection<K, M> 43 interface Seq<K, V> extends Collection<K, V> { 45 interface N1<T> extends Collection<void, T> { 87 …Value: any, reviver?: (key: string | number, sequence: Collection.Keyed<string, any> | Collection.… 88 …Value: any, reviver?: (key: string | number, sequence: Collection.Keyed<string, any> | Collection.… 90 >reviver : (key: string | number, sequence: Collection.Keyed<string, any> | Collection.Indexed<any>… [all …]
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | FieldType.java | 42 DOUBLE(0, Collection.SCALAR, JavaType.DOUBLE), 43 FLOAT(1, Collection.SCALAR, JavaType.FLOAT), 44 INT64(2, Collection.SCALAR, JavaType.LONG), 45 UINT64(3, Collection.SCALAR, JavaType.LONG), 46 INT32(4, Collection.SCALAR, JavaType.INT), 47 FIXED64(5, Collection.SCALAR, JavaType.LONG), 48 FIXED32(6, Collection.SCALAR, JavaType.INT), 49 BOOL(7, Collection.SCALAR, JavaType.BOOLEAN), 50 STRING(8, Collection.SCALAR, JavaType.STRING), 51 MESSAGE(9, Collection.SCALAR, JavaType.MESSAGE), [all …]
|
/third_party/boost/boost/geometry/algorithms/detail/equals/ |
D | collect_vectors.hpp | 322 template <typename Range, typename Collection> 325 typedef typename boost::range_value<Collection>::type item_type; 328 static inline void apply(Collection& collection, Range const& range) in apply() 340 static inline void apply_impl(Collection& collection, NormalizedRange const& range) in apply_impl() 347 typedef typename boost::range_size<Collection>::type collection_size_t; in apply_impl() 359 typename boost::range_value<Collection>::type v(*prev, *it); in apply_impl() 379 typedef typename boost::range_iterator<Collection>::type c_iterator; in apply_impl() 395 template <typename Box, typename Collection, typename CSTag = typename cs_tag<Box>::type> 400 typedef typename boost::range_value<Collection>::type item_type; 403 static inline void apply(Collection& collection, Box const& box) in apply() [all …]
|
/third_party/boost/boost/geometry/algorithms/ |
D | difference.hpp | 279 typename Collection, 284 Collection & output_collection, in apply() 289 Collection in apply() 302 typename Collection 306 Collection & output_collection, in apply() 328 template <typename Collection, typename Strategy> 331 Collection& output_collection, in apply() 344 template <typename Collection, typename Strategy> 348 Collection& m_output_collection; 352 Collection& output_collection, in visitor() [all …]
|
D | union.hpp | 386 typename Collection, 391 Collection & output_collection, in apply() 396 Collection in apply() 422 typename Collection 426 Collection & output_collection, in apply() 448 template <typename Collection, typename Strategy> 451 Collection& output_collection, in apply() 461 Collection in apply() 475 template <typename Collection, typename Strategy> 479 Collection& m_output_collection; [all …]
|
D | sym_difference.hpp | 520 typename Collection, 525 Collection & output_collection, in apply() 530 Collection in apply() 543 typename Collection 547 Collection & output_collection, in apply() 568 template <typename Collection, typename Strategy> 571 Collection& output_collection, in apply() 584 template <typename Collection, typename Strategy> 588 Collection& m_output_collection; 592 Collection& output_collection, in visitor() [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | complexRecursiveCollections.ts | 5 interface Collection<K, V> { interface 6 map<M>(mapper: (value: V, key: K, iter: this) => M): Collection<K, M>; 7 flatMap<M>(mapper: (value: V, key: K, iter: this) => Ara<M>, context?: any): Collection<K, M>; 13 interface Seq<K, V> extends Collection<K, V> { 15 interface N1<T> extends Collection<void, T> { 29 …Value: any, reviver?: (key: string | number, sequence: Collection.Keyed<string, any> | Collection.… 32 export function isImmutable(maybeImmutable: any): maybeImmutable is Collection<any, any>; 33 export function isCollection(maybeCollection: any): maybeCollection is Collection<any, any>; 34 export function isKeyed(maybeKeyed: any): maybeKeyed is Collection.Keyed<any, any>; 35 export function isIndexed(maybeIndexed: any): maybeIndexed is Collection.Indexed<any>; [all …]
|
D | typeofStripsFreshness.ts | 1 interface Collection<T> { interface 5 new <T>(): Collection<T>; 7 declare const Collection: CollectionStatic; constant 12 const result: Collection<All> = new Collection(); 19 const result2: Collection<Both> = new Collection();
|