Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for asReader (0.19 sec)

  1. src/runtime/malloc.go

    				// Note: disabled when race detector is on, see comment near end of this function.
    				c.tiny = uintptr(x)
    				c.tinyoffset = size
    			}
    			size = maxTinySize
    		} else {
    			hasHeader := !noscan && !heapBitsInSpan(size)
    			if hasHeader {
    				size += mallocHeaderSize
    			}
    			var sizeclass uint8
    			if size <= smallSizeMax-8 {
    				sizeclass = size_to_class8[divRoundUp(size, smallSizeDiv)]
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  2. src/runtime/mbitmap.go

    			}
    		}
    	}
    	if !bad {
    		var addr uintptr
    		tp, addr = tp.next(x + span.elemsize)
    		if addr == 0 {
    			return
    		}
    		println("runtime: extra pointer:", hex(addr))
    	}
    	print("runtime: hasHeader=", header != nil, " typ.Size_=", typ.Size_, " hasGCProg=", typ.Kind_&abi.KindGCProg != 0, "\n")
    	print("runtime: x=", hex(x), " dataSize=", dataSize, " elemsize=", span.elemsize, "\n")
    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