Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 322 for properly (0.06 sec)

  1. src/test/java/jcifs/internal/dfs/ReferralTest.java

            bb.putShort((short) 60); // altPathOffset - with proper spacing
            bb.putShort((short) 90); // nodeOffset - with proper spacing
    
            bb.position(22);
            bb.put("\\\\server\\\\share".getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
            bb.position(60); // Properly spaced
            bb.put("\\\\alt\\\\path".getBytes(StandardCharsets.UTF_16LE));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/transport/Transport.java

     * multiplexing requests. It encapsulates a stream and some protocol
     * knowledge (provided by a concrete subclass) so that connecting,
     * disconnecting, sending, and receiving can be syncronized
     * properly. Apparatus is provided to send and receive requests
     * concurrently.
     */
    
    public abstract class Transport implements Runnable {
    
        /**
         * Default constructor for Transport.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmServletTest.java

        }
    
        /**
         * Test the init method when CIFSException occurs.
         * Verifies that configuration properties are properly validated during initialization.
         */
        @Test
        void testInitWithCIFSException() {
            // Test with valid configuration - should initialize successfully
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            // Then
            assertEquals(0, result);
        }
    
        /**
         * Test toString method
         */
        @Test
        @DisplayName("Test toString returns properly formatted string")
        public void testToString() {
            // Given
            String oldFileName = "oldFile.txt";
            String newFileName = "newFile.txt";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            testOutputBuffer = new byte[1024];
        }
    
        @Test
        @DisplayName("Should implement RequestWithFileId interface correctly")
        void testInterfaceImplementation() {
            // Test that common implementations properly implement the interface
            RequestWithFileId closeRequest = new Smb2CloseRequest(mockConfig, testFileId);
            RequestWithFileId queryInfoRequest = new Smb2QueryInfoRequest(mockConfig, testFileId);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            byte[] dst = new byte[256];
            int written = packet.writeTrailerWireFormat(dst, 0);
            assertTrue(written > 0);
        }
    
        @Test
        @DisplayName("Constructor with NetbiosNames should initialize properly")
        void testConstructorWithNetbiosNames() {
            when(mockCalledName.getName()).thenReturn("SERVER");
            when(mockCalledName.getNameType()).thenReturn(0x20);
            when(mockCalledName.getScope()).thenReturn(null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeConnection.java

        /**
         * Close the tree connection (implements AutoCloseable)
         *
         * This method provides a standard way to close resources using try-with-resources.
         * It delegates to the release() method to properly clean up the connection.
         */
        @Override
        public void close() {
            if (log.isDebugEnabled()) {
                log.debug("Closing SmbTreeConnection via AutoCloseable.close()");
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  8. ADDING_NEW_LANGUAGE.md

    - Clear browser cache
    - Force language with `?browser_lang=[locale]` parameter
    - Check property file encoding (should be UTF-8 or use Unicode escapes `\uXXXX`)
    - Verify property keys match exactly with base English files
    
    ### Build errors after regeneration
    
    - Check property file syntax (no unescaped special characters)
    - Ensure all property values are properly escaped
    - Run `mvn clean` before rebuilding
    
    ## Additional Resources
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 11:36:30 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbResourceTest.java

            }
        }
    
        @Nested
        @DisplayName("Error Handling Tests")
        class ErrorHandlingTests {
    
            @Test
            @DisplayName("CIFSException should be properly declared")
            void testCIFSExceptionDeclaration() throws NoSuchMethodException {
                // Given
                Method existsMethod = SmbResource.class.getMethod("exists");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileHandleImpl.java

         */
        @Override
        protected void finalize() throws Throwable {
            try {
                if (this.usageCount != null && this.usageCount.get() != 0 && this.open) {
                    log.warn("File handle was not properly closed, performing emergency cleanup: " + this);
                    if (this.creationBacktrace != null) {
                        log.warn(Arrays.toString(this.creationBacktrace));
                    }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
Back to top