Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SetArgRegs (0.44 sec)

  1. src/reflect/abi_test.go

    	// Enable register-based reflect.Call and ensure we don't
    	// use potentially incorrect cached versions by clearing
    	// the cache before we start and after we're done.
    	defer reflect.SetArgRegs(reflect.SetArgRegs(abi.IntArgRegs, abi.FloatArgRegs, abi.EffectiveFloatRegSize))
    
    	// This test is simple. Calling a method value involves
    	// pretty much just plumbing whatever arguments in whichever
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 26.4K bytes
    - Viewed (0)
  2. src/reflect/export_test.go

    func ResolveReflectName(s string) {
    	resolveReflectName(newName(s, "", false, false))
    }
    
    type Buffer struct {
    	buf []byte
    }
    
    func clearLayoutCache() {
    	layoutCache = sync.Map{}
    }
    
    func SetArgRegs(ints, floats int, floatSize uintptr) (oldInts, oldFloats int, oldFloatSize uintptr) {
    	oldInts = intArgRegs
    	oldFloats = floatArgRegs
    	oldFloatSize = floatRegSize
    	intArgRegs = ints
    	floatArgRegs = floats
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/reflect/all_test.go

    	}
    	for _, lt := range tests {
    		name := lt.typ.String()
    		if lt.rcvr != nil {
    			name = lt.rcvr.String() + "." + name
    		}
    		t.Run(name, func(t *testing.T) {
    			defer SetArgRegs(SetArgRegs(lt.intRegs, lt.floatRegs, lt.floatRegSize))
    
    			typ, argsize, retOffset, stack, gc, inRegs, outRegs, ptrs := FuncLayout(lt.typ, lt.rcvr)
    			if typ.Size() != lt.size {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top