Searched refs:powerset (Results 1 – 12 of 12) sorted by relevance
/external/jemalloc_new/scripts/ |
D | gen_run_tests.py | 16 def powerset(items): function 50 for compiler_opts in powerset(possible_compiler_opts): 51 for config_opts in powerset(possible_config_opts): 52 for malloc_conf_opts in powerset(possible_malloc_conf_opts):
|
/external/rust/crates/itertools/benches/ |
D | powerset.rs | 15 for elt in (0..n).powerset() { in powerset_n()
|
/external/rust/crates/itertools/tests/ |
D | test_std.rs | 874 fn powerset() { in powerset() function 875 it::assert_equal((0..0).powerset(), vec![vec![]]); in powerset() 876 it::assert_equal((0..1).powerset(), vec![vec![], vec![0]]); in powerset() 877 it::assert_equal((0..2).powerset(), vec![vec![], vec![0], vec![1], vec![0, 1]]); in powerset() 878 it::assert_equal((0..3).powerset(), vec![ in powerset() 885 assert_eq!((0..4).powerset().count(), 1 << 4); in powerset() 886 assert_eq!((0..8).powerset().count(), 1 << 8); in powerset() 887 assert_eq!((0..16).powerset().count(), 1 << 16); in powerset()
|
D | quick.rs | 914 correct_size_hint(it.take(12).powerset())
|
/external/rust/crates/itertools/src/ |
D | powerset.rs | 34 pub fn powerset<I>(src: I) -> Powerset<I> in powerset() function
|
D | lib.rs | 139 pub use crate::powerset::Powerset; 219 mod powerset; module 1448 fn powerset(self) -> Powerset<Self> in powerset() method 1452 powerset::powerset(self) in powerset()
|
/external/rust/crates/itertools/ |
D | Cargo.toml.orig | 77 name = "powerset"
|
D | Cargo.toml | 63 name = "powerset"
|
/external/python/cpython3/Lib/test/ |
D | test_set.py | 740 def powerset(s): function 748 u = len({h & mask for h in map(hash, powerset(nums(n)))}) 1803 def powerset(U): function 1808 for S in powerset(U): 1818 for x in powerset(range(n))])
|
/external/python/cpython2/Lib/test/ |
D | test_set.py | 1682 def powerset(U): function 1687 for S in powerset(U): 1697 for x in powerset(range(n))])
|
/external/python/cpython2/Doc/library/ |
D | itertools.rst | 771 def powerset(iterable): 772 "powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)"
|
/external/python/cpython3/Doc/library/ |
D | itertools.rst | 817 def powerset(iterable): 818 "powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)"
|