Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FreeListG (0.09 sec)

  1. test/fixedbugs/issue57778.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    type FreeListG[T any] struct {
    	freelist []*node[T]
    }
    
    type node[T any] struct{}
    
    func NewFreeListG[T any](size int) *FreeListG[T] {
    	return &FreeListG[T]{freelist: make([]*node[T], 0, size)}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 22:13:42 UTC 2023
    - 412 bytes
    - Viewed (0)
Back to top