Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 682 for bundle (0.05 sec)

  1. src/main/java/jcifs/smb/SmbFileHandleImpl.java

                    log.warn("File handle was not properly closed, performing emergency cleanup: " + this);
                    if (this.creationBacktrace != null) {
                        log.warn(Arrays.toString(this.creationBacktrace));
                    }
                    emergencyCloseHandle();
                }
            } catch (Exception e) {
                log.error("Error during file handle finalization", e);
            } finally {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  2. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            // Then
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
        @Test
        @DisplayName("Should handle null message gracefully")
        void testNullMessage() {
            // When/Then
            assertDoesNotThrow(() -> {
                RuntimeCIFSException exception = new RuntimeCIFSException((String) null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                assertEquals(encoded, decoded);
                assertArrayEquals(originalCiphers, decodedContext.getCiphers());
            }
    
            @Test
            @DisplayName("Should handle round-trip at non-zero offset")
            void testRoundTripWithOffset() throws SMBProtocolDecodingException {
                int offset = 100;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/EncdecTest.java

            assertEquals(0xDE, buffer[1] & 0xFF);
            assertEquals(0xBC, buffer[2] & 0xFF);
            assertEquals(0x9A, buffer[3] & 0xFF);
        }
    
        @Test
        @DisplayName("Should handle big endian encoding/decoding")
        void testBigEndianOperations() {
            // Given
            int value = 0x12345678;
            byte[] buffer = new byte[4];
    
            // When - encode big endian
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResourceException.java

            default:
                return "Check resource availability and retry";
            }
        }
    
        /**
         * Static factory for file handle exhaustion
         */
        public static SmbResourceException fileHandleExhausted(int errorCode) {
            return new SmbResourceException("File handle limit exceeded", errorCode, ResourceType.FILE_HANDLE);
        }
    
        /**
         * Static factory for connection pool exhaustion
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

                }
            }
            return false;
        }
    
        /**
         * Add a durable handle V1 context to this request
         */
        public void addDurableHandleV1Context() {
            addCreateContext(new jcifs.internal.smb2.persistent.DurableHandleRequest());
        }
    
        /**
         * Add a durable handle V2 context to this request
         * @param timeoutMs the timeout in milliseconds (0 for persistent handles)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            assertEquals(0, response.readParametersWireFormat(buffer, 0, 100));
            assertEquals(0, response.readDataWireFormat(buffer, 0, 100));
        }
    
        @Test
        @DisplayName("Methods should handle null buffer without validation")
        void testMethodsWithNullBuffer() {
            // The implementation doesn't validate null buffers
            // These methods simply return 0 without accessing the buffer
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

                assertEquals(rootNames[i], entries[i].getName());
                assertEquals(8, entries[i].getType()); // TYPE_SHARE constant value
            }
        }
    
        @Test
        @DisplayName("getEntries should handle single DFS root correctly")
        void testGetEntries_singleEntry() throws Exception {
            // Create array with single entry
            netdfs.DfsEnumArray200 singleArray = new netdfs.DfsEnumArray200();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

                        // Handle nested properties
                        if (key.contains(".")) {
                            // Simple nested property handling for testing
                            result = result.replace("${" + key + "}", String.valueOf(value));
                        } else if (value instanceof TestUser) {
                            // Handle TestUser object
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtStatus.java

        /** The specified information class is invalid */
        int NT_STATUS_INVALID_INFO_CLASS = 0xC0000003;
        /** Invalid access to memory location */
        int NT_STATUS_ACCESS_VIOLATION = 0xC0000005;
        /** The handle is invalid */
        int NT_STATUS_INVALID_HANDLE = 0xC0000008;
        /** The parameter is incorrect */
        int NT_STATUS_INVALID_PARAMETER = 0xC000000d;
        /** The system cannot find the device specified */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top