- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CheckListLen (0.31 sec)
-
test/typeparam/list2.go
ret.PushBack(f(p.Value)) } return ret } func checkListLen[T any](l *_List[T], len int) bool { if n := l.Len(); n != len { panic(fmt.Sprintf("l.Len() = %d, want %d", n, len)) return false } return true } func checkListPointers[T any](l *_List[T], es []*_Element[T]) { root := &l.root if !checkListLen(l, len(es)) { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 15.3K bytes - Viewed (0)