- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 218 for Overflow (0.05 seconds)
-
internal/s3select/sql/value_test.go
wantOK: true, }, { name: "min", fields: fields{ value: []byte(strconv.FormatInt(math.MinInt64, 10)), }, want: math.MinInt64, wantOK: true, }, { name: "max-overflow", fields: fields{ value: []byte("9223372036854775808"), }, // Seems to be what strconv.ParseInt returns want: math.MaxInt64, wantOK: false, }, { name: "min-underflow",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) -
src/test/java/jcifs/SmbWatchHandleTest.java
verify(watchHandle, times(1)).watch(); } /** * Test watch() method returning empty list when buffer overflow */ @Test void testWatchBufferOverflow() throws CIFSException { // Setup mock behavior for buffer overflow scenario when(watchHandle.watch()).thenReturn(Collections.emptyList()); // Execute
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (1) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java
* * This is because the ModelProcessor interface extends ModelLocator and ModelReader. If we * made this component available under all its interfaces then it could end up being injected * into itself leading to a stack overflow. * * A side effect of using @Typed is that it translates to explicit bindings in the container. * So instead of binding the component under a 'wildcard' key it is now bound with an explicit
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
assertTrue(stats.getFailureRate() <= 1.0); } @Test public void testBufferOverflowPrevention() throws Exception { validator.resetStats(); // Trigger buffer overflow prevention try { byte[] buffer = new byte[10]; validator.validateBufferAccess(buffer, 5, 10); } catch (SmbException e) { // Expected }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/StatsTesting.java
+ (-2.2 - MANY_VALUES_MEAN) * (-2.2 - MANY_VALUES_MEAN); static final double MANY_VALUES_MAX = 555.555; static final double MANY_VALUES_MIN = -44.44; // Doubles which will overflow if summed: static final double[] LARGE_VALUES = {Double.MAX_VALUE, Double.MAX_VALUE / 2.0}; static final double LARGE_VALUES_MEAN = 0.75 * Double.MAX_VALUE; static final ImmutableList<Double> OTHER_MANY_VALUES =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 24K bytes - Click Count (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
long result = origin + distance; if (result < 0) { checkArgument(origin < 0, "overflow"); } return result; } @Override public long distance(Long start, Long end) { long result = end - start; if (end > start && result < 0) { // overflow return Long.MAX_VALUE; } if (end < start && result > 0) { // underflowCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 10.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
assertThat(UnsignedInts.parseUnsignedInt(maxAsString, radix)).isEqualTo(-1); assertThrows( NumberFormatException.class, () -> { long overflow = 1L << 32; String overflowAsString = Long.toString(overflow, radix); UnsignedInts.parseUnsignedInt(overflowAsString, radix); }); } } public void testParseIntThrowsExceptionForInvalidRadix() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.5K bytes - Click Count (0) -
mkdocs.yml
'concurrency.md': 'contribute/concurrency.md' 'debug_logging.md': 'contribute/debug_logging.md' nav: - 'Overview': - 'Overview': index.md - 'Stack Overflow': https://stackoverflow.com/questions/tagged/okhttp?sort=active - 'Features': - 'Calls': features/calls.md - 'Caching': features/caching.md - 'Connections': features/connections.md
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Nov 21 07:19:31 GMT 2024 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
throw new SMBProtocolDecodingException("Invalid buffer parameters"); } if (bufferIndex + len > buffer.length) { throw new SMBProtocolDecodingException("Buffer overflow"); } // Store the decoded data this.data = new byte[len]; System.arraycopy(buffer, bufferIndex, this.data, 0, len); return len; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt
unicode = "ليهمابتكلموشعربي؟", punycode = "Xn--EgBpDaJ6Bu4bXfGeHfVwXn", ) } /** * It's invalid to have a label longer than 63 characters. If that's requested, the encoder may * overflow and return null. */ @Test fun overflowEncodingOversizedLabel() { val a1000 = "a".repeat(1000) val a1000MaxCodePoint = a1000 + "\udbff\udfff" testEncodeDecode( a1000MaxCodePoint,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 5.3K bytes - Click Count (0)