Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for panicNotMap (0.3 sec)

  1. src/reflect/value.go

    	if v.kind() != Map {
    		v.panicNotMap()
    	}
    	return &MapIter{m: v}
    }
    
    // Force slow panicking path not inlined, so it won't add to the
    // inlining budget of the caller.
    // TODO: undo when the inliner is no longer bottom-up only.
    //
    //go:noinline
    func (f flag) panicNotMap() {
    	f.mustBe(Map)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top