Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 429 for properly (0.13 sec)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/fess/util/DocumentUtil.java

         * Only encodes characters that are not considered URL-safe according to CharUtil.
         *
         * @param url the URL to encode
         * @return the encoded URL with non-URL-safe characters properly encoded
         */
        public static String encodeUrl(final String url) {
            final String enc = LaRequestUtil.getOptionalRequest()
                    .filter(req -> req.getCharacterEncoding() != null)
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            response = new TransCallNamedPipeResponse(mockConfig, outputBuffer);
        }
    
        @Test
        void testConstructor() {
            assertNotNull(response);
            // Verify that the outputBuffer is stored properly
            byte[] testData = new byte[] { 1, 2, 3, 4, 5 };
            TransCallNamedPipeResponse testResponse = new TransCallNamedPipeResponse(mockConfig, testData);
            assertNotNull(testResponse);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                    assertNotNull(context, "Context should be created");
                    assertEquals(1, context.getCipherId(), "Cipher ID should match");
                }
            }, "Should properly close with try-with-resources");
        }
    
        @Test
        @DisplayName("Should generate unique nonces for encryption")
        void testNonceGeneration() {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/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.
     */
    
    /**
     * Abstract base class for network transport implementations in JCIFS.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeImpl.java

         */
        @Override
        protected void finalize() throws Throwable {
            try {
                if (isConnected() && this.usageCount.get() != 0) {
                    log.warn("Tree was not properly released, performing emergency cleanup: " + this);
                    emergencyCleanup();
                }
            } catch (Exception e) {
                log.error("Error during tree finalization", e);
            } finally {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            when(address.getHostName()).thenReturn("testhost");
    
            transport = new SmbTransportImpl(context, address, 445, null, 0, false);
        }
    
        /**
         * Test that pre-auth integrity hash is properly synchronized
         */
        @Test
        @DisplayName("Pre-auth integrity hash should be thread-safe")
        void testPreauthHashThreadSafety() throws Exception {
            // Setup SMB3.1.1 negotiation
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. 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)
Back to top