Searched refs:MaxInt64 (Results 1 – 8 of 8) sorted by relevance
/external/golang-protobuf/ptypes/ |
D | duration_test.go | 45 maxGoSeconds = math.MaxInt64 / int64(1e9) 62 …ration{Seconds: maxGoSeconds, Nanos: int32(math.MaxInt64 - 1e9*maxGoSeconds)}, true, true, math.Ma… 69 {&durpb.Duration{Seconds: math.MaxInt64, Nanos: 0}, false, false, 0}, 79 …{&durpb.Duration{Seconds: maxGoSeconds, Nanos: int32(math.MaxInt64-1e9*maxGoSeconds) + 1}, true, f… 83 …{&durpb.Duration{Seconds: maxGoSeconds + 1, Nanos: int32(math.MaxInt64 - 1e9*maxGoSeconds)}, true,…
|
D | timestamp_test.go | 59 {&tspb.Timestamp{Seconds: math.MaxInt64, Nanos: math.MaxInt32}, false, 60 time.Unix(math.MaxInt64, math.MaxInt32).UTC()}, 62 {&tspb.Timestamp{Seconds: math.MaxInt64, Nanos: 1e9 - 1}, false, 63 time.Unix(math.MaxInt64, 1e9-1).UTC()},
|
/external/llvm-project/llvm/unittests/ADT/ |
D | StringExtrasTest.cpp | 191 constexpr int64_t MaxInt64 = std::numeric_limits<int64_t>::max(); variable 204 EXPECT_EQ("-" + std::to_string(MaxInt64), utostr(MaxInt64, /*isNeg=*/true)); in TEST() 216 EXPECT_EQ(std::to_string(MaxInt64), itostr(MaxInt64)); in TEST()
|
/external/golang-protobuf/proto/ |
D | size2_test.go | 55 {math.MaxInt64, 9}, 56 {math.MaxInt64 + 1, 10},
|
/external/llvm-project/llvm/unittests/FileCheck/ |
D | FileCheckTest.cpp | 82 constexpr int64_t MaxInt64 = std::numeric_limits<int64_t>::max(); variable 86 constexpr uint64_t AbsoluteMaxInt64 = static_cast<uint64_t>(MaxInt64); 120 MaxInt64Str = std::to_string(MaxInt64); in SetUp() 264 checkMatchingString(MaxInt64, padWithLeadingZeros(MaxInt64Str)); in TEST_P() 269 checkMatchingString(MaxInt64, padWithLeadingZeros(MaxInt64Str)); in TEST_P() 435 SignedValue = ExpressionValue(MaxInt64).getSignedValue(); in TEST_F() 437 EXPECT_EQ(*SignedValue, MaxInt64); in TEST_F() 441 "overflow error", ExpressionValue(static_cast<uint64_t>(MaxInt64) + 1) in TEST_F() 533 static_cast<uint64_t>(MaxInt64) + 11, in TEST_F() 534 -MaxInt64 - 1); in TEST_F() [all …]
|
/external/starlark-go/starlark/ |
D | int.go | 132 return math.MaxInt64, big.Below 157 maxint64 = new(big.Int).SetInt64(math.MaxInt64) 427 if math.MinInt64 <= f && f <= math.MaxInt64 {
|
D | eval_test.go | 472 {starlark.MakeInt64(math.MaxInt64), "9223372036854775807", "9223372036854775807"},
|
/external/llvm-project/llvm/lib/FileCheck/ |
D | FileCheck.cpp | 175 int64_t MaxInt64 = std::numeric_limits<int64_t>::max(); in getAbsolute() local 177 if (SignedValue >= -MaxInt64) in getAbsolute() 181 SignedValue += MaxInt64; in getAbsolute() 183 return ExpressionValue(MaxInt64 + RemainingValueAbsolute); in getAbsolute() 249 uint64_t MaxInt64 = std::numeric_limits<int64_t>::max(); in operator -() local 251 if (AbsoluteDifference > MaxInt64) { in operator -() 252 AbsoluteDifference -= MaxInt64; in operator -() 253 int64_t Result = -MaxInt64; in operator -()
|