Home
last modified time | relevance | path

Searched refs:Collector (Results 1 – 25 of 164) sorted by relevance

1234567

/external/guava/guava/src/com/google/common/collect/
DCollectCollectors.java25 import java.util.stream.Collector;
30 static <T, K, V> Collector<T, ?, ImmutableBiMap<K, V>> toImmutableBiMap( in toImmutableBiMap()
35 return Collector.of( in toImmutableBiMap()
40 new Collector.Characteristics[0]); in toImmutableBiMap()
43 private static final Collector<Object, ?, ImmutableList<Object>> TO_IMMUTABLE_LIST =
44 Collector.of(
50 static <E> Collector<E, ?, ImmutableList<E>> toImmutableList() { in toImmutableList()
51 return (Collector) TO_IMMUTABLE_LIST; in toImmutableList()
54 static <T, K, V> Collector<T, ?, ImmutableMap<K, V>> toImmutableMap( in toImmutableMap()
59 return Collector.of( in toImmutableMap()
[all …]
DMoreCollectors.java26 import java.util.stream.Collector;
43 private static final Collector<Object, ?, Optional<Object>> TO_OPTIONAL =
44 Collector.of(
49 Collector.Characteristics.UNORDERED);
58 public static <T> Collector<T, ?, Optional<T>> toOptional() { in toOptional()
59 return (Collector) TO_OPTIONAL; in toOptional()
64 private static final Collector<Object, ?, Object> ONLY_ELEMENT =
65 Collector.of(
73 Collector.Characteristics.UNORDERED);
81 public static <T> Collector<T, ?, T> onlyElement() { in onlyElement()
[all …]
DImmutableBiMapFauxverideShim.java22 import java.util.stream.Collector;
42 public static <T, K, V> Collector<T, ?, ImmutableMap<K, V>> toImmutableMap( in toImmutableMap()
57 public static <T, K, V> Collector<T, ?, ImmutableMap<K, V>> toImmutableMap( in toImmutableMap()
DComparators.java28 import java.util.stream.Collector;
134 public static <T> Collector<T, ?, List<T>> least(int k, Comparator<? super T> comparator) { in least()
137 return Collector.of( in least()
142 Collector.Characteristics.UNORDERED); in least()
165 public static <T> Collector<T, ?, List<T>> greatest(int k, Comparator<? super T> comparator) { in greatest()
/external/rust/crates/crossbeam-epoch/src/
Dcollector.rs22 pub struct Collector { struct
26 unsafe impl Send for Collector {} implementation
27 unsafe impl Sync for Collector {} implementation
29 impl Default for Collector { implementation
37 impl Collector { implementation
49 impl Clone for Collector { implementation
52 Collector { in clone()
58 impl fmt::Debug for Collector { implementation
64 impl PartialEq for Collector { implementation
66 fn eq(&self, rhs: &Collector) -> bool { in eq()
[all …]
Ddefault.rs7 use crate::collector::{Collector, LocalHandle};
13 static ref COLLECTOR: Collector = Collector::new();
34 pub fn default_collector() -> &'static Collector { in default_collector()
/external/llvm-project/clang/lib/Frontend/
DModuleDependencyCollector.cpp28 ModuleDependencyCollector &Collector; member in __anonc493ebcc0111::ModuleDependencyListener
30 ModuleDependencyListener(ModuleDependencyCollector &Collector) in ModuleDependencyListener() argument
31 : Collector(Collector) {} in ModuleDependencyListener()
36 Collector.addFile(Filename); in visitInputFile()
42 ModuleDependencyCollector &Collector; member
44 ModuleDependencyPPCallbacks(ModuleDependencyCollector &Collector, in ModuleDependencyPPCallbacks()
46 : Collector(Collector), SM(SM) {} in ModuleDependencyPPCallbacks()
56 Collector.addFile(File->getName()); in InclusionDirective()
61 ModuleDependencyCollector &Collector; member
62 ModuleDependencyMMCallbacks(ModuleDependencyCollector &Collector) in ModuleDependencyMMCallbacks()
[all …]
/external/dagger2/java/dagger/internal/codegen/extension/
DDaggerCollectors.java25 import java.util.stream.Collector;
34 private static final Collector<Object, ?, Optional<Object>> TO_OPTIONAL =
35 Collector.of(
40 Collector.Characteristics.UNORDERED);
49 public static <T> Collector<T, ?, Optional<T>> toOptional() { in toOptional()
50 return (Collector) TO_OPTIONAL; in toOptional()
55 private static final Collector<Object, ?, Object> ONLY_ELEMENT =
56 Collector.of(
64 Collector.Characteristics.UNORDERED);
72 public static <T> Collector<T, ?, T> onlyElement() { in onlyElement()
[all …]
DDaggerStreams.java32 import java.util.stream.Collector;
45 public static <T> Collector<T, ?, ImmutableList<T>> toImmutableList() { in toImmutableList()
54 public static <T> Collector<T, ?, ImmutableSet<T>> toImmutableSet() { in toImmutableSet()
64 public static <T, K, V> Collector<T, ?, ImmutableMap<K, V>> toImmutableMap( in toImmutableMap()
68 Collector.of( in toImmutableMap()
81 public static <T, K, V> Collector<T, ?, ImmutableSetMultimap<K, V>> toImmutableSetMultimap( in toImmutableSetMultimap()
85 Collector.of( in toImmutableSetMultimap()
/external/guava/guava-testlib/src/com/google/common/testing/
DCollectorTester.java31 import java.util.stream.Collector;
56 public static <T, A, R> CollectorTester<T, A, R> of(Collector<T, A, R> collector) { in of()
65 Collector<T, A, R> collector, BiPredicate<? super R, ? super R> equivalence) { in of()
69 private final Collector<T, A, R> collector;
73 Collector<T, A, R> collector, BiPredicate<? super R, ? super R> equivalence) { in CollectorTester()
86 final <T, A, R> A result(Collector<T, A, R> collector, Iterable<T> inputs) { in result()
97 final <T, A, R> A result(Collector<T, A, R> collector, Iterable<T> inputs) { in result()
110 final <T, A, R> A result(Collector<T, A, R> collector, Iterable<T> inputs) { in result()
135 abstract <T, A, R> A result(Collector<T, A, R> collector, Iterable<T> inputs); in result()
146 if (collector.characteristics().contains(Collector.Characteristics.UNORDERED)) { in expectCollects()
[all …]
/external/clang/lib/Frontend/
DModuleDependencyCollector.cpp29 ModuleDependencyCollector &Collector; member in __anond30c9b1e0111::ModuleDependencyListener
31 ModuleDependencyListener(ModuleDependencyCollector &Collector) in ModuleDependencyListener() argument
32 : Collector(Collector) {} in ModuleDependencyListener()
37 Collector.addFile(Filename); in visitInputFile()
43 ModuleDependencyCollector &Collector; member
44 ModuleDependencyMMCallbacks(ModuleDependencyCollector &Collector) in ModuleDependencyMMCallbacks()
45 : Collector(Collector) {} in ModuleDependencyMMCallbacks()
49 Collector.addFile(HeaderPath); in moduleMapAddHeader()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCollector.cpp196 std::shared_ptr<FileCollector> Collector) in FileCollectorFileSystem() argument
197 : FS(std::move(FS)), Collector(std::move(Collector)) {} in FileCollectorFileSystem()
202 Collector->addFile(Path); in status()
210 Collector->addFile(Path); in openFileForRead()
220 Collector->addFile(Dir); in dir_begin()
225 Collector->addFile(It->path()); in dir_begin()
238 Collector->addFile(Path); in getRealPath()
240 Collector->addFile(Output); in getRealPath()
259 std::shared_ptr<FileCollector> Collector; member in __anonc872f58e0111::FileCollectorFileSystem
266 std::shared_ptr<FileCollector> Collector) { in createCollectorVFS() argument
[all …]
/external/tensorflow/tensorflow/core/lib/monitoring/
Dcollection_registry.h42 class Collector; variable
66 friend class internal::Collector;
71 internal::Collector* const collector, PointSet* const point_set) in MetricCollector()
81 internal::Collector* const collector_;
105 friend class internal::Collector;
107 MetricCollectorGetter(internal::Collector* const collector, in MetricCollectorGetter()
114 internal::Collector* const collector_;
169 friend class internal::Collector;
257 class Collector {
259 Collector(const uint64 collection_time_millis) in Collector() function
[all …]
Dcollection_registry.cc24 void Collector::CollectMetricValues( in CollectMetricValues()
30 std::unique_ptr<CollectedMetrics> Collector::ConsumeCollectedMetrics() { in ConsumeCollectedMetrics()
35 void Collector::CollectMetricDescriptor( in CollectMetricDescriptor()
96 internal::Collector collector(env_->NowMicros() / 1000); in CollectMetrics()
/external/llvm-project/llvm/unittests/Support/
DFileCollectorTest.cpp175 auto Collector = std::make_shared<TestingFileCollector>(root_fs, root_fs); in TEST() local
177 FileCollector::createCollectorVFS(vfs::getRealFileSystem(), Collector); in TEST()
179 EXPECT_TRUE(Collector->hasSeen(a.path())); in TEST()
182 EXPECT_TRUE(Collector->hasSeen(b.path())); in TEST()
185 EXPECT_TRUE(Collector->hasSeen(subdir.path())); in TEST()
191 EXPECT_TRUE(Collector->hasSeen(subdir3.path())); in TEST()
192 EXPECT_TRUE(Collector->hasSeen(subdir3a.path())); in TEST()
193 EXPECT_TRUE(Collector->hasSeen(subdir3b.path())); in TEST()
195 EXPECT_FALSE(Collector->hasSeen(RemovedFileName)); in TEST()
270 auto Collector = std::make_shared<TestingFileCollector>(root_fs, root_fs); in TEST() local
[all …]
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/
DPragmaCommentHandler.h29 PragmaCommentHandler(HeaderMapCollector *Collector) : Collector(Collector) {} in PragmaCommentHandler() argument
34 HeaderMapCollector *const Collector;
DFindAllSymbolsAction.cpp21 : Reporter(Reporter), Collector(RegexHeaderMap), Handler(&Collector), in FindAllSymbolsAction()
22 Matcher(Reporter, &Collector) { in FindAllSymbolsAction()
31 Reporter, &Compiler.getSourceManager(), &Collector)); in CreateASTConsumer()
DFindAllSymbols.h37 HeaderMapCollector *Collector = nullptr)
38 : Reporter(Reporter), Collector(Collector) {} in Reporter()
56 HeaderMapCollector *const Collector; variable
DFindAllMacros.h29 HeaderMapCollector *Collector = nullptr)
30 : Reporter(Reporter), SM(SM), Collector(Collector) {} in Reporter()
58 HeaderMapCollector *const Collector; variable
DPathConfig.cpp18 const HeaderMapCollector *Collector) { in getIncludePath() argument
33 if (Collector) in getIncludePath()
34 FilePath = Collector->getMappedHeader(FilePath); in getIncludePath()
/external/llvm-project/llvm/lib/Support/
DFileCollector.cpp237 std::shared_ptr<FileCollector> Collector) in FileCollectorFileSystem() argument
238 : FS(std::move(FS)), Collector(std::move(Collector)) {} in FileCollectorFileSystem()
243 Collector->addFile(Path); in status()
251 Collector->addFile(Path); in openFileForRead()
257 return Collector->addDirectoryImpl(Dir, FS, EC); in dir_begin()
264 Collector->addFile(Path); in getRealPath()
266 Collector->addFile(Output); in getRealPath()
285 std::shared_ptr<FileCollector> Collector; member in llvm::FileCollectorFileSystem
292 std::shared_ptr<FileCollector> Collector) { in createCollectorVFS() argument
293 return new FileCollectorFileSystem(std::move(BaseFS), std::move(Collector)); in createCollectorVFS()
/external/tcpdump/tests/
Dlacp-ev.out8 Collector Information TLV (0x03), length 16
18 Collector Information TLV (0x03), length 16
28 Collector Information TLV (0x03), length 16
38 Collector Information TLV (0x03), length 16
48 Collector Information TLV (0x03), length 16
58 Collector Information TLV (0x03), length 16
68 Collector Information TLV (0x03), length 16
78 Collector Information TLV (0x03), length 16
88 Collector Information TLV (0x03), length 16
98 Collector Information TLV (0x03), length 16
[all …]
/external/llvm-project/clang-tools-extra/clangd/index/
DIndexAction.cpp137 IncludeGraphCallback(IncludeGraphCallback), Collector(C), in IndexAction()
145 return Collector->shouldIndexFile(FID); in IndexAction()
157 return index::createIndexingASTConsumer(Collector, Opts, in CreateASTConsumer()
177 SymbolsCallback(Collector->takeSymbols()); in EndSourceFileAction()
179 RefsCallback(Collector->takeRefs()); in EndSourceFileAction()
181 RelationsCallback(Collector->takeRelations()); in EndSourceFileAction()
197 std::shared_ptr<SymbolCollector> Collector; member in clang::clangd::__anon54562b8f0111::IndexAction
/external/guava/guava-tests/test/com/google/common/collect/
DTablesTest.java26 import java.util.stream.Collector;
39 Collector<Cell<String, String, Integer>, ?, Table<String, String, Integer>> collector = in testToTable()
56 Collector<Cell<String, String, Integer>, ?, Table<String, String, Integer>> collector = in testToTableNullMerge()
73 Collector<Cell<String, String, Integer>, ?, Table<String, String, Integer>> collector = in testToTableNullValues()
87 Collector<Cell<String, String, Integer>, ?, Table<String, String, Integer>> collector = in testToTableConflict()
98 Collector<Cell<String, String, Integer>, ?, Table<String, String, Integer>> collector = in testToTableMerging()
/external/opencensus-java/exporters/stats/prometheus/src/main/java/io/opencensus/exporter/stats/prometheus/
DPrometheusExportUtils.java19 import static io.prometheus.client.Collector.doubleToGoString;
41 import io.prometheus.client.Collector;
42 import io.prometheus.client.Collector.MetricFamilySamples;
43 import io.prometheus.client.Collector.MetricFamilySamples.Sample;
44 import io.prometheus.client.Collector.Type;
103 String name = Collector.sanitizeMetricName(view.getName().asString()); in createMetricFamilySamples()
118 String name = Collector.sanitizeMetricName(view.getName().asString()); in createDescribableMetricFamilySamples()
277 labelNames.add(Collector.sanitizeMetricName(tagKey.getName()));

1234567