Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestTinyAllocIssue37262 (0.15 sec)

  1. src/runtime/malloc_test.go

    		chunks[uintptr(p)&^7] = true
    	}
    
    	if len(chunks) == N {
    		t.Fatal("no bytes allocated within the same 8-byte chunk")
    	}
    }
    
    type obj12 struct {
    	a uint64
    	b uint32
    }
    
    func TestTinyAllocIssue37262(t *testing.T) {
    	if runtime.Raceenabled {
    		t.Skip("tinyalloc suppressed when running in race mode")
    	}
    	// Try to cause an alignment access fault
    	// by atomically accessing the first 64-bit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top