Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PushBack (0.07 sec)

  1. test/typeparam/list2.go

    	var l _List[int]
    	l.PushBack(1)
    	l.PushBack(2)
    	l.PushBack(3)
    	l.InsertBefore(1, new(_Element[int]))
    	checkList(&l, []interface{}{1, 2, 3})
    }
    
    // Test that a list l is not modified when calling InsertAfter with a mark that is not an element of l.
    func TestInsertAfterUnknownMark() {
    	var l _List[int]
    	l.PushBack(1)
    	l.PushBack(2)
    	l.PushBack(3)
    	l.InsertAfter(1, new(_Element[int]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top