- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 34 for MinInt64 (0.24 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/json/json_test.go
}, { In: `-9223372036854775808`, Data: int64(math.MinInt64), Out: `-9223372036854775808`, }, // Int overflow { In: `9223372036854775808`, // MaxInt64 + 1 Data: float64(9223372036854775808), Out: `9223372036854776000`, }, { In: `-9223372036854775809`, // MinInt64 - 1 Data: float64(math.MinInt64), Out: `-9223372036854776000`, }, // Floats
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 28 08:02:09 UTC 2022 - 9.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go
}, { input: "-9223372036854775808", // math.MinInt64 output: IntOrString{Type: String, StrVal: "-9223372036854775808"}, }, { input: "9223372036854775808", // math.MaxInt64+1 output: IntOrString{Type: String, StrVal: "9223372036854775808"}, }, { input: "-9223372036854775809", // math.MinInt64-1 output: IntOrString{Type: String, StrVal: "-9223372036854775809"}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:09 UTC 2024 - 14.3K bytes - Viewed (0) -
src/math/big/float.go
} panic("unreachable") } // Int64 returns the integer resulting from truncating x towards zero. // If [math.MinInt64] <= x <= [math.MaxInt64], the result is [Exact] if x is // an integer, and [Above] (x < 0) or [Below] (x > 0) otherwise. // The result is ([math.MinInt64], [Above]) for x < [math.MinInt64], // and ([math.MaxInt64], [Below]) for x > [math.MaxInt64]. func (x *Float) Int64() (int64, Accuracy) { if debugFloat {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 44.5K bytes - Viewed (0) -
test/prove.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 23 00:02:36 UTC 2024 - 21.2K bytes - Viewed (0) -
pkg/scheduler/framework/preemption/preemption.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 25.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/interpodaffinity/scoring.go
if err != nil { return framework.AsStatus(err) } if len(s.topologyScore) == 0 { return nil } var minCount int64 = math.MaxInt64 var maxCount int64 = math.MinInt64 for i := range scores { score := scores[i].Score if score > maxCount { maxCount = score } if score < minCount { minCount = score } } maxMinDiff := maxCount - minCount
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 10.5K bytes - Viewed (0) -
src/math/big/float_test.go
func TestFloatInt64(t *testing.T) { for _, test := range []struct { x string out int64 acc Accuracy }{ {"-Inf", math.MinInt64, Above}, {"-1e10000", math.MinInt64, Above}, {"-9223372036854775809", math.MinInt64, Above}, {"-9223372036854775808.000000000000000000001", math.MinInt64, Above}, {"-9223372036854775808", -9223372036854775808, Exact}, {"-9223372036854775807.000000000000000000001", -9223372036854775807, Above},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 51.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/prove.go
fallthrough case d == unsigned && !w.Args[0].Type.IsSigned(): ft.update(parent, v, w.Args[0], d, r) } } } var opMin = map[Op]int64{ OpAdd64: math.MinInt64, OpSub64: math.MinInt64, OpAdd32: math.MinInt32, OpSub32: math.MinInt32, } var opMax = map[Op]int64{ OpAdd64: math.MaxInt64, OpSub64: math.MaxInt64, OpAdd32: math.MaxInt32, OpSub32: math.MaxInt32, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:30:21 UTC 2024 - 48.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteCond_test.go
package ssa import ( "math" "math/rand" "testing" ) var ( x64 int64 = math.MaxInt64 - 2 x64b int64 = math.MaxInt64 - 2 x64c int64 = math.MaxInt64 - 2 y64 int64 = math.MinInt64 + 1 x32 int32 = math.MaxInt32 - 2 x32b int32 = math.MaxInt32 - 2 x32c int32 = math.MaxInt32 - 2 y32 int32 = math.MinInt32 + 1 one64 int64 = 1 one32 int32 = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 24 01:19:09 UTC 2023 - 11.1K bytes - Viewed (0) -
internal/s3select/sql/evaluate.go
// aggregation or a row function - it always returns a value. func (e *LitValue) evalNode(_ Record) (res *Value, err error) { switch { case e.Int != nil: if *e.Int < math.MaxInt64 && *e.Int > math.MinInt64 { return FromInt(int64(*e.Int)), nil } return FromFloat(*e.Int), nil case e.Float != nil: return FromFloat(*e.Float), nil case e.String != nil: return FromString(string(*e.String)), nil
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 12K bytes - Viewed (0)