- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 17 for underflow (0.35 seconds)
-
internal/s3select/sql/value_test.go
fields: fields{ value: []byte("9223372036854775808"), }, // Seems to be what strconv.ParseInt returns want: math.MaxInt64, wantOK: false, }, { name: "min-underflow", fields: fields{ value: []byte("-9223372036854775809"), }, // Seems to be what strconv.ParseInt returns want: math.MinInt64, wantOK: false, }, { name: "zerospace",Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.4K bytes - Click Count (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 inCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 26.1K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ReaderInputStream.java
// Not enough room in output buffer--drain it, creating a bigger buffer if necessary. startDraining(true); continue DRAINING; } else if (result.isUnderflow()) { // If encoder underflows, it means either: // a) the final flush() succeeded; next drain (then done) // b) we encoded all of the input; next flush // c) we ran of out input to encode; next read more inputCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:36:11 GMT 2025 - 9.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 10.4K bytes - Click Count (0) -
android/guava/src/com/google/common/math/LongMath.java
b *= b; } } } } /** * Returns the sum of {@code a} and {@code b} unless it would overflow or underflow in which case * {@code Long.MAX_VALUE} or {@code Long.MIN_VALUE} is returned, respectively. * * @since 20.0 */ // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 09 23:01:02 GMT 2026 - 46.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/DiscreteDomain.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 10.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
}); assertThrows(IllegalArgumentException.class, () -> { transformHeader.setSignature(longSignature); }); } @Test @DisplayName("Should handle buffer underflow during decode") void testBufferUnderflowDecode() { // Given byte[] shortBuffer = new byte[20]; // Too short for transform header // When/ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
assertEquals(0, response.readSetupWireFormat(emptyBuffer, 0, 0)); assertEquals(0, response.readDataWireFormat(emptyBuffer, 0, 0)); // readParametersWireFormat would throw exception due to buffer underflow assertThrows(Exception.class, () -> { response.readParametersWireFormat(emptyBuffer, 0, 0); }); } @Test @DisplayName("Test inherited behavior from parent class")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
internal/s3select/unused-errors.go
statusCode: 400, cause: err, } } func errIntegerOverflow(err error) *s3Error { return &s3Error{ code: "IntegerOverflow", message: "Integer overflow or underflow in the SQL expression.", statusCode: 400, cause: err, } } func errIllegalSQLFunctionArgument(err error) *s3Error { return &s3Error{ code: "IllegalSqlFunctionArgument",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 20 08:16:35 GMT 2024 - 17.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
* threads take special action by participating in the signal-passing game. */ /* * Timeout handling is intricate, especially given our ambitious goals: * - Avoid underflow and overflow of timeout values when specified timeouts are close to * Long.MIN_VALUE or Long.MAX_VALUE. * - Favor responding to interrupts over timeouts.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 43.5K bytes - Click Count (0)