Home
last modified time | relevance | path

Searched refs:MaxInt64 (Results 1 – 8 of 8) sorted by relevance

/external/golang-protobuf/ptypes/
Dduration_test.go45 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,…
Dtimestamp_test.go59 {&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/
DStringExtrasTest.cpp191 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/
Dsize2_test.go55 {math.MaxInt64, 9},
56 {math.MaxInt64 + 1, 10},
/external/llvm-project/llvm/unittests/FileCheck/
DFileCheckTest.cpp82 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/
Dint.go132 return math.MaxInt64, big.Below
157 maxint64 = new(big.Int).SetInt64(math.MaxInt64)
427 if math.MinInt64 <= f && f <= math.MaxInt64 {
Deval_test.go472 {starlark.MakeInt64(math.MaxInt64), "9223372036854775807", "9223372036854775807"},
/external/llvm-project/llvm/lib/FileCheck/
DFileCheck.cpp175 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 -()