Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 121 for Formatter (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

          "[$host]"
        } else {
          host
        }
      return if (includeDefaultPort || port != defaultPort(scheme)) {
        "$host:$port"
      } else {
        host
      }
    }
    
    /** Returns a [Locale.US] formatted [String]. */
    internal fun format(
      format: String,
      vararg args: Any,
    ): String = String.format(Locale.US, format, *args)
    
    /**
     * will also strip BOM from the source
     */
    @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            // Test empty path
            request.setPath("");
            assertEquals("\\", request.getPath());
        }
    
        @Test
        @DisplayName("Test getPath returns correct formatted path")
        void testGetPath() {
            request = new Smb2CreateRequest(mockConfig, "share\\file.txt");
            assertEquals("\\share\\file.txt", request.getPath());
    
            request.setPath("newpath\\newfile.txt");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

     * It extracts data from an HTML document by applying XPath rules defined in {@link #fieldRuleMap}.
     * The extracted data is then formatted into an XML structure and stored in the {@link ResultData}.
     * <p>
     * This class extends {@link HtmlTransformer} and overrides the {@link #storeData(ResponseData, ResultData)} method
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                    logger.warn("Failed to access log files.", e);
                }
            }
        }
    
        /**
         * Gets host information including hostname and IP address.
         *
         * @return formatted string containing hostname and IP address
         */
        protected String getHostInfo() {
            final StringBuilder buf = new StringBuilder();
            try {
                final InetAddress ia = InetAddress.getLocalHost();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            assertNull(searchRenderData.getExecTime());
    
            // Test with empty string
            searchRenderData.setExecTime("");
            assertEquals("", searchRenderData.getExecTime());
    
            // Test with formatted time string
            searchRenderData.setExecTime("0.123 sec");
            assertEquals("0.123 sec", searchRenderData.getExecTime());
        }
    
        public void test_setAndGetPageSize() {
            // Test with zero
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/custom-response.md

    Let's say you want it to return indented and formatted JSON, so you want to use the orjson option `orjson.OPT_INDENT_2`.
    
    You could create a `CustomORJSONResponse`. The main thing you have to do is create a `Response.render(content)` method that returns the content as `bytes`:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/QueryHelper.java

     * It handles query construction, role-based access control, boost functions, sorting, and search preferences.
     * This class serves as the central component for translating user search requests into properly formatted
     * OpenSearch queries with appropriate filters and scoring mechanisms.
     */
    public class QueryHelper {
    
        /**
         * Default constructor.
         */
        public QueryHelper() {
            // Default constructor
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
Back to top