Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 42 of 42 for LookUp (0.06 sec)

  1. src/reflect/all_test.go

    		seen := false
    		for _, kv := range keys {
    			if kv.String() == k {
    				seen = true
    				break
    			}
    		}
    		if !seen {
    			t.Errorf("Missing key %q", k)
    		}
    
    		// Check that value lookup is correct.
    		vv := mv.MapIndex(ValueOf(k))
    		if vi := vv.Int(); vi != int64(v) {
    			t.Errorf("Key %q: have value %d, want %d", k, vi, v)
    		}
    
    		// Copy into new map.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    <pre>
    var i int
    var U, V, W float64
    var k = 0
    var x, y float32 = -1, -2
    var (
    	i       int
    	u, v, s = 2.0, 3.0, "bar"
    )
    var re, im = complexSqrt(-1)
    var _, found = entries[name]  // map lookup; only interested in "found"
    </pre>
    
    <p>
    If a list of expressions is given, the variables are initialized
    with the expressions following the rules for <a href="#Assignments">assignments</a>.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top