- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestTypeMatchesReflectType (0.27 sec)
-
src/internal/unsafeheader/unsafeheader_test.go
package unsafeheader_test import ( "bytes" "internal/unsafeheader" "reflect" "testing" "unsafe" ) // TestTypeMatchesReflectType ensures that the name and layout of the // unsafeheader types matches the corresponding Header types in the reflect // package. func TestTypeMatchesReflectType(t *testing.T) { t.Run("Slice", func(t *testing.T) { testHeaderMatchesReflect(t, unsafeheader.Slice{}, reflect.SliceHeader{}) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 2.9K bytes - Viewed (0)