MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / has_feature

Function has_feature

virtio-devices/src/block.rs:172–174  ·  view source on GitHub ↗
(features: u64, feature_flag: u64)

Source from the content-addressed store, hash-verified

170}
171
172fn has_feature(features: u64, feature_flag: u64) -> bool {
173 (features & (1u64 << feature_flag)) != 0
174}
175
176impl BlockEpollHandler {
177 fn check_request(

Callers 2

check_requestMethod · 0.85
read_onlyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected