/external/rust/crates/itertools/benches/ |
D | combinations_with_replacement.rs | 7 for i in (0..10).combinations_with_replacement(5) { in comb_replacement_n10_k5() 17 for i in (0..5).combinations_with_replacement(10) { in comb_replacement_n5_k10() 27 for i in (0..10).combinations_with_replacement(10) { in comb_replacement_n10_k10()
|
/external/rust/crates/itertools/tests/ |
D | adaptors_no_collect.rs | 45 no_collect_test(|iter| iter.combinations_with_replacement(5)) in combinations_with_replacement_no_collect()
|
D | test_std.rs | 903 fn combinations_with_replacement() { in combinations_with_replacement() function 905 it::assert_equal((0..1).combinations_with_replacement(2), vec![vec![0, 0]]); in combinations_with_replacement() 908 (0..3).combinations_with_replacement(2), in combinations_with_replacement() 920 (0..3).combinations_with_replacement(0), in combinations_with_replacement() 925 (0..0).combinations_with_replacement(0), in combinations_with_replacement() 930 (0..0).combinations_with_replacement(2), in combinations_with_replacement()
|
D | quick.rs | 1618 is_fused(a.clone().combinations_with_replacement(1)) && 1619 is_fused(a.combinations_with_replacement(3))
|
/external/rust/crates/itertools/src/ |
D | combinations_with_replacement.rs | 42 pub fn combinations_with_replacement<I>(iter: I, k: usize) -> CombinationsWithReplacement<I> in combinations_with_replacement() function
|
D | lib.rs | 118 pub use crate::combinations_with_replacement::CombinationsWithReplacement; 196 mod combinations_with_replacement; module 1510 fn combinations_with_replacement(self, k: usize) -> CombinationsWithReplacement<Self> in combinations_with_replacement() method 1515 combinations_with_replacement::combinations_with_replacement(self, k) in combinations_with_replacement()
|
/external/rust/crates/itertools/ |
D | Cargo.toml.orig | 62 name = "combinations_with_replacement"
|
D | Cargo.toml | 48 name = "combinations_with_replacement"
|
D | CHANGELOG.md | 69 - Fix `combinations(0)` and `combinations_with_replacement(0)` (#383) 98 …- [`.combinations_with_replacement(k)`](https://docs.rs/itertools/0.8.1/itertools/trait.Itertools.… 100 `[0, 1, 2].iter().combinations_with_replacement(2)` yields
|
/external/python/cpython2/Doc/library/ |
D | itertools.rst | 74 :func:`combinations_with_replacement` p, r r-length tuples, in sor… 78 ``combinations_with_replacement('ABCD', 2)`` ``AA AB AC AD BB BC BD … 170 .. function:: combinations_with_replacement(iterable, r) 185 def combinations_with_replacement(iterable, r): 186 # combinations_with_replacement('ABC', 2) --> AA AB AC BB BC CC 202 The code for :func:`combinations_with_replacement` can be also expressed as 206 def combinations_with_replacement(iterable, r): 842 "Random selection from itertools.combinations_with_replacement(iterable, r)"
|
D | collections.rst | 216 elements, see :func:`itertools.combinations_with_replacement`. 218 map(Counter, combinations_with_replacement('ABC', 2)) --> AA AB AC BB BC CC
|
/external/python/cpython3/Doc/library/ |
D | itertools.rst | 73 :func:`combinations_with_replacement` p, r r-length tuples, in sor… 82 ``combinations_with_replacement('ABCD', 2)`` ``AA AB AC AD BB BC BD CC CD DD`` 247 .. function:: combinations_with_replacement(iterable, r) 262 def combinations_with_replacement(iterable, r): 263 # combinations_with_replacement('ABC', 2) --> AA AB AC BB BC CC 279 The code for :func:`combinations_with_replacement` can be also expressed as 283 def combinations_with_replacement(iterable, r): 985 "Random selection from itertools.combinations_with_replacement(iterable, r)"
|
D | collections.rst | 444 elements, see :func:`itertools.combinations_with_replacement`:: 446 map(Counter, combinations_with_replacement('ABC', 2)) # --> AA AB AC BB BC CC
|
/external/python/cpython2/Lib/test/ |
D | test_itertools.py | 118 for indices in combinations_with_replacement(range(n), r): 151 cwr = combinations_with_replacement 219 combinations_with_replacement("AA", 2**30) 223 cwr = combinations_with_replacement 305 cwr = list(combinations_with_replacement(s, r)) 1025 self.assertEqual(list(combinations_with_replacement('ABC', 2)), 1155 self.makecycle(combinations_with_replacement([1,2,a,3], 3), a)
|
/external/python/cpython3/Lib/test/ |
D | test_itertools.py | 263 for indices in combinations_with_replacement(range(n), r): 300 cwr = combinations_with_replacement 378 combinations_with_replacement("AA", 2**30) 383 cwr = combinations_with_replacement 468 cwr = list(combinations_with_replacement(s, r)) 1595 it = combinations_with_replacement([None, []], 1) 1667 self.assertEqual(list(combinations_with_replacement('ABC', 2)), 1801 self.makecycle(combinations_with_replacement([1,2,a,3], 3), a) 2263 cwr = combinations_with_replacement
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.1.rst | 263 :func:`itertools.combinations_with_replacement` function is one of 271 >>> [p+q for p,q in combinations_with_replacement('LOVE', 2)]
|
D | 2.7.rst | 1370 New function: ``itertools.combinations_with_replacement(iter, r)`` 1375 itertools.combinations_with_replacement('abc', 2) =>
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.10rc1.rst | 506 Fixed possible integer overflow in itertools.combinations_with_replacement.
|
D | 2.7a1.rst | 4056 Added new itertools functions: combinations_with_replacement() and
|
/external/python/cpython3/Doc/howto/ |
D | functional.rst | 931 The :func:`itertools.combinations_with_replacement(iterable, r) <itertools.combinations_with_replac… 937 itertools.combinations_with_replacement([1, 2, 3, 4, 5], 2) =>
|
/external/tensorflow/tensorflow/python/ops/numpy_ops/ |
D | np_array_ops_test.py | 1207 for arys in itertools.combinations_with_replacement(possible_arys, r):
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.10.0a3.rst | 43 - :func:`itertools.combinations_with_replacement`
|
/external/mesa3d/src/compiler/nir/ |
D | nir_opt_algebraic.py | 1606 for left, right in itertools.combinations_with_replacement(invert.keys(), 2):
|
/external/tensorflow/tensorflow/python/ops/ |
D | image_ops_test.py | 5710 for t in itertools.combinations_with_replacement(img, 2) 5869 for t in itertools.combinations_with_replacement(img, 2)
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.7.rst | 1355 New function: ``itertools.combinations_with_replacement(iter, r)`` 1360 itertools.combinations_with_replacement('abc', 2) =>
|