- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 219 for too (0.01 sec)
-
cmd/streaming-signature-v4_test.go
{"FFFFFFFFFFFFFFFF", 1<<64 - 1, ""}, {"000000000000bogus", 0, "invalid byte in chunk length"}, {"00000000000000000", 0, "http chunk length too large"}, // could accept if we wanted {"10000000000000000", 0, "http chunk length too large"}, {"00000000000000001", 0, "http chunk length too large"}, // could accept if we wanted } for i := uint64(0); i <= 1234; i++ { tests = append(tests, testCase{in: fmt.Sprintf("%x", i), want: i})
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
assertEquals("Invalid PAC credential type", exception.getMessage()); } /** * Tests the constructor with a byte array that is too large. */ @Test void testConstructorWithDataTooLarge() { // A byte array with a length of 32 should be considered too large. byte[] largeData = new byte[32];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (0) -
cmd/erasure-sets_test.go
{"object", 37}, {"The Shining Script <v1>.pdf", 38}, {"Cost Benefit Analysis (2009-2010).pptx", 59}, {"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", 35}, {"SHØRT", 49}, {"There are far too many object names, and far too few bucket names!", 8}, {"a/b/c/", 159}, {"/a/b/c", 96}, {string([]byte{0xff, 0xfe, 0xfd}), 147}, } // Tests hashing order to be consistent. for i, testCase := range testCases {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtStatus.java
/** The request is pending */ int NT_STATUS_PENDING = 0x00000103; /** A notify change request is being completed and information is being returned */ int NT_STATUS_NOTIFY_ENUM_DIR = 0x0000010C; /** The data was too large to fit into the specified buffer */ int NT_STATUS_BUFFER_OVERFLOW = 0x80000005; /** The requested operation was unsuccessful */ int NT_STATUS_UNSUCCESSFUL = 0xC0000001;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
log.warn("Response buffer too small: {} < {}", buffer.length, expectedSize); throw new SmbException("Response buffer too small: " + buffer.length + " < " + expectedSize); } if (buffer.length > maxSize) { failedValidations.incrementAndGet(); bufferOverflowsPrevented.incrementAndGet(); log.warn("Response buffer too large: {} > {}", buffer.length, maxSize);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
response.readBytesWireFormat(tooSmallBuffer, 0); }); assertTrue(exception.getMessage().contains("Buffer too small for SMB2 negotiate response")); assertTrue(exception.getMessage().contains("minimum 65 bytes required")); } /** * Test validation of excessive negotiate context count. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
} @Test void testEncodeDestinationTooSmall() { // Test when destination array is too small byte[] data = { 0x01, 0x02, 0x03 }; ByteEncodable encodable = new ByteEncodable(data, 0, 3); byte[] dest = new byte[2]; // Destination is too small // Expect IndexOutOfBoundsException from System.arraycopy assertThrows(IndexOutOfBoundsException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
} @Test @DisplayName("readUShort throws on too short array") void testReadUShortOutOfBounds() { byte[] a = new byte[] { 0x02 }; assertThrows(IndexOutOfBoundsException.class, () -\u003e NtlmMessage.readUShort(a, 0)); } @Test @DisplayName("readULong throws on too short array") void testReadULongOutOfBounds() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
// Verify assertEquals(defaultType, pacSignature.getType()); assertArrayEquals(checksum, pacSignature.getChecksum()); } /** * Test constructor with malformed data (too short). */ @Test void testConstructorMalformedData() { // Prepare data (only 2 bytes, less than an int) byte[] data = new byte[] { 0x01, 0x02 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
require(millis <= Integer.MAX_VALUE) { "$name too large" } require(millis != 0L || duration <= 0L) { "$name too small" } return millis.toInt() } internal fun checkDuration( name: String, duration: Duration, ): Int { check(!duration.isNegative()) { "$name < 0" } val millis = duration.inWholeMilliseconds require(millis <= Integer.MAX_VALUE) { "$name too large" }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1)