Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GcSlice (0.06 sec)

  1. src/reflect/type.go

    		// Element has GC program; emit one element.
    		n := uintptr(*(*uint32)(unsafe.Pointer(typ.GCData)))
    		prog := typ.GcSlice(4, 4+n-1)
    		return append(dst, prog...)
    	}
    
    	// Element is small with pointer mask; use as literal bits.
    	ptrs := typ.PtrBytes / goarch.PtrSize
    	mask := typ.GcSlice(0, (ptrs+7)/8)
    
    	// Emit 120-bit chunks of full bytes (max is 127 but we avoid using partial bytes).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top