- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for unsafeptr (0.13 sec)
-
src/cmd/go/internal/work/exec.go
// This is OK as long as the packages that are farther down the // dependency tree turn on *more* analysis, as here. // (The unsafeptr check does not write any facts for use by // later vet runs, nor does unreachable.) if a.Package.Goroot && !VetExplicit && VetTool == "" { // Turn off -unsafeptr checks. // There's too much unsafe.Pointer code // that vet doesn't like in low-level packages
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
src/reflect/all_test.go
{"pointer", ValueOf(ptr), unsafe.Pointer(ptr)}, {"channel", ValueOf(ch), *(*unsafe.Pointer)(unsafe.Pointer(&ch))}, {"map", ValueOf(m), *(*unsafe.Pointer)(unsafe.Pointer(&m))}, {"unsafe.Pointer", ValueOf(unsafePtr), unsafePtr}, {"function", ValueOf(fn), **(**unsafe.Pointer)(unsafe.Pointer(&fn))}, {"slice", ValueOf(slice), unsafe.Pointer(unsafe.SliceData(slice))}, {"string", ValueOf(s), unsafe.Pointer(unsafe.StringData(s))}, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)