Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMapInterfaceKey (0.13 sec)

  1. src/runtime/map_test.go

    		delete(m, i)
    	}
    	runtime.MapTombstoneCheck(m)
    }
    
    type canString int
    
    func (c canString) String() string {
    	return fmt.Sprintf("%d", int(c))
    }
    
    func TestMapInterfaceKey(t *testing.T) {
    	// Test all the special cases in runtime.typehash.
    	type GrabBag struct {
    		f32  float32
    		f64  float64
    		c64  complex64
    		c128 complex128
    		s    string
    		i0   any
    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