Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for TFlag (0.03 sec)

  1. src/reflect/value.go

    			// and never escape. The escape analysis doesn't know, as it is a
    			// function pointer call.
    			return typ.Equal(abi.NoEscape(v.ptr), unsafe.Pointer(&zeroVal[0]))
    		}
    		if typ.TFlag&abi.TFlagRegularMemory != 0 {
    			// For some types where the zero value is a value where all bits of this type are 0
    			// optimize it.
    			return isZero(unsafe.Slice(((*byte)(v.ptr)), typ.Size()))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. src/runtime/mbitmap.go

    			gctyp = (*_type)(unsafe.Pointer(progSpan.base()))
    			gctyp.Size_ = typ.Size_
    			gctyp.PtrBytes = typ.PtrBytes
    			gctyp.GCData = (*byte)(add(unsafe.Pointer(progSpan.base()), heapBitsOff))
    			gctyp.TFlag = abi.TFlagUnrolledBitmap
    
    			// Expand the GC program into space reserved at the end of the new span.
    			runGCProg(addb(typ.GCData, 4), gctyp.GCData)
    		}
    
    		// Write out the header.
    		*header = gctyp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
Back to top