Time.Wall.ms: def of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/time.bend as Time Lines 104-109 of bend-kube-runtime@0.2.0.0/src/time.bend: https://jend.leeeet.dev/read.txt?path=bend-kube-runtime@0.2.0.0/src/time.bend&start_line=104&end_line=109 import Base # Milliseconds, modulo 2^32: only for differences under 49 days, which # wrap correctly in U32 subtraction. def Wall.ms(w: Wall) -> U32: match w: case Wall{+d, +s, +us}: ((d * 86400 + s) * 1000 + us / 1000 : U32) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.div https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.mul https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/time.bend&name=Wall