- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for slicedata2 (0.22 sec)
-
src/reflect/value.go
// it references will not be garbage collected, so programs must keep // a separate, correctly typed pointer to the underlying data. // // Deprecated: Use unsafe.Slice or unsafe.SliceData instead. type SliceHeader struct { Data uintptr Len int Cap int } func typesMustMatch(what string, t1, t2 Type) { if t1 != t2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
src/reflect/all_test.go
{"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))}, } for _, tc := range tests { tc := tc t.Run(tc.name, func(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)