Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IntArgRegBitmap (0.38 sec)

  1. src/internal/abi/abi.go

    	}
    	return unsafe.Pointer(uintptr(unsafe.Pointer(&r.Ints[reg])) + offset)
    }
    
    // IntArgRegBitmap is a bitmap large enough to hold one bit per
    // integer argument/return register.
    type IntArgRegBitmap [(IntArgRegs + 7) / 8]uint8
    
    // Set sets the i'th bit of the bitmap to 1.
    func (b *IntArgRegBitmap) Set(i int) {
    	b[i/8] |= uint8(1) << (i % 8)
    }
    
    // Get returns whether the i'th bit of the bitmap is set.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 23 15:51:32 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/reflect/abi.go

    	// to make result pointers visible to the GC.
    	//
    	// outRegPtrs is the same, but for result values.
    	// Used by reflectcall to make result pointers visible
    	// to the GC.
    	inRegPtrs, outRegPtrs abi.IntArgRegBitmap
    }
    
    func (a *abiDesc) dump() {
    	println("ABI")
    	println("call")
    	a.call.dump()
    	println("ret")
    	a.ret.dump()
    	println("stackCallArgsSize", a.stackCallArgsSize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. src/reflect/makefunc.go

    // Any changes should be reflected in all both.
    type makeFuncCtxt struct {
    	fn      uintptr
    	stack   *bitVector // ptrmap for both stack args and results
    	argLen  uintptr    // just args
    	regPtrs abi.IntArgRegBitmap
    }
    
    // moveMakeFuncArgPtrs uses ctxt.regPtrs to copy integer pointer arguments
    // in args.Ints to args.Ptrs where the GC can see them.
    //
    // This is similar to what reflectcallmove does in the runtime, except
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top