Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ clear
Method
clear
crates/stdlib/src/select.rs:163–165 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
161
}
162
163
pub fn clear(&mut self) {
164
unsafe { platform::FD_ZERO(self.0.as_mut_ptr()) };
165
}
166
167
pub fn highest(&mut self) -> Option<RawFd> {
168
(0..platform::FD_SETSIZE as RawFd)
Callers
5
select
Function · 0.45
poll
Method · 0.45
decompress
Method · 0.45
sumprod
Function · 0.45
flush_pending_tls_output
Method · 0.45
Calls
2
FD_ZERO
Function · 0.85
as_mut_ptr
Method · 0.80
Tested by
no test coverage detected