Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 735 for examples (0.04 sec)

  1. android/guava/src/com/google/common/base/Throwables.java

     * @author Ben Yu
     * @since 1.0
     */
    @GwtCompatible
    public final class Throwables {
      private Throwables() {}
    
      /**
       * Throws {@code throwable} if it is an instance of {@code declaredType}. Example usage:
       *
       * <pre>
       * for (Foo foo : foos) {
       *   try {
       *     foo.bar();
       *   } catch (BarException | RuntimeException | Error t) {
       *     failure = t;
       *   }
       * }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. 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)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

        }
    
      /**
       * Returns a string with containing this URL with its username, password, query, and fragment
       * stripped, and its path replaced with `/...`. For example, redacting
       * `http://username:password@example.com/path` returns `http://example.com/...`.
       */
      fun redact(): String =
        newBuilder("/...")!!
          .username("")
          .password("")
          .build()
          .toString()
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

        return result
      }
    
      /** A hostname pattern and certificate hash for Certificate Pinning. */
      class Pin(
        pattern: String,
        pin: String,
      ) {
        /** A hostname like `example.com` or a pattern like `*.example.com` (canonical form). */
        val pattern: String
    
        /** Either `sha1` or `sha256`. */
        val hashAlgorithm: String
    
        /** The hash of the pinned certificate using [hashAlgorithm]. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

           *
           * Example:
           * ```
           * --> POST /greeting http/1.1 (3-byte body)
           *
           * <-- 200 OK (22ms, 6-byte body)
           * ```
           */
          BASIC,
    
          /**
           * Logs request and response lines and their respective headers.
           *
           * Example:
           * ```
           * --> POST /greeting http/1.1
           * Host: example.com
           * Content-Type: plain/text
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            // Test characters that need special encoding
            String input1 = "http://example.com/文档"; // Unicode characters
            String result1 = crawlingInfoHelper.generateId(input1);
            assertNotNull(result1);
            assertEquals(128, result1.length());
    
            String input2 = "http://example.com/path with spaces";
            String result2 = crawlingInfoHelper.generateId(input2);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt

     * JavaScript parser `urltestparser.js` with which this class attempts to be compatible.
     *
     * Each line of the `urltestdata.txt` file specifies a test. Lines look like this:
     *
     * ```
     * http://example\t.\norg http://example.org/foo/bar s:http h:example.org p:/
     * ```
     */
    class WebPlatformUrlTestData {
      var input: String? = null
      var base: String? = null
      var scheme = ""
      var username = ""
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. dbflute_fess/dfprop/classificationDefinitionMap.dfprop

    #
    map:{
        # example for implicit classification
        #; Flg = list:{
        #    ; map:{topComment=general boolean classification for every flg-column; codeType=Number}
        #    ; map:{code=1; name=True ; alias=Checked  ; comment=means yes; sisterCode=true}
        #    ; map:{code=0; name=False; alias=Unchecked; comment=means no ; sisterCode=false}
        #}
        # example for table classification
        #; MemberStatus = list:{
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 04 22:46:31 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top