Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 169 for Value (0.09 sec)

  1. src/cmd/compile/internal/test/inl_test.go

    		},
    		"reflect": {
    			"Value.Bool",
    			"Value.Bytes",
    			"Value.CanAddr",
    			"Value.CanComplex",
    			"Value.CanFloat",
    			"Value.CanInt",
    			"Value.CanInterface",
    			"Value.CanSet",
    			"Value.CanUint",
    			"Value.Cap",
    			"Value.Complex",
    			"Value.Float",
    			"Value.Int",
    			"Value.Interface",
    			"Value.IsNil",
    			"Value.IsValid",
    			"Value.Kind",
    			"Value.Len",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/workcmd/edit.go

    }
    
    // flagEditworkGodebug implements the -godebug flag.
    func flagEditworkGodebug(arg string) {
    	key, value, ok := strings.Cut(arg, "=")
    	if !ok || strings.ContainsAny(arg, "\"`',") {
    		base.Fatalf("go: -godebug=%s: need key=value", arg)
    	}
    	workedits = append(workedits, func(f *modfile.WorkFile) {
    		if err := f.AddGodebug(key, value); err != nil {
    			base.Fatalf("go: -godebug=%s: %v", arg, err)
    		}
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/reflect/66056.md

    The new methods [Value.Seq] and [Value.Seq2] return sequences that iterate over the value
    as though it were used in a for/range loop.
    The new methods [Type.CanSeq] and [Type.CanSeq2] report whether calling
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 11:54:18 UTC 2024
    - 282 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/positions.go

    			return n.Pos()
    		case *Name:
    			p := n.Pos()
    			return MakePos(p.Base(), p.Line(), p.Col()+uint(len(n.Value)))
    		case *BasicLit:
    			p := n.Pos()
    			return MakePos(p.Base(), p.Line(), p.Col()+uint(len(n.Value)))
    		case *CompositeLit:
    			return n.Rbrace
    		case *KeyValueExpr:
    			m = n.Value
    		case *FuncLit:
    			m = n.Body
    		case *ParenExpr:
    			m = n.X
    		case *SelectorExpr:
    			m = n.Sel
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/cmd/go/internal/cache/default.go

    	}
    }
    
    var (
    	defaultDirOnce    sync.Once
    	defaultDir        string
    	defaultDirChanged bool // effective value differs from $GOCACHE
    	defaultDirErr     error
    )
    
    // DefaultDir returns the effective GOCACHE setting.
    // It returns "off" if the cache is disabled,
    // and reports whether the effective value differs from GOCACHE.
    func DefaultDir() (string, bool) {
    	// Save the result of the first call to DefaultDir for later use in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/api_test.go

    		// values
    		{`package v0; var (a, b int; _ = a + b)`, `a + b`, `value`},
    		{`package v1; var _ = &[]int{1}`, `[]int{…}`, `value`},
    		{`package v2; var _ = func(){}`, `func() {}`, `value`},
    		{`package v4; func f() { _ = f }`, `f`, `value`},
    		{`package v3; var _ *int = nil`, `nil`, `value, nil`},
    		{`package v3; var _ *int = (nil)`, `(nil)`, `value, nil`},
    
    		// addressable (and thus assignable) operands
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    func checkGCCBaseCmd() ([]string, error) {
    	// Use $CC if set, since that's what the build uses.
    	value := os.Getenv("CC")
    	if value == "" {
    		// Try $GCC if set, since that's what we used to use.
    		value = os.Getenv("GCC")
    	}
    	if value == "" {
    		value = defaultCC(goos, goarch)
    	}
    	args, err := quoted.Split(value)
    	if err != nil {
    		return nil, err
    	}
    	if len(args) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/link.go

    //		instruction encoding to use a full 32-bit constant, never a
    //		reference relative to SB.
    //
    //	$<floating point literal>
    //		Floating point constant value.
    //		Encoding:
    //			type = TYPE_FCONST
    //			val = floating point value
    //
    //	$<string literal, up to 8 chars>
    //		String literal value (raw bytes used for DATA instruction).
    //		Encoding:
    //			type = TYPE_SCONST
    //			val = string
    //
    //	<symbolic constant name>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/util.go

    func endPos(n syntax.Node) syntax.Pos { return syntax.EndPos(n) }
    
    // makeFromLiteral returns the constant value for the given literal string and kind.
    func makeFromLiteral(lit string, kind syntax.LitKind) constant.Value {
    	return constant.MakeFromLiteral(lit, kind2tok[kind], 0)
    }
    
    var kind2tok = [...]token.Token{
    	syntax.IntLit:    token.INT,
    	syntax.FloatLit:  token.FLOAT,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/work_edit.txt

    cmp stdout go.work.want_json
    
    # go work edit -godebug
    cd $WORK/g
    cp go.work.start go.work
    go work edit -godebug key=value
    cmpenv go.work go.work.edit
    go work edit -dropgodebug key2
    cmpenv go.work go.work.edit
    go work edit -dropgodebug key
    cmpenv go.work go.work.start
    
    # go work edit -print -fmt
    env GOWORK=$GOPATH/src/unformatted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top