You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added _Static_assert to enforce macro constraints at compile time
Refactored meson build system to use standard project template style
Bug Fixes:
Added tombstone markers (LRU_CACHE_HASH_TOMBSTONE = -2) to maintain linear probing chain integrity after eviction, preventing valid entries from becoming invisible when earlier slots are deleted
Fixed lru_cache_put algorithm and cleanup behaviors
Return false when eviction probe fails to find hash slot, preventing stale entry corruption
Clamp capacity to max entries instead of silently rejecting oversized values
Fixed MISRA violation by removing const from lru_cache_get parameter
Ensured hash lookup test function is within the lookup strategy define guard to prevent compile-time warning for unused function
Documentation:
Updated AGENTS.md with a section for validation requirements