Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkMapPop1000 (0.2 sec)

  1. src/runtime/map_test.go

    			// We want this to be fast, see issue 8412.
    			for k := range m {
    				delete(m, k)
    				break
    			}
    		}
    	}
    }
    
    func BenchmarkMapPop100(b *testing.B)   { benchmarkMapPop(b, 100) }
    func BenchmarkMapPop1000(b *testing.B)  { benchmarkMapPop(b, 1000) }
    func BenchmarkMapPop10000(b *testing.B) { benchmarkMapPop(b, 10000) }
    
    var testNonEscapingMapVariable int = 8
    
    func TestNonEscapingMap(t *testing.T) {
    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