- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for HashiCorp (0.04 seconds)
-
internal/lru/lru.go
// Package lru provides a thread-safe Least Recently Used (LRU) cache with expirable entries. package lru // golang -lru // https://github.com/hashicorp/golang-lru import ( "sync" "time" ) // EvictCallback is used to get a callback when a cache entry is evicted type EvictCallback[K comparable, V any] func(key K, value V) // LRU implements a thread-safe LRU with expirable entries. type LRU[K comparable, V any] struct { size int
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 12.6K bytes - Click Count (0)