Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
22
def
powerset(items):
23
result = []
24
for
i in xrange(len(items) + 1):
25
result += combinations(items, i)
26
return
result
27
28
possible_compilers = []
29
for
cc, cxx in ([
'gcc'
,
'g++'
], [
'clang'
,
'clang++'
]):
Callers
1
gen_run_tests.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected