MCPcopy Create free account
hub / github.com/asterinas/vostd / has_zero

Function has_zero

kernel/src/context.rs:302–307  ·  view source on GitHub ↗

Determines whether the value contains a zero byte. This magic algorithm is from the Linux `has_zero` function:

(value: usize)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

read_until_nul_byteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected