Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 88 for Formatter (0.03 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

                // Then
                assertEquals(0, result);
            }
        }
    
        /**
         * Test toString method
         */
        @Test
        @DisplayName("Test toString returns properly formatted string")
        public void testToString() {
            // Given
            smbComTreeDisconnect = new SmbComTreeDisconnect(config);
    
            // When
            String result = smbComTreeDisconnect.toString();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

     * The extracted data is then formatted into an XML structure suitable for indexing.
     * </p>
     *
     * <p>
     * The class uses a cache for XPathAPI objects to improve performance. The cache duration is configurable.
     * </p>
     *
     * <p>
     * The transform method takes a ResponseData object containing the XML content and returns a ResultData object with the extracted and formatted data.
     * </p>
     *
     * <p>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

        /**
         * Formats an IP address string for use in a URL.
         * IPv6 addresses are wrapped in brackets, IPv4 addresses are returned as-is.
         *
         * @param address the IP address string to format
         * @return the formatted address (IPv6 with brackets, IPv4 unchanged)
         */
        public static String formatForUrl(final String address) {
            if (address == null) {
                return null;
            }
            if (isIPv6Address(address)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 08:31:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            int bytesRead = trans2GetDfsReferral.readDataWireFormat(buffer, 0, 10);
    
            // Then
            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("toString should return formatted string with details")
        void testToString() throws Exception {
            // Given
            String filename = "\\\\server\\share\\file.txt";
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Stopwatch.java

     *
     * {@snippet :
     * Stopwatch stopwatch = Stopwatch.createStarted();
     * doSomething();
     * stopwatch.stop(); // optional
     *
     * Duration duration = stopwatch.elapsed();
     *
     * log.info("time: " + stopwatch); // formatted string like "12.3 ms"
     * }
     *
     * <p>The state-changing methods are not idempotent; it is an error to start or stop a stopwatch
     * that is already in the desired state.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. CLAUDE.md

    - [ ] JavaDoc for public APIs
    - [ ] Tests pass (`mvn test`)
    - [ ] No compiler warnings
    - [ ] Proper exception handling
    - [ ] Resource cleanup (AutoCloseable)
    - [ ] Thread-safe if needed
    - [ ] Code formatted (`mvn formatter:format`)
    - [ ] License headers (`mvn license:format`)
    
    ---
    
    ## Quick Reference
    
    ### Key File Locations
    
    **Core**: `fess-crawler/src/main/java/org/codelibs/fess/crawler/`
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/dcerpc/UUIDTest.java

            }
        }
    
        @Nested
        @DisplayName("toString() Tests")
        class ToStringTests {
    
            @Test
            @DisplayName("toString() should return correctly formatted UUID string")
            void testToString() {
                // Arrange
                rpc.uuid_t rpcUuid = new rpc.uuid_t();
                rpcUuid.time_low = TIME_LOW;
                rpcUuid.time_mid = TIME_MID;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

                return ConfigType.DATA;
            }
            return null;
        }
    
        /**
         * Extracts the actual ID from a config ID by removing the type prefix.
         * Config IDs are formatted as [type_prefix][actual_id], so this method
         * returns everything after the first character.
         *
         * @param configId the configuration ID to process
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19.5K bytes
    - Viewed (1)
  10. src/test/java/jcifs/http/NtlmSspTest.java

        /**
         * Creates a valid Type 3 NTLM message for testing
         */
        private static String createValidType3Message() {
            // Build a properly formatted Type 3 message
            byte[] message = new byte[200];
    
            // NTLMSSP signature
            System.arraycopy("NTLMSSP\0".getBytes(), 0, message, 0, 8);
    
            // Type 3 indicator
            message[8] = 0x03;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
Back to top