Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/utils
/ init
Function
init
cpufeatures/tests/x86.rs:8–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
6
7
#[test]
8
fn init() {
9
let token: cpuid::InitToken = cpuid::init();
10
assert_eq!(token.get(), cpuid::get());
11
}
12
13
#[test]
14
fn init_get() {
Callers
3
init
Method · 0.50
high_level_api
Function · 0.50
asm_wrappers
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected