- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DataChecked (0.16 sec)
-
src/internal/abi/type.go
// cmd/link/internal/ld/decodesym.go type Name struct { Bytes *byte } // DataChecked does pointer arithmetic on n's Bytes, and that arithmetic is asserted to // be safe for the reason in whySafe (which can appear in a backtrace, etc.) func (n Name) DataChecked(off int, whySafe string) *byte { return (*byte)(addChecked(unsafe.Pointer(n.Bytes), uintptr(off), whySafe)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:09:59 UTC 2024 - 21.8K bytes - Viewed (0) -
src/internal/reflectlite/type.go
return "" } i, l := n.readVarint(1) i2, l2 := n.readVarint(1 + i + l) return unsafe.String(n.data(1+i+l+i2, "non-empty string"), l2) } func pkgPath(n abi.Name) string { if n.Bytes == nil || *n.DataChecked(0, "name flag field")&(1<<2) == 0 { return "" } i, l := n.ReadVarint(1) off := 1 + i + l if n.HasTag() { i2, l2 := n.ReadVarint(off) off += i2 + l2 } var nameOff int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 16.2K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/scoring.go
// 76 -5n PROMOTED runtime.persistentalloc mcheckmark.go:48:45|3 inLoopAdj // 201 0 --- PGO unicode.DecodeRuneInString utf8.go:312:30|1 // 7 -5 --- PGO internal/abi.Name.DataChecked type.go:625:22|0 inLoopAdj // // In the dump above, "Score" is the final score calculated for the // callsite, "Adjustment" is the amount added to or subtracted from
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:42:52 UTC 2024 - 24.2K bytes - Viewed (0)