Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AI45Lab/Code
/ tokens_to_i32
Function
tokens_to_i32
core/src/ahp/runtime_state.rs:194–196 ·
view source on GitHub ↗
(tokens: usize)
Source
from the content-addressed store, hash-verified
192
}
193
194
fn tokens_to_i32(tokens: usize) -> i32 {
195
i32::try_from(tokens).unwrap_or(i32::MAX)
196
}
Callers
1
observe_agent_event
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected