Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for eval (0.21 sec)

  1. doc/go1.17_spec.html

    	// type of s is string
    	// s == a[i]
    	g(i, s)
    }
    
    var key string
    var val interface{}  // element type of m is assignable to val
    m := map[string]int{"mon":0, "tue":1, "wed":2, "thu":3, "fri":4, "sat":5, "sun":6}
    for key, val = range m {
    	h(key, val)
    }
    // key == last map key encountered in iteration
    // val == map[key]
    
    var ch chan Work = producer()
    for w := range ch {
    	doWork(w)
    }
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/arm64.s

    	MRS	CNTP_TVAL_EL0, R27                 // 1be23bd5
    	MSR	R17, CNTP_TVAL_EL0                 // 11e21bd5
    	MRS	CNTV_CTL_EL0, R27                  // 3be33bd5
    	MSR	R2, CNTV_CTL_EL0                   // 22e31bd5
    	MRS	CNTV_CVAL_EL0, R16                 // 50e33bd5
    	MSR	R27, CNTV_CVAL_EL0                 // 5be31bd5
    	MRS	CNTV_TVAL_EL0, R12                 // 0ce33bd5
    	MSR	R19, CNTV_TVAL_EL0                 // 13e31bd5
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 94.9K bytes
    - Viewed (0)
  3. src/cmd/api/main_test.go

    	switch obj := obj.(type) {
    	case *types.Const:
    		if w.isDeprecated(obj) {
    			w.emitf("const %s //deprecated", obj.Name())
    		}
    		w.emitf("const %s %s", obj.Name(), w.typeString(obj.Type()))
    		x := obj.Val()
    		short := x.String()
    		exact := x.ExactString()
    		if short == exact {
    			w.emitf("const %s = %s", obj.Name(), short)
    		} else {
    			w.emitf("const %s = %s  // %s", obj.Name(), short, exact)
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/asm.go

    		case 4:
    			nameAddr.Sym.WriteFloat32(p.ctxt, nameAddr.Offset, float32(valueAddr.Val.(float64)))
    		case 8:
    			nameAddr.Sym.WriteFloat64(p.ctxt, nameAddr.Offset, valueAddr.Val.(float64))
    		default:
    			p.errorf("bad float size for DATA argument: %d", sz)
    		}
    	case obj.TYPE_SCONST:
    		nameAddr.Sym.WriteString(p.ctxt, nameAddr.Offset, int(sz), valueAddr.Val.(string))
    	case obj.TYPE_ADDR:
    		if sz == p.arch.PtrSize {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
Back to top