Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PushFront (0.06 sec)

  1. internal/lru/lru.go

    		return
    	}
    	e.prev.next = e.next
    	e.next.prev = e.prev
    
    	e.prev = at
    	e.next = at.next
    	e.prev.next = e
    	e.next.prev = e
    }
    
    // PushFront inserts a new element e with value v at the front of list l and returns e.
    func (l *LruList[K, V]) PushFront(k K, v V) *Entry[K, V] {
    	l.lazyInit()
    	return l.insertValue(k, v, time.Time{}, &l.root)
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. api/go1.txt

    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
    pkg container/list, method (*List) PushFrontList(*List)
    pkg container/list, method (*List) Remove(*Element) interface{}
    pkg container/list, type Element struct
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top