Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/compile/internal/ssa/_gen/allocators.go

    	name string // name for alloc/free functions
    	typ  string // the type they return/accept
    	base string // underlying allocator
    }
    
    func genAllocators() {
    	allocators := []allocator{
    		{
    			name:     "ValueSlice",
    			typ:      "[]*Value",
    			capacity: "cap(%s)",
    			mak:      "make([]*Value, %s)",
    			resize:   "%s[:%s]",
    			clear:    "for i := range %[1]s {\n%[1]s[i] = nil\n}",
    			minLog:   5,
    			maxLog:   32,
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top