MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / powerset

Function powerset

deps/jemalloc/scripts/gen_run_tests.py:22–26  ·  view source on GitHub ↗
(items)

Source from the content-addressed store, hash-verified

20 make_cmd = 'make'
21
22def powerset(items):
23 result = []
24 for i in xrange(len(items) + 1):
25 result += combinations(items, i)
26 return result
27
28possible_compilers = []
29for cc, cxx in (['gcc', 'g++'], ['clang', 'clang++']):

Callers 1

gen_run_tests.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected