- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for unsafestringcheckptr (0.18 sec)
-
src/runtime/unsafe.go
func unsafestring64(ptr unsafe.Pointer, len64 int64) { len := int(len64) if int64(len) != len64 { panicunsafestringlen() } unsafestring(ptr, len) } func unsafestringcheckptr(ptr unsafe.Pointer, len64 int64) { unsafestring64(ptr, len64) // Check that underlying array doesn't straddle multiple heap objects. // unsafestring64 has already checked for overflow.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:51:18 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/internal/goobj/builtinlist.go
{"runtime.makeslicecopy", 1}, {"runtime.growslice", 1}, {"runtime.unsafeslicecheckptr", 1}, {"runtime.panicunsafeslicelen", 1}, {"runtime.panicunsafeslicenilptr", 1}, {"runtime.unsafestringcheckptr", 1}, {"runtime.panicunsafestringlen", 1}, {"runtime.panicunsafestringnilptr", 1}, {"runtime.memmove", 1}, {"runtime.memclrNoHeapPointers", 1}, {"runtime.memclrHasPointers", 1}, {"runtime.memequal", 1},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 7.4K bytes - Viewed (0) -
src/cmd/compile/internal/walk/builtin.go
unsafePtr := typecheck.Conv(ptr, types.Types[types.TUNSAFEPTR]) // If checkptr enabled, call runtime.unsafestringcheckptr to check ptr and len. // for simplicity, unsafestringcheckptr always uses int64. // Type checking guarantees that TIDEAL len are positive and fit in an int. if ir.ShouldCheckPtr(ir.CurFunc, 1) { fnname := "unsafestringcheckptr" fn := typecheck.LookupRuntime(fnname)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 22:35:22 UTC 2024 - 31.2K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/_builtin/runtime.go
func growslice(oldPtr *any, newLen, oldCap, num int, et *byte) (ary []any) func unsafeslicecheckptr(typ *byte, ptr unsafe.Pointer, len int64) func panicunsafeslicelen() func panicunsafeslicenilptr() func unsafestringcheckptr(ptr unsafe.Pointer, len int64) func panicunsafestringlen() func panicunsafestringnilptr() func memmove(to *any, frm *any, length uintptr) func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 10.6K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/builtin.go
{"makeslicecopy", funcTag, 118}, {"growslice", funcTag, 120}, {"unsafeslicecheckptr", funcTag, 121}, {"panicunsafeslicelen", funcTag, 9}, {"panicunsafeslicenilptr", funcTag, 9}, {"unsafestringcheckptr", funcTag, 122}, {"panicunsafestringlen", funcTag, 9}, {"panicunsafestringnilptr", funcTag, 9}, {"memmove", funcTag, 123}, {"memclrNoHeapPointers", funcTag, 124}, {"memclrHasPointers", funcTag, 124},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 16.2K bytes - Viewed (0)