MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / timeMult

Function timeMult

pkg/component/tasks_internal_test.go:91–95  ·  view source on GitHub ↗
(t time.Duration, c float64)

Source from the content-addressed store, hash-verified

89}
90
91func timeMult(t time.Duration, c float64) time.Duration {
92 ft := float64(t)
93 ft = ft * c
94 return time.Duration(ft)
95}

Callers 1

TestTaskBackoffResetFunction · 0.85

Calls 1

DurationMethod · 0.45

Tested by

no test coverage detected