- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 219 for overflowY (0.05 seconds)
-
src/test/java/jcifs/EncodableTest.java
} @Test @DisplayName("encode() throws when dstIndex causes overflow") void encodeThrowsWhenDstIndexCausesOverflow() { byte[] src = makeSeq(5); Encodable enc = new ByteEncodable(src, 0, 5); byte[] dst = new byte[6]; // size is 6, but index 2 + len 5 -> overflow assertThrows(ArrayIndexOutOfBoundsException.class, () -> enc.encode(dst, 2),Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LongAdderTest.java
public void testOverflows() { LongAdder longAdder = new LongAdder(); longAdder.add(Long.MAX_VALUE); assertThat(longAdder.sum()).isEqualTo(Long.MAX_VALUE); longAdder.add(1); // silently overflows; is this a bug? // See https://github.com/google/guava/issues/3503 assertThat(longAdder.sum()).isEqualTo(-9223372036854775808L); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
import java.util.concurrent.atomic.AtomicInteger; import org.junit.jupiter.api.Test; /** * Security-focused test cases for BufferCache to verify buffer overflow protection. */ public class BufferCacheSecurityTest { /** * Test that buffer allocation validates size to prevent overflow. */ @Test public void testBufferSizeValidation() { // When - Get a buffer byte[] buffer = BufferCache.getBuffer();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
} @Test @DisplayName("Should handle overflow in capacity calculation") void shouldHandleOverflowInCapacityCalculation() throws SMBProtocolDecodingException { // Given - values that will cause overflow ByteBuffer buffer = ByteBuffer.allocate(24); buffer.order(ByteOrder.LITTLE_ENDIAN);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.9K bytes - Click Count (0) -
.github/SUPPORT.md
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Mar 29 22:00:27 GMT 2023 - 692 bytes - Click Count (0) -
src/main/webapp/css/admin/style.css
font-size: 120%; font-weight: 600; } section.content table { display: table; table-layout: fixed; width: 100%; } section.content table td { display: table-cell; word-wrap: break-word; overflow-wrap: break-word; } section.content table .label { color: #fff; } textarea.systemInfoData { height: 22em; line-height: 1.5em; } .login-box { height: 500px; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 1.3K bytes - Click Count (0) -
internal/dsync/utils.go
package dsync import ( "math/rand" "time" ) func backoffWait(minSleep, unit, maxSleep time.Duration) func(*rand.Rand, uint) time.Duration { if unit > time.Hour { // Protect against integer overflow panic("unit cannot exceed one hour") } return func(r *rand.Rand, attempt uint) time.Duration { sleep := minSleep sleep += unit * time.Duration(attempt) if sleep > maxSleep { sleep = maxSleep }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 11 14:51:43 GMT 2024 - 1.2K bytes - Click Count (0) -
ISSUES.md
**Here's why we have this policy:** We want to focus on the work that benefits the whole community, e.g., fixing bugs and adding features. Individual support should be sought on Stack Overflow or other non-GitHub channels. It helps us to
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Feb 11 22:37:27 GMT 2021 - 606 bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaCredits.java
*/ package jcifs.internal.smb2.rdma; /** * RDMA credit management for flow control. * * Credits are used to control the flow of messages between * RDMA peers to prevent buffer overflow. */ public class RdmaCredits { private int initialCredits; private int creditsGranted; /** * Create new RDMA credits manager */ public RdmaCredits() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 2K bytes - Click Count (0) -
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.1K bytes - Click Count (0)