- Sort Score
- Result 10 results
- Languages All
Results 521 - 530 of 813 for INVALID (0.55 sec)
-
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
ServerMessageBlock request = new SmbComDelete("testfile.txt"); ServerMessageBlock response = new SmbComBlankResponse(); // Should throw exception for invalid operation assertThrows(SmbException.class, () -> tree.send(request, response)); } @Test void testTreeConnectWithWaitInterrupted() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
} @Test @DisplayName("Calling a method on null reference throws NPE") void nullReference_throwsNPE() { // Arrange FileEntry e = null; // Act & Assert: demonstrate invalid usage results in NPE assertThrows(NullPointerException.class, () -> e.getName()); } @Nested @DisplayName("Mockito stubbing for edge cases") class MockitoEdgeCases { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
/** * Test that pre-auth hash is reset on error */ @Test @DisplayName("Pre-auth integrity hash should reset on error") void testPreauthHashResetOnError() throws Exception { // Setup invalid SMB2 state to trigger error setPrivateField(transport, "smb2", false); // Try to update preauth hash - should fail and reset
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
} @Test @DisplayName("Test readDataWireFormat with IOException throws ArrayIndexOutOfBoundsException") void testReadDataWireFormatWithIOException() throws Exception { // Create an invalid security descriptor buffer that will cause ArrayIndexOutOfBoundsException byte[] buffer = new byte[4]; // Set error code to 0 setErrorCode(response, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
if (data == null) { log.error("Data buffer is null in verify"); return false; } if (offset < 0 || length < 0) { log.error("Invalid offset or length in verify: offset={}, length={}", offset, length); return false; } if (offset + length > data.length) { log.error("Offset + length exceeds data buffer size in verify");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
* the source or destination address appears to be a "compat" or "mapped" address. Filtering * suggestions usually recommend discarding any packets with source or destination addresses in the * invalid range {@code ::/3}, which includes both of these bizarre address formats. For more * information on "bogons", including lists of IPv6 bogon space, see: * * <ul> * <li><a target="_parent"
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/archive/tar/reader.go
} } if err != nil { return ErrHeader } } hdr.PAXRecords = paxHdrs return nil } // parsePAX parses PAX headers. // If an extended header (type 'x') is invalid, ErrHeader is returned. func parsePAX(r io.Reader) (map[string]string, error) { buf, err := readSpecialFile(r) if err != nil { return nil, err } sbuf := string(buf)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt
* @param reason Reason for shutting down, no longer than 123 bytes of UTF-8 encoded data (**not** characters) or null. * @throws IllegalArgumentException if [code] is invalid or [reason] is too long. */ fun close( code: Int, reason: String?, ): Boolean /** * Immediately and violently release resources held by this web socket, discarding any enqueued
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.3K bytes - Viewed (0) -
cmd/warm-backend-gcs.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
assertEquals(0x0104, Trans2QueryPathInformation.mapInformationLevel(FileInformation.FILE_ENDOFFILE_INFO)); } @Test void testMapInformationLevelWithInvalidLevel() { // Test invalid information level IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> Trans2QueryPathInformation.mapInformationLevel(999));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0)