- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 213 for overflowed (0.08 seconds)
-
android/guava/src/com/google/common/collect/MoreCollectors.java
} RuntimeException multiples(boolean overflow) { if (exceptionSupplier != null) { throw exceptionSupplier.get(); } StringBuilder sb = new StringBuilder().append("expected one element but was: <").append(element); for (Object o : extras) { sb.append(", ").append(o); } if (overflow) { sb.append(", ..."); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 18 16:22:33 GMT 2026 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
} @Test @DisplayName("Should handle overflow in capacity calculation") void shouldHandleOverflowInCapacityCalculation() throws SMBProtocolDecodingException { // Given - values that will cause overflow ByteBuffer buffer = ByteBuffer.allocate(32); buffer.order(ByteOrder.LITTLE_ENDIAN);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.5K bytes - Click Count (0) -
src/archive/tar/strconv.go
if i == 0 { c &= 0x7f // Ignore signal bit in first byte } if (x >> 56) > 0 { p.err = ErrHeader // Integer overflow return 0 } x = x<<8 | uint64(c) } if (x >> 63) > 0 { p.err = ErrHeader // Integer overflow return 0 } if inv == 0xff { return ^int64(x) } return int64(x) } // Normal case is base-8 (octal) format.Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 9.1K bytes - Click Count (0) -
src/bytes/bytes.go
// // It panics if count is negative or if the result of (len(b) * count) // overflows. func Repeat(b []byte, count int) []byte { if count == 0 { return []byte{} } // Since we cannot return an error on overflow, // we should panic if the repeat will generate an overflow. // See golang.org/issue/16237. if count < 0 { panic("bytes: negative Repeat count") }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Mar 12 17:56:55 GMT 2026 - 36.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
assertEquals(20, bytesDecoded); } @Test @DisplayName("Test capacity calculation overflow handling") void testCapacityCalculationOverflow() throws SMBProtocolDecodingException { // Prepare test data that might cause overflow in naive implementations byte[] buffer = new byte[22]; int idFileSystem = 0; int sectPerAlloc = 1000;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (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) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt
).decodeHex() serverWriter.writeMessageFrame(OPCODE_BINARY, payload) assertData("8232") assertData(payload) } @Test fun serverMessageLengthShort() { // Create a payload which will overflow the normal payload byte size. val payload = Buffer() while (payload.completeSegmentByteCount() <= PAYLOAD_BYTE_MAX) { payload.writeByte('0'.code) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 9.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java
@Test public void test_constructorWithThrowableCause_StackOverflowError() { // Test with StackOverflowError as cause String message = "SSO login recursive overflow"; StackOverflowError error = new StackOverflowError("Stack overflow in authentication chain"); SsoLoginException exception = new SsoLoginException(message, error); assertEquals(message, exception.getMessage());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.7K bytes - Click Count (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; } } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 17.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
PriorityTrackingBooster.clearExecutionOrder(); scoreUpdater.execute(); // Due to integer overflow in comparator, execution order is affected for extreme values // The comparator b2 - b1 with MAX_VALUE and MIN_VALUE causes overflow List<Integer> executionOrder = PriorityTrackingBooster.getExecutionOrder(); assertEquals(3, executionOrder.size());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.5K bytes - Click Count (0)