- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 152 for overflowI (0.09 sec)
-
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",Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.4K bytes - Viewed (0) -
android/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() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
static { BigInteger overflow = BigInteger.ONE.shiftLeft(64); for (int i = Character.MIN_RADIX; i <= Character.MAX_RADIX; i++) { maxValueDivs[i] = divide(MAX_VALUE, i); maxValueMods[i] = (int) remainder(MAX_VALUE, i); maxSafeDigits[i] = overflow.toString(i).length() - 1; } } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K bytes - Viewed (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 }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
throw new RuntimeException("Wrong length: " + x); } } } private static String oldRepeat(String string, int count) { // If this multiplication overflows, a NegativeArraySizeException or // OutOfMemoryError is not far behind int len = string.length(); int size = len * count; char[] array = new char[size]; for (int i = 0; i < size; i += len) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
throw new RuntimeException("Wrong length: " + x); } } } private static String oldRepeat(String string, int count) { // If this multiplication overflows, a NegativeArraySizeException or // OutOfMemoryError is not far behind int len = string.length(); int size = len * count; char[] array = new char[size]; for (int i = 0; i < size; i += len) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.4K bytes - Viewed (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
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (1) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
byte[] buf = bufferQueue.poll(); if (buf != null) { queueSize.decrementAndGet(); return buf; } // Validate buffer size to prevent overflow int bufferSize = SmbComTransaction.TRANSACTION_BUF_SIZE; if (bufferSize < 0 || bufferSize > MAX_BUFFER_SIZE) { throw new IllegalStateException("Invalid buffer size: " + bufferSize); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0) -
cmd/warm-backend-minio.go
if objectSize > maxMultipartPutObjectSize { err = errors.New("entity too large") return partSize, err } configuredPartSize := minPartSize // Use floats for part size for all calculations to avoid // overflows during float64 to int64 conversions. partSizeFlt := float64(objectSize / maxPartsCount) partSizeFlt = math.Ceil(partSizeFlt/float64(configuredPartSize)) * float64(configuredPartSize) // Part size.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 4K bytes - Viewed (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
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 3.8K bytes - Viewed (0)