Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for profilealloc (0.84 sec)

  1. src/runtime/malloc.go

    //go:linkname reflect_unsafe_NewArray reflect.unsafe_NewArray
    func reflect_unsafe_NewArray(typ *_type, n int) unsafe.Pointer {
    	return newarray(typ, n)
    }
    
    func profilealloc(mp *m, x unsafe.Pointer, size uintptr) {
    	c := getMCache(mp)
    	if c == nil {
    		throw("profilealloc called without a P or outside bootstrapping")
    	}
    	c.nextSample = nextSample()
    	mProf_Malloc(mp, x, size)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top