Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for int64Val (0.31 sec)

  1. src/cmd/compile/internal/types2/expr.go

    		if i.Kind() != constant.Int {
    			v, _ := constant.Float64Val(x)
    			return v
    		}
    		x = i
    		fallthrough
    	case constant.Int:
    		if v, ok := constant.Int64Val(x); ok {
    			return v
    		}
    		if v, ok := constant.Uint64Val(x); ok {
    			return v
    		}
    	case constant.String:
    		return constant.StringVal(x)
    	case constant.Bool:
    		return constant.BoolVal(x)
    	}
    	return x
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/parse_example.pbtxt

      attr {
        key: "dtype"
        value {
          type: DT_INT64
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_INT64
            tensor_shape {
            }
            int64_val: -1
          }
        }
      }
    }
    node {
      name: "result"
      op: "ParseExample"
      input: "serilaized"
      input: "Const"
      input: "Const_1"
      input: "Const_2"
      attr {
        key: "Ndense"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/output-shapes.pbtxt

      attr {
        key: "dtype"
        value {
          type: DT_INT64
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_INT64
            tensor_shape {
            }
            int64_val: -1
          }
        }
      }
      attr {
        key: "_output_shapes"
        value {
          list {
            shape {
            }
          }
        }
      }
    }
    node {
      name: "Const1"
      op: "Const"
      attr {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 21 04:07:13 UTC 2021
    - 3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/audit.go

    	fs.Int64Var(&o.TruncateConfig.MaxBatchSize, fmt.Sprintf("audit-%s-truncate-max-batch-size", pluginName),
    		o.TruncateConfig.MaxBatchSize, "Maximum size of the batch sent to the underlying backend. "+
    			"Actual serialized size can be several hundreds of bytes greater. If a batch exceeds this limit, "+
    			"it is split into several batches of smaller size.")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 24 06:30:04 UTC 2022
    - 20.3K bytes
    - Viewed (0)
  5. src/flag/flag.go

    	return CommandLine.Int(name, value, usage)
    }
    
    // Int64Var defines an int64 flag with specified name, default value, and usage string.
    // The argument p points to an int64 variable in which to store the value of the flag.
    func (f *FlagSet) Int64Var(p *int64, name string, value int64, usage string) {
    	f.Var(newInt64Value(value, p), name, usage)
    }
    
    // Int64Var defines an int64 flag with specified name, default value, and usage string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  6. src/go/types/conversions.go

    		case t == nil:
    			// nothing to do
    		case representableConst(x.val, check, t, val):
    			return true
    		case isInteger(x.typ) && isString(t):
    			codepoint := unicode.ReplacementChar
    			if i, ok := constant.Uint64Val(x.val); ok && i <= unicode.MaxRune {
    				codepoint = rune(i)
    			}
    			if val != nil {
    				*val = constant.MakeString(string(codepoint))
    			}
    			return true
    		}
    		return false
    	}
    
    	var ok bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/conversions.go

    		case t == nil:
    			// nothing to do
    		case representableConst(x.val, check, t, val):
    			return true
    		case isInteger(x.typ) && isString(t):
    			codepoint := unicode.ReplacementChar
    			if i, ok := constant.Uint64Val(x.val); ok && i <= unicode.MaxRune {
    				codepoint = rune(i)
    			}
    			if val != nil {
    				*val = constant.MakeString(string(codepoint))
    			}
    			return true
    		}
    		return false
    	}
    
    	var ok bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. pkg/controlplane/apiserver/options/options.go

    	fs.BoolVar(&s.EnableLogsHandler, "enable-logs-handler", s.EnableLogsHandler,
    		"If true, install a /logs handler for the apiserver logs.")
    	fs.MarkDeprecated("enable-logs-handler", "This flag will be removed in v1.19")
    
    	fs.Int64Var(&s.MaxConnectionBytesPerSec, "max-connection-bytes-per-sec", s.MaxConnectionBytesPerSec, ""+
    		"If non-zero, throttle each user connection to this number of bytes/sec. "+
    		"Currently only applies to long-running requests.")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/const.go

    	}
    
    	// Prevent follow-on errors.
    	return constant.MakeUnknown()
    }
    
    func tostr(v constant.Value) constant.Value {
    	if v.Kind() == constant.Int {
    		r := unicode.ReplacementChar
    		if x, ok := constant.Uint64Val(v); ok && x <= unicode.MaxRune {
    			r = rune(x)
    		}
    		v = constant.MakeString(string(r))
    	}
    	return v
    }
    
    func makeFloat64(f float64) constant.Value {
    	if math.IsInf(f, 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Compare", Func, 5},
    		{"Complex", Const, 5},
    		{"Denom", Func, 5},
    		{"Float", Const, 5},
    		{"Float32Val", Func, 5},
    		{"Float64Val", Func, 5},
    		{"Imag", Func, 5},
    		{"Int", Const, 5},
    		{"Int64Val", Func, 5},
    		{"Kind", Type, 5},
    		{"Make", Func, 13},
    		{"MakeBool", Func, 5},
    		{"MakeFloat64", Func, 5},
    		{"MakeFromBytes", Func, 5},
    		{"MakeFromLiteral", Func, 5},
    		{"MakeImag", Func, 5},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top