- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestWriteThroughHeader (0.23 sec)
-
src/internal/unsafeheader/unsafeheader_test.go
} // TestWriteThroughHeader ensures that the headers in the unsafeheader package // can successfully mutate variables of the corresponding built-in types. // // This test is expected to fail under -race (which implicitly enables // -d=checkptr) if the runtime views the header types as incompatible with the // underlying built-in types. func TestWriteThroughHeader(t *testing.T) { t.Run("Slice", func(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 2.9K bytes - Viewed (0)