Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for genAllocators (0.52 sec)

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

    }
    
    type derived struct {
    	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]",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/main.go

    	// that stops being the case, we can cap this func to a fixed number of
    	// architectures being generated at once.
    
    	tasks := []func(){
    		genOp,
    		genAllocators,
    	}
    	for _, a := range archs {
    		a := a // the funcs are ran concurrently at a later time
    		tasks = append(tasks, func() {
    			genRules(a)
    			genSplitLoadRules(a)
    			genLateLowerRules(a)
    		})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 16.9K bytes
    - Viewed (0)
Back to top