Documentation ¶ Index ¶ type LRUIds func NewLRUIds(capacity int) *LRUIds func (l *LRUIds) LeastRecent() (uint32, bool) func (l *LRUIds) MoveTailToHead() (uint32, bool) func (l *LRUIds) PushBack(id uint32) func (l *LRUIds) Put(id uint32) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type LRUIds ¶ type LRUIds struct { // contains filtered or unexported fields } func NewLRUIds ¶ func NewLRUIds(capacity int) *LRUIds func (*LRUIds) LeastRecent ¶ func (l *LRUIds) LeastRecent() (uint32, bool) func (*LRUIds) MoveTailToHead ¶ func (l *LRUIds) MoveTailToHead() (uint32, bool) func (*LRUIds) PushBack ¶ func (l *LRUIds) PushBack(id uint32) func (*LRUIds) Put ¶ func (l *LRUIds) Put(id uint32) Source Files ¶ View all Source files int_lru.go Click to show internal directories. Click to hide internal directories.