MCPcopy Create free account
hub / github.com/MagnetForensics/dumpit-linux / round_up

Function round_up

src/main.rs:91–93  ·  view source on GitHub ↗
(x: usize, y: usize)

Source from the content-addressed store, hash-verified

89 " (", env!("VERGEN_GIT_COMMIT_TIMESTAMP"), ")");
90
91fn round_up(x: usize, y: usize) -> usize {
92 ((x + (y - 1)) / y) * y
93}
94
95fn pause() {
96 let mut stdin = io::stdin();

Callers 2

reserve_program_notesMethod · 0.85
build_elf_headerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected