MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / scaled_count

Function scaled_count

xtask/src/main.rs:4500–4502  ·  view source on GitHub ↗
(base: usize, scale: f64)

Source from the content-addressed store, hash-verified

4498}
4499
4500fn scaled_count(base: usize, scale: f64) -> usize {
4501 ((base as f64 * scale).round() as usize).max(1)
4502}
4503
4504fn speed_create_and_insert(
4505 table: &str,

Callers 1

speed_casesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected