- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for MoveToFront (0.07 seconds)
-
internal/lru/lru.go
l.lazyInit() return l.insertValue(k, v, expiresAt, &l.root) } // MoveToFront moves element e to the front of list l. // If e is not an element of l, the list is not modified. // The element must not be nil. func (l *LruList[K, V]) MoveToFront(e *Entry[K, V]) { if e.list != l || l.root.next == e { return } // see comment in List.Remove about initialization of l
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 12.5K bytes - Click Count (0) -
api/go1.txt
pkg container/list, method (*List) InsertBefore(interface{}, *Element) *Element pkg container/list, method (*List) Len() int pkg container/list, method (*List) MoveToBack(*Element) pkg container/list, method (*List) MoveToFront(*Element) pkg container/list, method (*List) PushBack(interface{}) *Element pkg container/list, method (*List) PushBackList(*List) pkg container/list, method (*List) PushFront(interface{}) *Element
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Click Count (0)