- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 101 for underflow (0.33 sec)
-
guava/src/com/google/common/math/IntMath.java
* {@code Integer.MAX_VALUE} or {@code Integer.MIN_VALUE} is returned, respectively. * * @since 20.0 */ public static int saturatedAdd(int a, int b) { return Ints.saturatedCast((long) a + b); } /** * Returns the difference of {@code a} and {@code b} unless it would overflow or underflow in
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 23.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/math.go
func int64Multiply(a, b int64) (int64, bool) { if a == 0 || b == 0 || a == 1 || b == 1 { return a * b, true } if a == mostNegative || b == mostNegative { return 0, false } c := a * b return c, c/b == a } // int64MultiplyScale returns a*b, assuming b is greater than one, or false if that would overflow or underflow int64.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 23 13:07:14 UTC 2020 - 7.3K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedDecoder.java
input.setPosition(input.limit()); return remaining; } } private RuntimeException maybeEndOfStream(KryoException e) throws EOFException { if (e.getMessage().equals("Buffer underflow.")) { throw (EOFException) new EOFException().initCause(e); } throw e; } @Override public byte readByte() throws EOFException { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 6.2K bytes - Viewed (0) -
src/math/big/float_test.go
{"+0", 0, "0"}, {"-0", 0, "-0"}, {"Inf", 1234, "+Inf"}, {"+Inf", -1234, "+Inf"}, {"-Inf", -1234, "-Inf"}, {"0", MinExp, "0"}, {"0.25", MinExp, "+0"}, // exponent underflow {"-0.25", MinExp, "-0"}, // exponent underflow {"1", MaxExp, "+Inf"}, // exponent overflow {"2", MaxExp - 1, "+Inf"}, // exponent overflow {"0.75", 1, "1.5"}, {"0.5", 11, "1024"}, {"-0.5", -2, "-0.125"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 51.9K bytes - Viewed (0) -
android/guava/src/com/google/common/math/IntMath.java
* {@code Integer.MAX_VALUE} or {@code Integer.MIN_VALUE} is returned, respectively. * * @since 20.0 */ public static int saturatedAdd(int a, int b) { return Ints.saturatedCast((long) a + b); } /** * Returns the difference of {@code a} and {@code b} unless it would overflow or underflow in
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 23.5K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedDecoder.java
input.setPosition(input.limit()); return remaining; } } private RuntimeException maybeEndOfStream(KryoException e) throws EOFException { if (e.getMessage().equals("Buffer underflow.")) { throw (EOFException) new EOFException().initCause(e); } throw e; } @Override public byte readByte() throws EOFException { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 7.3K bytes - Viewed (0) -
src/cmd/internal/obj/arm/obj5.go
// Such a large stack we need to protect against underflow. // The runtime guarantees SP > objabi.StackBig, but // framesize is large enough that SP-framesize may // underflow, causing a direct comparison with the // stack guard to incorrectly succeed. We explicitly // guard against underflow. // // // Try subtracting from SP and check for underflow. // // If this underflows, it sets C to 0.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 17:19:36 UTC 2023 - 21.4K bytes - Viewed (0) -
src/crypto/internal/nistec/p256_asm_ppc64le.s
XXPERMDI T1, T1, $2, T1 // First round VPERM T1, T0, SEL1, RED2 // d1 d0 d1 d0 VPERM ZER, RED2, SEL2, RED1 // 0 d1 d0 0 VSUBUQM RED2, RED1, RED2 // VSQ RED1, RED2, RED2 // Guaranteed not to underflow VSLDOI $8, T1, T0, T0 // VSLDB $8, T1, T0, T0 VSLDOI $8, T2, T1, T1 // VSLDB $8, T2, T1, T1 VADDCUQ T0, RED1, CAR1 // VACCQ T0, RED1, CAR1 VADDUQM T0, RED1, T0 // VAQ T0, RED1, T0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 56.5K bytes - Viewed (0) -
src/math/pow.go
case y == -0.5: return 1 / Sqrt(x) } yi, yf := Modf(Abs(y)) if yf != 0 && x < 0 { return NaN() } if yi >= 1<<63 { // yi is a large even int that will lead to overflow (or underflow to 0) // for all x except -1 (x == 1 was handled earlier) switch { case x == -1: return 1 case (Abs(x) < 1) == (y > 0): return 0 default: return Inf(1) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 24 19:10:58 UTC 2023 - 3.6K bytes - Viewed (0) -
src/cmd/internal/obj/s390x/objz.go
if framesize > abi.StackBig { // Such a large stack we need to protect against underflow. // The runtime guarantees SP > objabi.StackBig, but // framesize is large enough that SP-framesize may // underflow, causing a direct comparison with the // stack guard to incorrectly succeed. We explicitly // guard against underflow. // // MOVD $(framesize-StackSmall), R4 // CMPUBLT SP, R4, label-of-call-to-morestack
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 19:28:53 UTC 2023 - 21K bytes - Viewed (0)