Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for whySafe (0.07 sec)

  1. src/reflect/value.go

    // it is invalid (but impossible to check here) to pass i >= len,
    // because then the result will point outside the array.
    // whySafe must explain why i < len. (Passing "i < len" is fine;
    // the benefit is to surface this assumption at the call site.)
    func arrayAt(p unsafe.Pointer, i int, eltSize uintptr, whySafe string) unsafe.Pointer {
    	return add(p, uintptr(i)*eltSize, "i < len")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top