1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,952 · python 20,426 · 6,408 files · digest f72e9ad3d771 · built in 1.3 s · crystals off
crates/cre8-app-compute/src/cache.rs
Items
struct ResultCache struct CacheEntry impl ResultCache struct CacheStats
Functions
By call-graph weight (PageRank; 1.0 is the average function). 15 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| ResultCache::cache_keysrc/cache.rs:39 | method | 3 | 1 | 11 | 0 | 3.9 | |
| ResultCache::newsrc/cache.rs:34 | method | 3 | 1 | 7 | 0 | 3.8 | |
| ResultCache::putsrc/cache.rs:62 | method | 20 | 5 | 11 | 0 | 1.9 | |
| make_entrysrc/cache.rs:121 | fn | 15 | 1 | 5 | 1 | 1.2 | |
| ResultCache::getsrc/cache.rs:45 | method | 15 | 3 | 0 | 1 | 0.5 | |
| ResultCache::containssrc/cache.rs:84 | method | 3 | 1 | 0 | 1 | 0.5 | |
| ResultCache::statssrc/cache.rs:89 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ResultCache::get_by_ir_hashsrc/cache.rs:98 | method | 3 | 1 | 0 | 0 | 0.5 | |
| ResultCache::clearsrc/cache.rs:103 | method | 4 | 1 | 0 | 0 | 0.5 | |
| test_put_and_getsrc/cache.rs:138 | fn | 16 | 1 | 0 | 3 | 0.5 | |
| test_lru_evictionsrc/cache.rs:156 | fn | 26 | 1 | 0 | 3 | 0.5 | |
| test_hit_countsrc/cache.rs:184 | fn | 8 | 1 | 0 | 3 | 0.5 | |
| test_cache_keysrc/cache.rs:194 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| test_statssrc/cache.rs:200 | fn | 18 | 1 | 0 | 3 | 0.5 | |
| test_clearsrc/cache.rs:220 | fn | 10 | 1 | 0 | 3 | 0.5 |
Source not readable from this process.