Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestBigItems (0.16 sec)

  1. src/runtime/map_test.go

    func TestConcurrentReadsAfterGrowth(t *testing.T) {
    	testConcurrentReadsAfterGrowth(t, false)
    }
    
    func TestConcurrentReadsAfterGrowthReflect(t *testing.T) {
    	testConcurrentReadsAfterGrowth(t, true)
    }
    
    func TestBigItems(t *testing.T) {
    	var key [256]string
    	for i := 0; i < 256; i++ {
    		key[i] = "foo"
    	}
    	m := make(map[[256]string][256]string, 4)
    	for i := 0; i < 100; i++ {
    		key[37] = fmt.Sprintf("string%02d", i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top