Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,129 for examples (0.2 sec)

  1. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            String urlWithTabs = "http://example.com/path\twith\ttabs";
            StatsKeyObject key = new StatsKeyObject("test");
            key.setUrl(urlWithTabs);
    
            crawlerStatsHelper.begin(key);
            crawlerStatsHelper.done(key);
    
            String logMessage = localLogMsg.get();
            assertTrue(logMessage.contains("url:http://example.com/path with tabs"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 15K bytes
    - Viewed (0)
  2. README.md

    implementation 'org.codelibs:curl4j:x.y.z'
    ```
    
    ## Quick Start
    
    ### Synchronous request
    
    ```java
    import org.codelibs.curl.Curl;
    import org.codelibs.curl.CurlResponse;
    
    try (CurlResponse response = Curl.get("https://example.com")
                                    .param("q", "curl4j")
                                    .header("Accept", "application/json")
                                    .executeSync()) {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:11:14 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. docs/distributed/DESIGN.md

    - Choice of erasure set size is automatic based on the number of drives available, let's say for example if there are 32 servers and 32 drives which is a total of 1024 drives. In this scenario 16 becomes the erasure set size. This is decided based on the greatest common divisor (GCD) of acceptable erasure set sizes ranging from *4 to 16*.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 8K bytes
    - Viewed (1)
  4. docs/en/docs/tutorial/background-tasks.md

    This includes, for example:
    
    * Email notifications sent after performing an action:
        * As connecting to an email server and sending an email tends to be "slow" (several seconds), you can return the response right away and send the email notification in the background.
    * Processing data:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/curl/io/ContentCache.java

     * it returns a ByteArrayInputStream.
     *
     * <p>Example usage:
     * <pre>
     * {@code
     * // In-memory caching
     * byte[] data = "example data".getBytes();
     * try (ContentCache cache = new ContentCache(data)) {
     *     InputStream inputStream = cache.getInputStream();
     *     // Read from inputStream
     * }
     *
     * // File-based caching
     * File file = new File("example.txt");
     * try (ContentCache cache = new ContentCache(file)) {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/SerializableTester.java

       * java.io.Serializable} instance, and is thus declared an {@code Object}. For example, it might
       * be declared as a {@code List}.
       *
       * <p>Note also that serialization is not in general required to return an object that is
       * {@linkplain Object#equals equal} to the original, nor is it required to return even an object
       * of the same class. For example, if sublists of {@code MyList} instances were serializable,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. docs/en/docs/environment-variables.md

    ////
    
    ## Read env vars in Python { #read-env-vars-in-python }
    
    You could also create environment variables **outside** of Python, in the terminal (or with any other method), and then **read them in Python**.
    
    For example you could have a file `main.py` with:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java

        }
    
        public void test_logout_withNullUser() {
            // Setup
            authenticator.setLogoutUrl("https://example.com/logout");
    
            // Execute
            String result = authenticator.logout(null);
    
            // Verify
            assertNotNull(result);
            assertEquals("https://example.com/logout", result);
            assertNull(authenticator.getLastLogoutUser());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/oauth2-jwt.md

    ---> 100%
    ```
    
    </div>
    
    /// tip
    
    With `passlib`, you could even configure it to be able to read passwords created by **Django**, a **Flask** security plug-in or many others.
    
    So, you would be able to, for example, share the same data from a Django application in a database with a FastAPI application. Or gradually migrate a Django application using the same database.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

          // OkHttp doesn't reject U+FFFD encoded in Punycode.
          "xn--zn7c.com",
          // OkHttp doesn't reject a U+200D. https://www.rfc-editor.org/rfc/rfc5892.html#appendix-A.2
          "xn--1ug.example",
          // OkHttp doesn't implement CheckJoiners.
          "\u200D.example",
          // OkHttp doesn't implement CheckBidi.
          "يa",
        )
    
      @Test
      fun test() {
        val list = WebPlatformToAsciiData.load()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top