Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for InstrumentMapLen (0.27 sec)

  1. src/runtime/race/testdata/regression_test.go

    	go func() {
    		_ = l
    		c <- true
    	}()
    	l = LogImpl{}
    	<-c
    	return
    }
    
    var _ LogImpl = NewLog()
    
    func MakeMap() map[int]int {
    	return make(map[int]int)
    }
    
    func InstrumentMapLen() {
    	_ = len(MakeMap())
    }
    
    func InstrumentMapLen2() {
    	m := make(map[int]map[int]int)
    	_ = len(m[0])
    }
    
    func InstrumentMapLen3() {
    	m := make(map[int]*map[int]int)
    	_ = len(*m[0])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 03 02:01:34 UTC 2015
    - 2.7K bytes
    - Viewed (0)
Back to top