- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for checkindex (0.14 sec)
-
src/cmd/cgo/gcc.go
// Using a function literal like this lets us evaluate the // function arguments only once while doing pointer checks. // This is particularly useful when passing additional arguments // to _cgoCheckPointer, as done in checkIndex and checkAddr. // // When the function argument is a conversion to unsafe.Pointer, // we unwrap the conversion before checking the pointer, // and then wrap again when calling C.f. This lets us check
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
src/runtime/mgcscavenge.go
// Update minHeapIdx. Note that even if there's no mapping work to do, // we may still have a new, lower minimum heap address. minHeapIdx := s.minHeapIdx.Load() if baseIdx := uintptr(chunkIndex(base)); minHeapIdx == 0 || baseIdx < minHeapIdx { s.minHeapIdx.Store(baseIdx) } return s.sysGrow(base, limit, sysStat) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:48:45 UTC 2024 - 52.3K bytes - Viewed (0)