Home
last modified time | relevance | path

Searched full:take (Results 1 – 25 of 21048) sorted by relevance

12345678910>>...842

/aosp_15_r20/external/apache-xml/test/tests/contrib-gold/xsltc/schemasoft/
H A Dbottles.out5 You take one down, pass it around,
10 You take one down, pass it around,
15 You take one down, pass it around,
20 You take one down, pass it around,
25 You take one down, pass it around,
30 You take one down, pass it around,
35 You take one down, pass it around,
40 You take one down, pass it around,
45 You take one down, pass it around,
50 You take one down, pass it around,
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/ranges/range.adaptors/range.take/
H A Dadaptor.pass.cpp11 // std::views::take
41 auto result = input | std::views::take(N); in test_small_range()
50 // Test that `std::views::take` is a range adaptor. in test()
54 // Test `view | views::take` in test()
57 … std::same_as<std::ranges::take_view<SomeView>> decltype(auto) result = view | std::views::take(3); in test()
63 // Test `adaptor | views::take` in test()
67 auto const partial = std::views::transform(f) | std::views::take(3); in test()
76 // Test `views::take | adaptor` in test()
80 auto const partial = std::views::take(3) | std::views::transform(f); in test()
92 static_assert(!std::is_invocable_v<decltype(std::views::take)>); in test()
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/tests/iter/adapters/
H A Dtake.rs9 let mut it = xs.iter().take(ys.len()); in test_iterator_take()
20 let mut it = xs.iter().take(ys.len()); in test_iterator_take()
37 let mut take = it.by_ref().take(3); in test_iterator_take_nth() localVariable
39 while let Some(&x) = take.nth(0) { in test_iterator_take_nth()
48 let mut it = xs.iter().take(7); in test_iterator_take_nth()
61 let mut take = it.by_ref().take(3); in test_iterator_take_nth_back() localVariable
63 while let Some(&x) = take.nth_back(0) { in test_iterator_take_nth_back()
71 let mut it = xs.iter().take(7); in test_iterator_take_nth_back()
79 let mut take = (0..10).take(3); in test_take_advance_by() localVariable
80 assert_eq!(take.advance_by(2), Ok(())); in test_take_advance_by()
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/tests/iter/adapters/
H A Dtake.rs9 let mut it = xs.iter().take(ys.len()); in test_iterator_take()
20 let mut it = xs.iter().take(ys.len()); in test_iterator_take()
37 let mut take = it.by_ref().take(3); in test_iterator_take_nth() localVariable
39 while let Some(&x) = take.nth(0) { in test_iterator_take_nth()
48 let mut it = xs.iter().take(7); in test_iterator_take_nth()
61 let mut take = it.by_ref().take(3); in test_iterator_take_nth_back() localVariable
63 while let Some(&x) = take.nth_back(0) { in test_iterator_take_nth_back()
71 let mut it = xs.iter().take(7); in test_iterator_take_nth_back()
79 let mut take = (0..10).take(3); in test_take_advance_by() localVariable
80 assert_eq!(take.advance_by(2), Ok(())); in test_take_advance_by()
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/tests/iter/adapters/
H A Dtake.rs9 let mut it = xs.iter().take(ys.len()); in test_iterator_take()
20 let mut it = xs.iter().take(ys.len()); in test_iterator_take()
37 let mut take = it.by_ref().take(3); in test_iterator_take_nth() localVariable
39 while let Some(&x) = take.nth(0) { in test_iterator_take_nth()
48 let mut it = xs.iter().take(7); in test_iterator_take_nth()
61 let mut take = it.by_ref().take(3); in test_iterator_take_nth_back() localVariable
63 while let Some(&x) = take.nth_back(0) { in test_iterator_take_nth_back()
71 let mut it = xs.iter().take(7); in test_iterator_take_nth_back()
79 let mut take = (0..10).take(3); in test_take_advance_by() localVariable
80 assert_eq!(take.advance_by(2), Ok(())); in test_take_advance_by()
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/tests/iter/adapters/
H A Dtake.rs9 let mut it = xs.iter().take(ys.len()); in test_iterator_take()
20 let mut it = xs.iter().take(ys.len()); in test_iterator_take()
37 let mut take = it.by_ref().take(3); in test_iterator_take_nth() localVariable
39 while let Some(&x) = take.nth(0) { in test_iterator_take_nth()
48 let mut it = xs.iter().take(7); in test_iterator_take_nth()
61 let mut take = it.by_ref().take(3); in test_iterator_take_nth_back() localVariable
63 while let Some(&x) = take.nth_back(0) { in test_iterator_take_nth_back()
71 let mut it = xs.iter().take(7); in test_iterator_take_nth_back()
79 let mut take = (0..10).take(3); in test_take_advance_by() localVariable
80 assert_eq!(take.advance_by(2), Ok(())); in test_take_advance_by()
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/tests/iter/adapters/
H A Dtake.rs9 let mut it = xs.iter().take(ys.len()); in test_iterator_take()
20 let mut it = xs.iter().take(ys.len()); in test_iterator_take()
37 let mut take = it.by_ref().take(3); in test_iterator_take_nth() localVariable
39 while let Some(&x) = take.nth(0) { in test_iterator_take_nth()
48 let mut it = xs.iter().take(7); in test_iterator_take_nth()
61 let mut take = it.by_ref().take(3); in test_iterator_take_nth_back() localVariable
63 while let Some(&x) = take.nth_back(0) { in test_iterator_take_nth_back()
71 let mut it = xs.iter().take(7); in test_iterator_take_nth_back()
79 let mut take = (0..10).take(3); in test_take_advance_by() localVariable
80 assert_eq!(take.advance_by(2), Ok(())); in test_take_advance_by()
[all …]
/aosp_15_r20/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/
Da2dp.py58 If necessary, take action to accept the AVDTP Signaling Channel
95 If necessary, take action to accept the AVDTP Signaling Channnel
201 Take action if necessary to start streaming media to the tester.
252 If necessary, take action to accept the AVDTP Discover operation
274 If necessary, take action to accept the AVDTP Close operation initiated
283 If necessary, take action to accept the AVDTP Abort operation initiated
292 If necessary, take action to accept the AVDTP Get All Capabilities
301 If necessary, take action to accept the AVDTP Get Capabilities operation
310 If necessary, take action to accept the AVDTP Set Configuration
319 Take action to accept the AVDTP Get Configuration command from the
[all …]
Drfcomm.py44 Take action to initiate an RFCOMM service level connection (l2cap).
61 Take action to accept the RFCOMM service level connection from the
74 Take action to accept the SABM operation initiated by the tester.
87 Take action to respond PN.
95 Take action to initiate an SABM operation for the RFCOMM control
104 Take action to initiate PN.
111 Take action to initiate an SABM operation for an RFCOMM data channel.
120 Take action to accept the DISC operation initiated by the tester.
128 Take action to accept a new DLC initiated by the tester.
136 Take action to close the RFCOMM session.
[all …]
Dpan.py38 Take action to accept the PAN transport from the tester.
53 Take action to accept setup connection.
60 Take action to initiate an PAN transport .
75 Take action to initiate setup connection
83 Take action to response to reserve control message
90 Take action to accept filter network.
97 Take action to accept filter multicast.
111 Take action to send ARP probe request for the process of choosing a
127 Take action to accept general ethernet.
135 Take action to send dhcp discovery request
[all …]
Davrcp.py53 If necessary, take action to accept the AVDTP Signaling Channel
98 Take action to send a valid response to the [Unit Info] command sent by
107 Take action to send a valid response to the [Subunit Info] command sent
125 Take action to send a valid response to the [Get Folder Items] with the
149 Take action to disconnect all A2DP and/or AVRCP connections.
160 Take action to send a valid response to the [Set Addressed Player]
169 If necessary, take action to accept the AVDTP Signaling Channel
309 Take action to reject the AVCTP DATA request with an invalid profile id.
339 Take action to send the data specified in TSPX_avctp_iut_response_data
489 Take action to send a valid response to the [Get Capabilities] command
[all …]
/aosp_15_r20/external/coreboot/util/inteltool/gpio_names/
H A Demmitsburg.h150 "GPP_D3", "n/a", // Not described in EDS, add here to take space
151 "GPP_D4", "n/a", // Not described in EDS, add here to take space
152 "GPP_D5", "n/a", // Not described in EDS, add here to take space
258 "GPPC_H2", "n/a", "n/a", // Not described in EDS, add here to take space
259 "GPPC_H3", "n/a", "n/a", // Not described in EDS, add here to take space
260 "GPPC_H4", "n/a", "n/a", // Not described in EDS, add here to take space
261 "GPPC_H5", "n/a", "n/a", // Not described in EDS, add here to take space
264 "GPPC_H8", "n/a", "n/a", // Not described in EDS, add here to take space
265 "GPPC_H9", "n/a", "n/a", // Not described in EDS, add here to take space
266 "GPPC_H10", "n/a", "n/a", // Not described in EDS, add here to take space
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/service/
H A Dcross_trainer_cache_test.py45 self.assertDatasetProduces(dataset1.take(10), list(range(10)))
54 self.assertDatasetProduces(dataset2.take(10), list(range(10)))
72 self.assertDatasetProduces(dataset1.take(10), list(range(10)))
84 self.assertDatasetProduces(dataset2.take(10), list(range(10)))
92 self.assertDatasetProduces(dataset1.take(10), list(range(10)))
97 output = self.getDatasetOutput(dataset2.take(10))
150 self.assertDatasetProduces(dataset1.take(200), list(range(200)))
158 dataset2 = dataset2.take(200)
184 output = self.getDatasetOutput(distributed_dataset.take(200))
199 output1 = self.getDatasetOutput(dataset1.take(10))
[all …]
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
H A DTakeTest.kt15 assertEquals(3, flow.take(2).sum()) in <lambda>()
16 assertEquals(3, flow.take(Int.MAX_VALUE).sum()) in <lambda>()
17 assertEquals(1, flow.take(1).single()) in <lambda>()
18 assertEquals(2, flow.drop(1).take(1).single()) in <lambda>()
23 assertFailsWith<IllegalArgumentException> { flowOf(1).take(0) } in testIllegalArgument()
24 assertFailsWith<IllegalArgumentException> { flowOf(1).take(-1) } in testIllegalArgument()
36 assertEquals(3, flow.take(2).sum()) in <lambda>()
37 assertEquals(3, flow.take(Int.MAX_VALUE).sum()) in <lambda>()
38 assertEquals(1, flow.take(1).single()) in <lambda>()
39 assertEquals(2, flow.drop(1).take(1).single()) in <lambda>()
[all …]
/aosp_15_r20/external/pandora/mmi2grpc/mmi2grpc/
Da2dp.py62 If necessary, take action to accept the AVDTP Signaling Channel
201 Take action if necessary to start streaming media to the tester.
251 If necessary, take action to accept the AVDTP Discover operation
273 If necessary, take action to accept the AVDTP Close operation initiated
282 If necessary, take action to accept the AVDTP Abort operation initiated
291 If necessary, take action to accept the AVDTP Get All Capabilities
300 If necessary, take action to accept the AVDTP Get Capabilities operation
309 If necessary, take action to accept the AVDTP Set Configuration
318 Take action to accept the AVDTP Get Configuration command from the
327 If necessary, take action to accept the AVDTP Open operation initiated
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/nom/src/bits/
Dmod.rs19 /// use nom::bits::{bits, streaming::take};
25 /// bits::<_, _, Error<(&[u8], usize)>, _, _>(tuple((take(4usize), take(8usize))))(input)
30 /// let output = parse(input).expect("We take 1.5 bytes and the input is longer than 2 bytes");
68 /// use nom::bits::{bits, bytes, streaming::take};
76 /// take(4usize),
77 /// take(8usize),
116 use crate::bits::streaming::take;
121 /// Take the `bits` function and assert that remaining bytes are correctly returned, if the
126 // Take 3 bit slices with sizes [4, 8, 4]. in test_complete_byte_consumption_bits()
128 bits::<_, _, Error<(&[u8], usize)>, _, _>(tuple((take(4usize), take(8usize), take(4usize))))( in test_complete_byte_consumption_bits()
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/nom-7.1.3/src/bits/
H A Dmod.rs19 /// use nom::bits::{bits, streaming::take};
25 /// bits::<_, _, Error<(&[u8], usize)>, _, _>(tuple((take(4usize), take(8usize))))(input)
30 /// let output = parse(input).expect("We take 1.5 bytes and the input is longer than 2 bytes");
68 /// use nom::bits::{bits, bytes, streaming::take};
76 /// take(4usize),
77 /// take(8usize),
116 use crate::bits::streaming::take;
121 /// Take the `bits` function and assert that remaining bytes are correctly returned, if the
126 // Take 3 bit slices with sizes [4, 8, 4]. in test_complete_byte_consumption_bits()
128 bits::<_, _, Error<(&[u8], usize)>, _, _>(tuple((take(4usize), take(8usize), take(4usize))))( in test_complete_byte_consumption_bits()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/futures-util/src/io/
Dtake.rs9 /// Reader for the [`take`](super::AsyncReadExt::take) method.
12 pub struct Take<R> {
19 impl<R: AsyncRead> Take<R> { impl
41 /// let mut take = reader.take(4);
42 /// let n = take.read(&mut buffer).await?;
44 /// assert_eq!(take.limit(), 2);
52 /// return EOF. This is the same as constructing a new `Take` instance, so
65 /// let mut take = reader.take(4);
66 /// let n = take.read(&mut buffer).await?;
69 /// assert_eq!(take.limit(), 0);
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/winnow/src/binary/bits/
Dtests.rs6 /// Take the `bits` function and assert that remaining bytes are correctly returned, if the
11 // Take 3 bit slices with sizes [4, 8, 4]. in test_complete_byte_consumption_bits()
13 bits::<_, _, InputError<(&[u8], usize)>, _, _>((take(4usize), take(8usize), take(4usize))) in test_complete_byte_consumption_bits()
16 let output = result.expect("We take 2 bytes and the input is longer than 2 bytes"); in test_complete_byte_consumption_bits()
28 /// Take the `bits` function and assert that remaining bytes are correctly returned, if the
35 // Take bit slices with sizes [4, 8]. in test_partial_byte_consumption_bits()
37 bits::<_, _, InputError<(&[u8], usize)>, _, _>((take(4usize), take(8usize))) in test_partial_byte_consumption_bits()
40 let output = result.expect("We take 1.5 bytes and the input is longer than 2 bytes"); in test_partial_byte_consumption_bits()
56 // Take bit slices with sizes [4, 8]. in test_incomplete_bits()
58 bits::<_, _, InputError<(_, usize)>, _, _>((take(4usize), take(8usize))).parse_peek(input); in test_incomplete_bits()
[all …]
/aosp_15_r20/external/clang/test/SemaCXX/
H A Dpass-object-size.cpp23 …int (*A)(void *) = &Foo; //expected-error{{cannot take address of function 'Foo' because parameter… in Decls()
24 …int (*B)(void *) = Foo; //expected-error{{cannot take address of function 'Foo' because parameter … in Decls()
29 …int (*E)(void *) = &Statics::Foo; //expected-error{{cannot take address of function 'Foo' because … in Decls()
32 …int (*G)(void *) = &Members::Foo; //expected-error{{cannot take address of function 'Foo' because … in Decls()
38 …A = &Foo; //expected-error{{cannot take address of function 'Foo' because parameter 1 has pass_obj… in Assigns()
39 …A = Foo; //expected-error{{cannot take address of function 'Foo' because parameter 1 has pass_obje… in Assigns()
44 …A = &Statics::Foo; //expected-error{{cannot take address of function 'Foo' because parameter 1 has… in Assigns()
48 …M = &Members::Foo; //expected-error{{cannot take address of function 'Foo' because parameter 1 has… in Assigns()
98 …TakeFn(ObjSize); //expected-error{{cannot take address of function 'ObjSize' because parameter 2 h… in Check()
99 …TakeFn(&ObjSize); //expected-error{{cannot take address of function 'ObjSize' because parameter 2 … in Check()
[all …]
/aosp_15_r20/external/trusty/arm-trusted-firmware/docs/getting_started/
Dbuild-options.rst29 - ``ARCH`` : Choose the target build architecture for TF-A. It can take either
62 vector instead of the BL1 entrypoint. It can take the value 0 (CPU reset to BL1
153 release several CPUs out of reset. It can take either 0 (several CPUs may be
190 context. This flag can take values 0 to 2, to align with the
196 switch. This flag can take values 0 to 2, to align with ``ENABLE_FEAT``
202 - ``DEBUG``: Chooses between a debug and release build. It can take either 0
217 This flag can take values 0 to 2, to align with the ``ENABLE_FEAT``
276 Most of the feature flags defined in the TF-A build system permit to take
298 extensions. This flag can take the values 0 to 2, to align with the
302 This flag can take the values 0 to 2, the default is 0.
[all …]
/aosp_15_r20/packages/services/Car/car-lib/src/android/car/navigation/
Dnavigation_state.proto219 // Entrance and exit (e.g. "At the roundabout, take Nth exit") on a
223 // Entrance and sharp right turn exit (e.g. "At the roundabout, take Nth
228 // Entrance and regular right turn exit (e.g. "At the roundabout, take Nth
233 // Entrance and slight right turn exit (e.g. "At the roundabout, take Nth
238 // Entrance and straight exit (e.g. "At the roundabout, take Nth exit") on a
242 // Entrance and sharp left turn exit (e.g. "At the roundabout, take Nth
247 // Entrance and regular left turn exit (e.g. "At the roundabout, take Nth
252 // Entrance and slight left turn exit (e.g. "At the roundabout, take Nth
257 // Entrance and u-turn exit (e.g. "At the roundabout, take Nth exit") on a
262 // Entrance and exit (e.g. "At the roundabout, take Nth exit") on a
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/src/iter/adapters/
H A Dtake.rs11 /// This `struct` is created by the [`take`] method on [`Iterator`]. See its
14 /// [`take`]: Iterator::take
19 pub struct Take<I> { struct
24 impl<I> Take<I> { argument
25 pub(in crate::iter) fn new(iter: I, n: usize) -> Take<I> { in new()
26 Take { iter, n } in new()
31 impl<I> Iterator for Take<I> implementation
133 unsafe impl<I> SourceIter for Take<I> implementation
147 unsafe impl<I: InPlaceIterable> InPlaceIterable for Take<I> { implementation
153 impl<I> DoubleEndedIterator for Take<I> implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/src/iter/adapters/
H A Dtake.rs11 /// This `struct` is created by the [`take`] method on [`Iterator`]. See its
14 /// [`take`]: Iterator::take
19 pub struct Take<I> { struct
24 impl<I> Take<I> { impl
25 pub(in crate::iter) fn new(iter: I, n: usize) -> Take<I> { in new()
26 Take { iter, n } in new()
31 impl<I> Iterator for Take<I> implementation
133 unsafe impl<I> SourceIter for Take<I> implementation
147 unsafe impl<I: InPlaceIterable> InPlaceIterable for Take<I> { implementation
153 impl<I> DoubleEndedIterator for Take<I> implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/src/iter/adapters/
H A Dtake.rs11 /// This `struct` is created by the [`take`] method on [`Iterator`]. See its
14 /// [`take`]: Iterator::take
19 pub struct Take<I> { struct
24 impl<I> Take<I> { impl
25 pub(in crate::iter) fn new(iter: I, n: usize) -> Take<I> { in new()
26 Take { iter, n } in new()
31 impl<I> Iterator for Take<I> implementation
133 unsafe impl<I> SourceIter for Take<I> implementation
147 unsafe impl<I: InPlaceIterable> InPlaceIterable for Take<I> { implementation
153 impl<I> DoubleEndedIterator for Take<I> implementation
[all …]

12345678910>>...842