Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ is_negative
Method
is_negative
src/backend/linux_raw/reg.rs:187–189 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
185
186
#[inline]
187
pub(super) fn is_negative(&self) -> bool {
188
(self.raw as isize) < 0
189
}
190
191
#[inline]
192
pub(super) fn is_in_range(&self, range: Range<isize>) -> bool {
Callers
1
try_decode_raw_fd
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected