Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for memclrNoHeapPointers (0.25 sec)

  1. src/runtime/mheap.go

    		if result == nil {
    			throw("runtime: cannot allocate memory")
    		}
    		lock(&gcBitsArenas.lock)
    	} else {
    		result = gcBitsArenas.free
    		gcBitsArenas.free = gcBitsArenas.free.next
    		memclrNoHeapPointers(unsafe.Pointer(result), gcBitsChunkBytes)
    	}
    	result.next = nil
    	// If result.bits is not 8 byte aligned adjust index so
    	// that &result.bits[result.free] is 8 byte aligned.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritegeneric.go

    		z := v_0.Args[2]
    		v.copyOf(z)
    		return true
    	}
    	// match: (SelectN [0] call:(StaticCall {sym} sptr (Const64 [c]) mem))
    	// cond: isInlinableMemclr(config, int64(c)) && isSameCall(sym, "runtime.memclrNoHeapPointers") && call.Uses == 1 && clobber(call)
    	// result: (Zero {types.Types[types.TUINT8]} [int64(c)] sptr mem)
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 {
    			break
    		}
    		call := v_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  3. src/runtime/proc.go

    		// caller's LR
    		*(*uintptr)(unsafe.Pointer(sp)) = 0
    		prepGoExitFrame(sp)
    	}
    	if GOARCH == "arm64" {
    		// caller's FP
    		*(*uintptr)(unsafe.Pointer(sp - goarch.PtrSize)) = 0
    	}
    
    	memclrNoHeapPointers(unsafe.Pointer(&newg.sched), unsafe.Sizeof(newg.sched))
    	newg.sched.sp = sp
    	newg.stktopsp = sp
    	newg.sched.pc = abi.FuncPCABI0(goexit) + sys.PCQuantum // +PCQuantum so that previous instruction is in same function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top