Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/douchuan/algorithm
/ byte_at
Function
byte_at
src/common/util.rs:32–34 ·
view source on GitHub ↗
(s: &str, d: usize)
Source
from the content-addressed store, hash-verified
30
/// uncheck version of byte_at
31
#[inline(always)]
32
pub fn byte_at(s: &str, d: usize) -> usize {
33
s.as_bytes()[d] as usize
34
}
35
36
#[test]
37
fn t_vec_alphabet() {
Callers
13
longest_prefix_of
Method · 0.85
get_dth
Function · 0.85
put_dth
Function · 0.85
collect_match
Function · 0.85
put_dth
Method · 0.85
delete_dth
Method · 0.85
get_dth
Function · 0.85
collect_match
Function · 0.85
longest_prefix_of_dth
Function · 0.85
search
Method · 0.85
from
Method · 0.85
search1
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected