Searched defs:reduce (Results 1 - 8 of 8) sorted by relevance

/pkg/src/tests/cli/
H A Dt_pkg_contents.py35 from functools import reduce namespace
239 expected_res = reduce(lambda x, y: x + y,
/pkg/src/modules/client/
H A Dpkgplan.py42 from functools import reduce namespace
510 return reduce(sum_dest_size, itertools.chain(*self.actions),
H A Dpkg_solver.py36 from functools import reduce namespace
526 needed to reduce the size of clauses and to provide error
1230 # reduce collateral damage to other packages
2052 all_keys = reduce(set.intersection,
2057 (reduce(set.union,
2060 reduce(set.intersection,
2084 # one item in the list for reduce to work.
2094 reduce(set.intersection, ret[pkg_name][0]),
2095 reduce(set.union, ret[pkg_name][1]))
H A Dimageplan.py46 from functools import cmp_to_key, reduce namespace
369 # reduce the pain in comparing json data type.
4372 # reduce memory consumption
5101 # reduce memory consumption
5634 (pkg_name, reduce(operator.or_,
/pkg/src/util/publish/
H A Dpkgmerge.py52 from functools import reduce namespace
379 in_none = reduce(lambda x, y: x & y,
800 allactions = reduce(lambda a, b: a + b, action_lists)
/pkg/src/tests/
H A Drun.py32 from functools import reduce namespace
318 found = reduce(lambda x, y: x or y,
/pkg/src/modules/
H A Dmanifest.py29 from functools import reduce namespace
340 common_keys = reduce(lambda a, b: a & b, m_sets)
1154 # To reduce manifest bloat, size and csize
1618 """Unload manifest; used to reduce peak memory comsumption
/pkg/src/modules/client/linkedimage/
H A Dcommon.py52 # Redefining built-in 'reduce', 'zip'; pylint: disable=W0622
54 from functools import reduce namespace
2120 lic_all = reduce(operator.add,

Completed in 59 milliseconds