Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
197
impl<Num: RetNumber> FromAsm for RetReg<Num> {
Callers
8
try_decode_c_int
Function · 0.80
try_decode_c_uint
Function · 0.80
try_decode_usize
Function · 0.80
try_decode_void_star
Function · 0.80
try_decode_u64
Function · 0.80
try_decode_raw_fd
Function · 0.80
try_decode_void
Function · 0.80
try_decode_error
Function · 0.80
Calls
1
contains
Method · 0.80
Tested by
no test coverage detected