Home
last modified time | relevance | path

Searched refs:cb2 (Results 1 – 25 of 47) sorted by relevance

12

/third_party/boost/libs/circular_buffer/test/
Dcommon.ipp110 CB_CONTAINER<MyInteger> cb2(10, v.begin(), v.end());
118 BOOST_TEST(!cb2.full());
119 BOOST_TEST(cb2[2] == 3);
125 generic_test(cb2);
146 CB_CONTAINER<MyInteger> cb2(5);
149 BOOST_TEST(cb2.size() == 0);
150 BOOST_TEST(cb1.max_size() == cb2.max_size());
153 generic_test(cb2);
247 const CB_CONTAINER<MyInteger> cb2(10, 0);
249 CB_CONTAINER<MyInteger>::allocator_type alloc = cb2.get_allocator();
[all …]
Dspace_optimized_test.cpp29 cb_space_optimized cb2(capacity_ctrl(10, 5), 1); in min_capacity_test() local
35 BOOST_TEST(cb2[0] == 1); in min_capacity_test()
36 BOOST_TEST(cb2.size() == 10); in min_capacity_test()
37 BOOST_TEST(cb2.capacity() == 10); in min_capacity_test()
38 BOOST_TEST(cb2.capacity().min_capacity() == 5); in min_capacity_test()
44 BOOST_TEST(cb2.capacity().min_capacity() <= cb2.internal_capacity()); in min_capacity_test()
47 cb2.erase(cb2.begin() + 2, cb2.end()); in min_capacity_test()
49 BOOST_TEST(cb2.size() == 2); in min_capacity_test()
50 BOOST_TEST(cb2.capacity().min_capacity() <= cb2.internal_capacity()); in min_capacity_test()
52 cb2.clear(); in min_capacity_test()
[all …]
Dsoft_iterator_invalidation.cpp178 circular_buffer<int> cb2(5); in validity_insert_range_test() local
179 cb2.push_back(1); in validity_insert_range_test()
180 cb2.push_back(2); in validity_insert_range_test()
181 cb2.push_back(3); in validity_insert_range_test()
184 circular_buffer<int>::iterator it21 = cb2.begin(); in validity_insert_range_test()
185 circular_buffer<int>::iterator it22 = cb2.begin() + 1; in validity_insert_range_test()
186 circular_buffer<int>::iterator it23 = cb2.begin() + 2; in validity_insert_range_test()
188 cb2.insert(cb2.begin() + 1, MyInputIterator(v1.begin()), MyInputIterator(v1.end())); in validity_insert_range_test()
195 BOOST_TEST(cb2[0] == 1); in validity_insert_range_test()
196 BOOST_TEST(cb2[1] == 4); in validity_insert_range_test()
[all …]
Dconstant_erase_test.cpp48 circular_buffer<InstanceCounter> cb2(5, InstanceCounter()); in erase_begin_test() local
50 BOOST_TEST(cb2.size() == 5); in erase_begin_test()
53 cb2.erase_begin(2); in erase_begin_test()
55 BOOST_TEST(cb2.size() == 3); in erase_begin_test()
107 circular_buffer<InstanceCounter> cb2(5, InstanceCounter()); in erase_end_test() local
109 BOOST_TEST(cb2.size() == 5); in erase_end_test()
112 cb2.erase_end(2); in erase_end_test()
114 BOOST_TEST(cb2.size() == 3); in erase_end_test()
153 circular_buffer<InstanceCounter> cb2(5, InstanceCounter()); in clear_test() local
155 BOOST_TEST(cb2.size() == 5); in clear_test()
[all …]
/third_party/node/benchmark/process/
Dnext-tick-depth-args.js17 process.nextTick(cb2, false, 5.1);
31 process.nextTick(cb2, false, 5.1);
38 function cb2(arg1, arg2) { function
45 process.nextTick(cb2, false, 5.1);
59 process.nextTick(cb2, false, 5.1);
Dnext-tick-breadth-args.js17 function cb2(arg1, arg2) { function
42 process.nextTick(cb2, false, 5.1);
/third_party/node/benchmark/timers/
Dset-immediate-depth-args.js19 setImmediate(cb2, n, 5.1, true);
25 function cb2(n, arg2) { function
30 setImmediate(cb2, n, 5.1, true);
41 setImmediate(cb2, n, 5.1, true);
Dtimers-timeout-pooled.js24 function cb2() { function
31 setTimeout(i % 2 ? cb : cb2, 1);
Dtimers-timeout-nexttick.js23 function cb2() { function
34 setTimeout(i % 2 ? cb : cb2, 1);
Dtimers-timeout-unpooled.js24 function cb2() { function
33 setTimeout(i % 2 ? cb : cb2, 1).unref().ref();
Dset-immediate-breadth-args.js16 function cb2(arg1, arg2) {} function
25 setImmediate(cb2, false, 5.1, 512);
Dtimers-breadth-args.js16 function cb2(arg1, arg2) { function
41 setTimeout(cb2, 1, false, 5.1);
/third_party/boost/libs/asio/test/
Dbuffers_iterator.cpp58 array<const_buffer, 2> cb2 = {{ buffer(cdata1), buffer(cdata2) }}; in test() local
95 buffers_iterator<array<const_buffer, 2>, char>::begin(cb2)); in test()
97 buffers_iterator<array<const_buffer, 2>, const char>::begin(cb2)); in test()
113 bi9 = buffers_iterator<array<const_buffer, 2>, char>::begin(cb2); in test()
114 bi10 = buffers_iterator<array<const_buffer, 2>, const char>::begin(cb2); in test()
126 bi9 = buffers_iterator<array<const_buffer, 2>, char>::end(cb2); in test()
127 bi10 = buffers_iterator<array<const_buffer, 2>, const char>::end(cb2); in test()
137 bi9 = buffers_begin(cb2); in test()
144 bi9 = buffers_end(cb2); in test()
Dbuffer.cpp110 const_buffer cb2(const_void_ptr_data, 1024); in test() local
127 cb1 = cb2 + 128; in test()
128 cb1 = 128 + cb2; in test()
176 cb1 = buffer(cb2); in test()
177 cb1 = buffer(cb2, 128); in test()
215 std::size_t size7 = buffer_copy(mb1, cb2); in test()
230 std::size_t size12 = buffer_copy(mbc1, cb2); in test()
241 std::size_t size17 = buffer_copy(mutable_buffer_sequence, cb2); in test()
256 std::size_t size22 = buffer_copy(mb1, cb2, 128); in test()
271 std::size_t size27 = buffer_copy(mbc1, cb2, 128); in test()
[all …]
/third_party/typescript/tests/baselines/reference/
DbooleanFilterAnyArray.types13 >filter : { <S extends T>(cb1: (value: T) => value is S): T extends any ? Ari<any> : Ari<S>; (cb2: …
17 filter(cb2: (value: T) => unknown): Ari<T>;
18 >filter : { <S extends T>(cb1: (value: T) => value is S): T extends any ? Ari<any> : Ari<S>; (cb2: …
19 >cb2 : (value: T) => unknown
34 >anys.filter : { <S extends any>(cb1: (value: any) => value is S): Ari<any>; (cb2: (value: any) => …
36 >filter : { <S extends any>(cb1: (value: any) => value is S): Ari<any>; (cb2: (value: any) => unkno…
DbooleanFilterAnyArray.symbols38 filter(cb2: (value: T) => unknown): Ari<T>;
40 >cb2 : Symbol(cb2, Decl(booleanFilterAnyArray.ts, 8, 11))
/third_party/ffmpeg/libavcodec/
Dcinepak.c137 uint8_t *cb0, *cb1, *cb2, *cb3; in cinepak_decode_vectors() local
215 cb2 = strip->v4_codebook[*data++]; in cinepak_decode_vectors()
220 *p++ = cb2[6]; in cinepak_decode_vectors()
221 *p++ = cb2[9]; in cinepak_decode_vectors()
225 *p++ = cb2[0]; in cinepak_decode_vectors()
226 *p++ = cb2[3]; in cinepak_decode_vectors()
240 memcpy(ip3 + 0, cb2 + 6, 6); in cinepak_decode_vectors()
242 memcpy(ip2 + 0, cb2 + 0, 6); in cinepak_decode_vectors()
Dra144enc.c337 float zero[BLOCKSIZE], cba[BLOCKSIZE], cb1[BLOCKSIZE], cb2[BLOCKSIZE]; in ra144_encode_subblock() local
382 cb2[i] = ff_cb2_vects[cb2_idx][i]; in ra144_encode_subblock()
388 ff_celp_lp_synthesis_filterf(work + LPC_ORDER, coefs, cb2, BLOCKSIZE, in ra144_encode_subblock()
390 memcpy(cb2, work + LPC_ORDER, sizeof(cb2)); in ra144_encode_subblock()
405 g[2] * cb2[i]; in ra144_encode_subblock()
411 data[i] = zero[i] + g[1] * cb1[i] + g[2] * cb2[i]; in ra144_encode_subblock()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/powerpc/
Djccolext-altivec.c48 __vector int y0, y1, y2, y3, cr0, cr1, cr2, cr3, cb0, cb1, cb2, cb3; in jsimd_rgb_ycc_convert_altivec() local
231 cb2 = vec_msums(rg2, pw_mf016_mf033, pd_onehalfm1_cj); in jsimd_rgb_ycc_convert_altivec()
237 cb2 = (__vector int)vec_msum((__vector unsigned short)bg2, pw_f050_f000, in jsimd_rgb_ycc_convert_altivec()
238 (__vector unsigned int)cb2); in jsimd_rgb_ycc_convert_altivec()
243 cbh = vec_perm((__vector unsigned short)cb2, in jsimd_rgb_ycc_convert_altivec()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstcontroller.c564 GstControlBinding *cb1, *cb2; in GST_START_TEST() local
575 cb2 = gst_test_control_binding_new (GST_OBJECT (elem), "boolean", in GST_START_TEST()
577 fail_unless (GST_CONTROL_BINDING_PSPEC (cb2) != NULL, NULL); in GST_START_TEST()
580 gst_object_unref (cb2); in GST_START_TEST()
687 GstControlBinding *cb1, *cb2; in GST_START_TEST() local
696 cb2 = gst_test_control_binding_new (GST_OBJECT (elem), "double", cs); in GST_START_TEST()
697 fail_unless (GST_CONTROL_BINDING_PSPEC (cb2) != NULL, NULL); in GST_START_TEST()
700 gst_object_unref (cb2); in GST_START_TEST()
/third_party/python/Lib/test/test_asyncio/
Dtest_futures.py641 cb2 = self._make_callback(bag, 17)
645 f.add_done_callback(cb2)
664 cb2 = self._make_callback(bag, 17)
668 f.add_done_callback(cb2)
672 f.remove_done_callback(cb2)
688 cb2 = self._make_callback(bag, 17)
692 f.add_done_callback(cb2)
738 cb2 = self._make_callback(bag, 2)
743 f.add_done_callback(cb2)
746 self.assertEqual(f.remove_done_callback(cb2), 1)
[all …]
/third_party/python/Lib/idlelib/
Dpercolator.py95 cb2 = tk.Checkbutton(box, text="Tracer2", command=toggle2, variable=var2)
96 cb2.pack()
/third_party/boost/libs/graph/test/
Dtest_properties.hpp26 GraphBundle const& cb2 = get_property(g); in test_graph_bundle() local
28 ignore(cb2); in test_graph_bundle()
/third_party/boost/libs/beast/test/beast/core/
Dbuffers_suffix.cpp87 buffers_suffix<net::mutable_buffer> cb2( in testSpecial() local
89 BEAST_EXPECT(net::buffer_copy(cb2, cb) == 0); in testSpecial()
/third_party/typescript/tests/cases/compiler/
DbooleanFilterAnyArray.ts9 filter(cb2: (value: T) => unknown): Ari<T>;

12