Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for eval (5.05 sec)

  1. api/go1.5.txt

    pkg go/types, func AssignableTo(Type, Type) bool
    pkg go/types, func Comparable(Type) bool
    pkg go/types, func ConvertibleTo(Type, Type) bool
    pkg go/types, func DefPredeclaredTestFuncs()
    pkg go/types, func Eval(*token.FileSet, *Package, token.Pos, string) (TypeAndValue, error)
    pkg go/types, func ExprString(ast.Expr) string
    pkg go/types, func Id(*Package, string) string
    pkg go/types, func Identical(Type, Type) bool
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  2. src/archive/tar/strconv_test.go

    	}
    
    	for _, v := range vectors {
    		key, val, res, err := parsePAXRecord(v.in)
    		ok := (err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("parsePAXRecord(%q): got parsing failure, want success", v.in)
    			} else {
    				t.Errorf("parsePAXRecord(%q): got parsing success, want failure", v.in)
    			}
    		}
    		if v.ok && (key != v.wantKey || val != v.wantVal) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  3. misc/ios/go_ios_exec.go

    				hasKey = true
    			} else if hasKey {
    				var val string
    				var err error
    				switch n := tok.Name.Local; n {
    				case "true", "false":
    					// Bools are represented as <true/> and <false/>.
    					val = n
    					err = d.Skip()
    				default:
    					err = d.DecodeElement(&val, &tok)
    				}
    				if err != nil {
    					return nil, err
    				}
    				values[key] = val
    				hasKey = false
    			} else {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  4. 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)
  5. 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