MCPcopy Create free account
hub / github.com/Standard-Intelligence/hertz-dev / round_up_multiple

Function round_up_multiple

ioblocks.py:106–107  ·  view source on GitHub ↗
(num, mult)

Source from the content-addressed store, hash-verified

104 return l[0]
105
106def round_up_multiple(num, mult):
107 return ceil(num / mult) * mult
108
109def get_code_utilization(codes, codebook_size, get_global=False):
110 if get_global and dist.is_initialized():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected