1 viewer
rust 1,863,595 · typescript 235,774 · javascript 133,240 · python 20,426 · 6,417 files · digest 0b3c7cffac51 · built in 1.9 s · crystals off
crates/cre8-app-gateway/src/request_identity.rs
Items
const IDENTITY_CACHE_TTL_MS const IDENTITY_CACHE_NEGATIVE_TTL_MS const IDENTITY_CACHE_CAP struct CachedIdentity static CACHE
Functions
By call-graph weight (PageRank; 1.0 is the average function). 16 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| resolve_token_accountsrc/request_identity.rs:140 | fn | 18 | 4 | 5 | 6 | 2.3 | |
| cache_keysrc/request_identity.rs:80 | fn | 3 | 1 | 6 | 1 | 1.7 | |
| remember_accountsrc/request_identity.rs:101 | fn | 14 | 6 | 5 | 0 | 1.3 | |
| cached_accountsrc/request_identity.rs:88 | fn | 10 | 4 | 4 | 0 | 1.1 | |
| cachesrc/request_identity.rs:166 | fn | 3 | 1 | 4 | 0 | 1 | |
| identity_cachesrc/request_identity.rs:71 | fn | 4 | 1 | 1 | 0 | 0.8 | |
| resolve_request_peersrc/request_identity.rs:121 | fn | 10 | 1 | 1 | 4 | 0.5 | |
| cached_answers_are_keyed_to_their_own_tokensrc/request_identity.rs:174 | fn | 14 | 1 | 0 | 4 | 0.5 | |
| negative_answers_expire_sooner_than_positive_onessrc/request_identity.rs:193 | fn | 18 | 1 | 0 | 4 | 0.5 | |
| expired_entries_stop_attributingsrc/request_identity.rs:216 | fn | 8 | 1 | 0 | 4 | 0.5 | |
| the_cache_stays_bounded_under_a_token_floodsrc/request_identity.rs:228 | fn | 7 | 2 | 0 | 3 | 0.5 | |
| a_token_the_session_store_rejects_attributes_nobodysrc/request_identity.rs:241 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| a_validated_token_attributes_the_account_the_store_namedsrc/request_identity.rs:249 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| two_tokens_resolve_independentlysrc/request_identity.rs:259 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| a_repeat_inside_the_ttl_never_reaches_the_session_storesrc/request_identity.rs:275 | fn | 11 | 1 | 0 | 1 | 0.5 | |
| the_key_is_a_hash_not_the_tokensrc/request_identity.rs:290 | fn | 7 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.