Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 727 for examples (0.05 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

    import javax.security.auth.callback.UnsupportedCallbackException
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.internal.SuppressSignatureCheck
    import okhttp3.internal.platform.Platform
    
    /**
     * Example of using a hardware key to perform client auth.
     * Prefer recent JDK builds, and results are temperamental to slight environment changes.
     * Different instructions and configuration may be required for other hardware devices.
     *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

        <tika:link>https://www.ietf.org/staging/draft-tuexen-opsawg-pcapng-02.html</tika:link>
        <magic priority="60">
          <match value="0x0A0D0D0A" type="string" offset="0">
            <!-- Could only find examples of the second. I have not tested the first -->
            <match value="0xa1b2c3d4" type="big32" offset="8" />
            <match value="0x4d3c2b1a" type="string" offset="8" />
          </match>
        </magic>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Oct 16 07:46:32 UTC 2025
    - 320.2K bytes
    - Viewed (5)
  3. src/test/java/jcifs/context/SingletonContextTest.java

            // Test registerSmbURLHandler when java.protocol.handler.pkgs does not contain "jcifs"
            System.setProperty("java.protocol.handler.pkgs", "com.example");
            SingletonContext.registerSmbURLHandler();
            assertEquals("com.example|jcifs", System.getProperty("java.protocol.handler.pkgs"));
        }
    
        @Test
        void testRegisterSmbURLHandlerWhenPkgsAlreadyContainsJcifs() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots.txt

    User-agent: Crawler
    Disallow: /aaa
    
    User-agent: Crawler/1.0
    Disallow: /bbb
    
    User-agent: Crawler/2.0
    Disallow: /ccc
    
    User-agent: Hoge Crawler
    Disallow: /ddd
    
    sitemap: http://www.example.com/sitmap.xml
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 566 bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

       * included a `domain` attribute.
       *
       * For example, suppose the cookie's domain is `example.com`. If this flag is true it matches
       * **only** `example.com`. If this flag is false it matches `example.com` and all subdomains
       * including `api.example.com`, `www.example.com`, and `beta.api.example.com`.
       *
       * This is true unless 'domain' is present.
       */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  6. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt

      val zstdInterceptor = CompressionInterceptor(Zstd, Gzip)
    
      @Test
      fun testDecompressZstd() {
        val s = "hello zstd world".encodeUtf8().zstdCompress()
    
        val response =
          response("https://example.com/", s) {
            header("Content-Encoding", "zstd")
          }
    
        val decompressed = zstdInterceptor.decompress(response)
        assertThat(decompressed.header("Content-Encoding")).isNull()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  7. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

              localPort = 80,
            ),
          )
        val requestLine = decodeRequestLine("CONNECT example.com:8080 HTTP/1.1")
        val request = RecordedRequest(requestLine, headers, emptyList(), 0, ByteString.EMPTY, 0, 0, socket)
        assertThat(request.target).isEqualTo("example.com:8080")
        assertThat(request.url.toString()).isEqualTo("http://example.com:8080/")
      }
    
      @Test fun testAbsoluteForm() {
        val socket =
          MockWebServerSocket(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbSessionImplTest.java

        @Mock
        private CredentialsInternal credentialsInternal;
        @Mock
        private SmbTransportImpl transport;
    
        private SmbSessionImpl newSession() {
            return new SmbSessionImpl(cifsContext, "server.example", "EXAMPLE", transport);
        }
    
        @BeforeEach
        void setup() {
            // Base context configuration - always needed
            when(cifsContext.getConfig()).thenReturn(configuration);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ComparisonChain.java

     *     return COMPARATOR.compare(this, that);
     *   }
     * }
     *
     * <p>With method references it is more succinct: {@code comparing(Foo::aString)} for example.
     *
     * <p>Using {@link Comparator} avoids certain types of bugs, for example when you meant to write
     * {@code .compare(a.foo, b.foo)} but you actually wrote {@code .compare(a.foo, a.foo)} or {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top