MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / add

Method add

src/timespec.rs:230–233  ·  view source on GitHub ↗
(self, rhs: Self)

Source from the content-addressed store, hash-verified

228 type Output = Self;
229
230 fn add(self, rhs: Self) -> Self {
231 self.checked_add(rhs)
232 .expect("overflow when adding timespecs")
233 }
234}
235
236impl AddAssign for Timespec {

Callers 13

read_sun_path0Function · 0.80
init_from_sysinfo_ehdrFunction · 0.80
match_versionMethod · 0.80
check_symMethod · 0.80
symMethod · 0.80
base_plusMethod · 0.80
nextMethod · 0.80
init_from_envpFunction · 0.80
init_from_auxpFunction · 0.80
with_c_strFunction · 0.80
with_c_str_slow_pathFunction · 0.80
next_backMethod · 0.80

Calls 1

checked_addMethod · 0.80

Tested by

no test coverage detected