Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMapIterOrder (0.14 sec)

  1. src/runtime/map_test.go

    			// Halfway through iteration, finish grow.
    			for i := 0; i < nBuckets; i++ {
    				delete(m, 1.0)
    			}
    		}
    	}
    	if len(found) != nKeys {
    		t.Fatalf("missing value")
    	}
    }
    
    func TestMapIterOrder(t *testing.T) {
    	sizes := []int{3, 7, 9, 15}
    	if abi.MapBucketCountBits >= 5 {
    		// it gets flaky (often only one iteration order) at size 3 when abi.MapBucketCountBits >=5.
    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