Home
last modified time | relevance | path

Searched refs:take (Results 1 – 25 of 1994) sorted by relevance

12345678910>>...80

/external/clang/test/Sema/
Dblock-args.c3 void take(void*);
6 take(^(int x){}); in test()
7 take(^(int x, int y){}); in test()
8 take(^(int x, int y){}); in test()
9 take(^(int x, // expected-note {{previous declaration is here}} in test()
13 take(^(int x) { return x+1; }); in test()
16 take(CP); in test()
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/doxygen/
Dswitch_on_next.cpp9 take(3).
13 auto values = base.switch_on_next().take(10);
24 take(3).
28 auto values = base.switch_on_next(rxcpp::observe_on_new_thread()).take(10);
Dreplay.cpp11 take(5).
37 take(5).
68 take(5).
94 take(5).
125 take(5).
151 take(5).
182 take(5).
208 take(5).
Drange.cpp62 take(3).
66 take(3).
91 take(6).
108 take(3).
113 take(3).
143 take(6).
Dinterval.cpp11 take(3).
24 take(3).
37 take(3).
51 take(3).
Dtake_until.cpp8 auto source = rxcpp::observable<>::interval(std::chrono::milliseconds(10)).take(7);
20 auto source = rxcpp::observable<>::interval(std::chrono::milliseconds(10)).take(7);
34 … auto source = rxcpp::observable<>::interval(std::chrono::milliseconds(10)).take(7).map([](long v){ in __anon9a6b76e10502()
55 … auto source = rxcpp::observable<>::interval(std::chrono::milliseconds(10)).take(7).map([](long v){ in __anon9a6b76e10902()
Dwindow.cpp44 take(7).
65 take(7).
85 take(7).
122 take(7).
141 take(7).
200 take(7).
224 take(7).
Dwith_latest_from.cpp13 take(5).
40 take(5).
60 take(5).
79 take(5).
Dcombine_latest.cpp13 take(5).
40 take(5).
60 take(5).
79 take(5).
Dzip.cpp13 take(3).
40 take(3).
60 take(3).
79 take(3).
Dpublish.cpp12 take(5).
43 take(5).
74 take(5).
115 take(5).
Dbuffer.cpp50 take(7).
72 take(7).
92 take(7).
129 take(7).
148 take(7).
/external/swiftshader/third_party/LLVM/lib/Object/
DBinary.cpp55 OwningPtr<Binary> ret(new Archive(scopedSource.take(), ec)); in createBinary()
65 ObjectFile::createELFObjectFile(scopedSource.take())); in createBinary()
81 ObjectFile::createMachOObjectFile(scopedSource.take())); in createBinary()
88 OwningPtr<Binary> ret(new COFFObjectFile(scopedSource.take(), ec)); in createBinary()
102 return createBinary(File.take(), Result); in createBinary()
/external/clang/test/CXX/temp/temp.param/
Dp15-cxx0x.cpp83 typedef types<typename Take<_>::type...> take; typedef
88 template<unsigned N, typename...Ts> struct take { struct
90 …template inner<wrap<Ts>::template inner...>::take; // expected-error {{too few template arguments}}
97 using T1 = take<3, int, char, double, long>::type; // expected-note {{previous}}
104 using T2 = take<4, int, char, double, long>::type; // expected-note {{previous}}
112 using T3 = take<5, int, char, double, long>::type; // expected-note {{in instantiation of}}
/external/eigen/unsupported/test/
Dcxx11_meta.cpp24 using Eigen::internal::take;
164 VERIFY((is_same<typename take<0, tl>::type, type_list<>>::value)); in test_slice()
165 VERIFY((is_same<typename take<1, tl>::type, type_list<dummy_a>>::value)); in test_slice()
166 VERIFY((is_same<typename take<2, tl>::type, type_list<dummy_a, dummy_a>>::value)); in test_slice()
167 VERIFY((is_same<typename take<3, tl>::type, type_list<dummy_a, dummy_a, dummy_b>>::value)); in test_slice()
168 …VERIFY((is_same<typename take<4, tl>::type, type_list<dummy_a, dummy_a, dummy_b, dummy_b>>::value)… in test_slice()
169 …VERIFY((is_same<typename take<5, tl>::type, type_list<dummy_a, dummy_a, dummy_b, dummy_b, dummy_c>… in test_slice()
170 …VERIFY((is_same<typename take<6, tl>::type, type_list<dummy_a, dummy_a, dummy_b, dummy_b, dummy_c,… in test_slice()
172 VERIFY((is_same<typename take<0, il>::type, numeric_list<int>>::value)); in test_slice()
173 VERIFY((is_same<typename take<1, il>::type, numeric_list<int, 0>>::value)); in test_slice()
[all …]
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dscan_test.py48 def dataset_fn(start, step, take): argument
49 return self._counting_dataset(start, make_scan_fn(step)).take(take)
84 def dataset_fn(start, step, take): argument
86 make_scan_fn(step)).take(take)
/external/e2fsprogs/tests/t_dangerous/
Dexpect39 Enabling checksums could take some time.
43 Resizing inodes could take some time.
47 Setting UUID on a checksummed filesystem could take some time.
60 Enabling checksums could take some time.
78 Resizing inodes could take some time.
82 Setting UUID on a checksummed filesystem could take some time.
/external/python/cpython3/Lib/test/
Dtest_itertools.py55 def take(n, seq): function
81 def pickletest(self, protocol, it, stop=4, take=1, compare=None): argument
109 for i in range(take):
163 self.assertEqual(take(4, c('abc', 'def')), list('abcd'))
170 self.assertEqual(take(4, chain.from_iterable(['abc', 'def'])), list('abcd'))
181 self.assertEqual(take(4, oper(chain('abc', 'def'))), list('abcd'))
521 self.assertEqual(take(2, lzip('abc',count(3))), [('a', 3), ('b', 4)])
522 self.assertEqual(take(2, zip('abc',count(-1))), [('a', -1), ('b', 0)])
523 self.assertEqual(take(2, zip('abc',count(-3))), [('a', -3), ('b', -2)])
526 self.assertEqual(take(10, count(maxsize-5)),
[all …]
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
Drx-take.hpp42 struct take : public operator_base<T> struct
58 take(source_type s, count_type t) in take() argument
133 auto take(AN&&... an) in take() function
148 class Take = rxo::detail::take<SourceValue, rxu::decay_t<Observable>, rxu::decay_t<Count>>,
/external/testng/src/main/java/org/testng/internal/
DPoolService.java48 Future<FutureType> take = m_completionService.take(); in submitTasksAndWait() local
49 result.add(take.get()); in submitTasksAndWait()
/external/Reactive-Extensions/RxCpp/Rx/v2/test/operators/
Dtake.cpp24 | rxo::take(2) in __anon3669c4b80102()
86 .take(20) in __anon3669c4b80202()
163 .take(17) in __anon3669c4b80302()
240 .take(10) in __anon3669c4b80402()
312 .take(20) in __anon3669c4b80502()
389 .take(17) in __anon3669c4b80602()
466 .take(3) in __anon3669c4b80702()
528 .take(3) in __anon3669c4b80802()
589 .take(3) in __anon3669c4b80902()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DDAGISelMatcherOpt.cpp36 Scope->resetChild(i, Child.take()); in ContractNodes()
57 New->setNext(MatcherPtr.take()); in ContractNodes()
80 Matcher *EmitNode = MatcherPtr.take(); in ContractNodes()
160 Matcher *CheckType = MatcherPtr.take(); in ContractNodes()
194 Scope->resetChild(i, Child.take()); in SinkPatternPredicates()
213 MatcherPtr.take(); // Don't delete CPPM. in SinkPatternPredicates()
268 if (Matcher *N = Child.take()) in FactorNodes()
512 return MatcherPtr.take(); in OptimizeMatcher()
/external/Reactive-Extensions/RxCpp/Ix/CPP/src/cpplinq/
Dlinq_take.hpp88 const linq_take<Collection>& take in get_cursor() argument
90 -> decltype(get_cursor_(take, typename Collection::cursor::cursor_category())) in get_cursor()
92 return get_cursor_(take, typename Collection::cursor::cursor_category()); in get_cursor()
/external/python/cpython2/Lib/test/
Dtest_itertools.py44 def take(n, seq): function
68 self.assertEqual(take(4, c('abc', 'def')), list('abcd'))
75 self.assertEqual(take(4, chain.from_iterable(['abc', 'def'])), list('abcd'))
349 self.assertEqual(take(2, zip('abc',count(3))), [('a', 3), ('b', 4)])
350 self.assertEqual(take(2, zip('abc',count(-1))), [('a', -1), ('b', 0)])
351 self.assertEqual(take(2, zip('abc',count(-3))), [('a', -3), ('b', -2)])
354 self.assertEqual(take(10, count(maxsize-5)), range(maxsize-5, maxsize+5))
355 self.assertEqual(take(10, count(-maxsize-5)), range(-maxsize-5, -maxsize+5))
356 self.assertEqual(take(3, count(3.25)), [3.25, 4.25, 5.25])
357 self.assertEqual(take(3, count(3.25-4j)), [3.25-4j, 4.25-4j, 5.25-4j])
[all …]
/external/grpc-grpc/doc/core/
Dgrpc-error.md37 may explicitly take ownership of it by manually calling GRPC_ERROR_REF.
64 errors, or pass them along to a function that would take over the ownership.
87 not callbacks, so they will take ownership of the error passed to them.
96 you must explicitly take a reference.
108 would take ownership of the error, without explicitly taking ownership yourself.
117 // this callback function must take ownership, so it can give that
141 if would have to take on a reference to it. This is a common pattern seen.

12345678910>>...80