Home
last modified time | relevance | path

Searched refs:powerset (Results 1 – 12 of 12) sorted by relevance

/external/jemalloc_new/scripts/
Dgen_run_tests.py16 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/
Dpowerset.rs15 for elt in (0..n).powerset() { in powerset_n()
/external/rust/crates/itertools/tests/
Dtest_std.rs874 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()
Dquick.rs914 correct_size_hint(it.take(12).powerset())
/external/rust/crates/itertools/src/
Dpowerset.rs34 pub fn powerset<I>(src: I) -> Powerset<I> in powerset() function
Dlib.rs139 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/
DCargo.toml.orig77 name = "powerset"
DCargo.toml63 name = "powerset"
/external/python/cpython3/Lib/test/
Dtest_set.py740 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/
Dtest_set.py1682 def powerset(U): function
1687 for S in powerset(U):
1697 for x in powerset(range(n))])
/external/python/cpython2/Doc/library/
Ditertools.rst771 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/
Ditertools.rst817 def powerset(iterable):
818 "powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)"