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

Method is_in_range

src/backend/linux_raw/reg.rs:192–194  ·  view source on GitHub ↗
(&self, range: Range<isize>)

Source from the content-addressed store, hash-verified

190
191 #[inline]
192 pub(super) fn is_in_range(&self, range: Range<isize>) -> bool {
193 range.contains(&(self.raw as isize))
194 }
195}
196
197impl<Num: RetNumber> FromAsm for RetReg<Num> {

Callers 8

try_decode_c_intFunction · 0.80
try_decode_c_uintFunction · 0.80
try_decode_usizeFunction · 0.80
try_decode_void_starFunction · 0.80
try_decode_u64Function · 0.80
try_decode_raw_fdFunction · 0.80
try_decode_voidFunction · 0.80
try_decode_errorFunction · 0.80

Calls 1

containsMethod · 0.80

Tested by

no test coverage detected