Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ contains_bytes
Function
contains_bytes
codegraph-kernel/src/cfnptr.rs:182–184 ·
view source on GitHub ↗
(s: &[u8], needle: &[u8])
Source
from the content-addressed store, hash-verified
180
None
181
}
182
183
fn contains_bytes(s: &[u8], needle: &[u8]) -> bool {
184
find_bytes(s, needle, 0).is_some()
185
}
186
187
/// `\bWORD\b` occurrence search from `from`.
Callers
2
scan_fntype_typedefs
Function · 0.85
scan_file
Function · 0.85
Calls
1
find_bytes
Function · 0.85
Tested by
no test coverage detected