/external/rust/crates/peeking_take_while/ |
D | Cargo.toml | 3 …take_while`, but calls the predicate on a peeked value. This allows you to use `Iterator::by_ref` … 5 keywords = ["iterator", "take_while", "peek", "by_ref"]
|
D | README.md | 7 The `peeking_take_while` method is very similar to `take_while`, but behaves 14 hand, `take_while` will consume that first item for which the predicate returns 27 // the elements. With the `xs`, we will use the normal `take_while`. With the 39 let xs_less_than_ten = iter_xs.by_ref().take_while(|x| *x < 10); 53 // ...except, when using plain old `take_while` we lost 10!
|
D | METADATA | 2 …take_while`, but calls the predicate on a peeked value. This allows you to use `Iterator::by_ref` …
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | take_while_test.py | 46 take_while = take_while_ops.take_while(_predicate_func) 49 dataset = dataset.apply(take_while).flat_map( 70 take_while_ops.take_while(lambda x: x < upper_bound)) 87 take_while_ops.take_while(not_equal("test"))) 112 take_while_ops.take_while(_predicate_func)) 125 take_while_ops.take_while(lambda x: x < 2)).repeat(5)
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/ |
D | rx-take_while.hpp | 42 struct take_while struct 49 take_while(test_type t) in take_while() function 100 auto take_while(AN&&... an) in take_while() function 112 class TakeWhile = rxo::detail::take_while<SourceValue, rxu::decay_t<Predicate>>>
|
/external/Reactive-Extensions/RxCpp/Rx/v2/test/operators/ |
D | take_while.cpp | 35 .take_while(not_equal_to(4)) in __anon1486c22e0202() 96 .take_while(not_equal_to(0)) in __anon1486c22e0302() 173 .take_while(not_equal_to(72)) in __anon1486c22e0402() 245 .take_while(not_equal_to(0)) in __anon1486c22e0502() 322 .take_while(not_equal_to(10)) in __anon1486c22e0602() 398 .take_while(not_equal_to(1)) in __anon1486c22e0702() 460 .take_while(not_equal_to(100)) in __anon1486c22e0802() 521 .take_while(not_equal_to(1)) in __anon1486c22e0902()
|
/external/rust/crates/nom/tests/ |
D | ini.rs | 6 bytes::complete::take_while, 16 map_res(delimited(char('['), take_while(|c| c != b']'), char(']')), str::from_utf8)(i) in category() 30 take_while!(call!(|c| c != b'\n' && c != b';')), 33 >> opt!(pair!(char!(';'), take_while!(call!(|c| c != b'\n'))))
|
D | ini_str.rs | 7 bytes::complete::{take_while, is_a}, 19 take_while(|c| c != '\r' && c != '\n')(i) in not_line_ending() 27 terminated(delimited(char('['), take_while(|c| c != ']'), char(']')), opt(is_a(" \r\n")))(i) in category()
|
D | inference.rs | 29 map_res!(take_while!(call!(|c| c != b'\n')), std::str::from_utf8)
|
/external/rust/crates/nom/src/bytes/ |
D | macros.rs | 208 macro_rules! take_while ( macro 210 let res: $crate::IResult<_, _, _> = take_while!($input, (|c| $submac!(c, $($args)*))); 214 $crate::bytes::streaming::take_while($f)($input) 734 fn take_while() { 735 named!(f, take_while!(is_alphabetic)); 811 named!(f<&str,&str>, take_while!(|c:char| { c != '點' })); 818 named!(g<&str,&str>, take_while!(|c:char| { c == '點' })); 852 named!(g<&str,&str>, take_while!(|c:char| { c == '點' })); 879 named!(f, take_while!(is_alphabetic)); 887 named!(x, take_while!(is_alphanumeric));
|
/external/rust/crates/tokio-stream/src/ |
D | stream_ext.rs | 48 mod take_while; module 49 use take_while::TakeWhile; 482 fn take_while<F>(self, f: F) -> TakeWhile<Self, F> in take_while() method
|
/external/rust/crates/nom/src/ |
D | str.rs | 153 fn take_while() { in take_while() function 154 named!(f<&str,&str>, take_while!(is_alphabetic)); in take_while() 225 take_while!(input, while_s) in take_while_succeed_none() 289 take_while!(input, while_s) in take_while_succeed_some()
|
/external/rust/crates/unicode-normalization/src/ |
D | stream_safe.rs | 158 .take_while(|&c| canonical_combining_class(*c) != 0) in test_classify_nonstarters() 163 .take_while(|&c| canonical_combining_class(*c) != 0) in test_classify_nonstarters()
|
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/doxygen/ |
D | take_while.cpp | 9 take_while([](int v){ in __anon7c57594c0102()
|
/external/llvm-project/llvm/unittests/ADT/ |
D | ArrayRefTest.cpp | 148 EXPECT_EQ(Expected, AR1.take_while([](const int &N) { return N % 2 == 1; })); in TEST() 151 AR1.take_while([](const int &N) { return N < 0; })); in TEST() 152 EXPECT_EQ(AR1, AR1.take_while([](const int &N) { return N > 0; })); in TEST()
|
/external/rust/crates/protobuf/src/text_format/lexer/ |
D | lexer_impl.rs | 150 self.take_while(|c| c.is_whitespace()); in skip_whitespaces() 217 pub fn take_while<F>(&mut self, f: F) -> &'a str in take_while() method 343 let s = self.take_while(|c| c.is_ascii_hexdigit()); in next_hex_lit_opt() 360 clone.take_while(|c| c.is_ascii_digit()); in next_decimal_octal_lit_opt() 397 self.take_while(|c| c >= '0' && c <= '9'); in next_decimal_digits()
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/ |
D | take_while_dataset_serialization_test.py | 36 take_while_ops.take_while(lambda x: x < upper_bound))
|
/external/tensorflow/tensorflow/python/data/experimental/ops/ |
D | take_while_ops.py | 56 def take_while(predicate): function
|
/external/rust/crates/fallible-iterator/src/ |
D | test.rs | 376 fn take_while() { in take_while() function 379 it.clone().take_while(|x| Ok(*x < 0)).collect::<Vec<_>>(), in take_while() 383 it.clone().take_while(|x| Ok(*x < 2)).collect::<Vec<_>>(), in take_while() 387 it.clone().take_while(|x| Ok(*x < 4)).collect::<Vec<_>>(), in take_while()
|
/external/rust/crates/fallible-iterator/ |
D | CHANGELOG.md | 21 * Added `step_by`, `for_each`, `skip_while`, `take_while`, `skip`, `scan`, `flat_map`, `flatten`, `…
|
/external/Reactive-Extensions/RxCpp/projects/nuget/ |
D | rxcpp.autoconfig | 15 … changes to make repeat(0) and retry(0), VC2017 support, coroutines support, take_while, is_empty";
|
/external/rust/crates/futures-util/src/stream/stream/ |
D | mod.rs | 140 mod take_while; module 142 pub use self::take_while::TakeWhile; 782 fn take_while<Fut, F>(self, f: F) -> TakeWhile<Self, Fut, F> in take_while() method
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Testing/Support/ |
D | Annotations.cpp | 56 Name = Text.take_while(llvm::isAlnum); in Annotations()
|
/external/llvm-project/llvm/lib/Testing/Support/ |
D | Annotations.cpp | 56 Name = Text.take_while(llvm::isAlnum); in Annotations()
|
/external/rust/crates/plotters/src/coord/ranged1d/combinators/ |
D | group_by.rs | 97 .take_while(|&idx| idx < size) in key_points()
|