Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 781 for example (0.16 sec)

  1. okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt

          CertificatePinner.Builder()
            .add("*.example.com", certA1Sha256Pin)
            .add("a.example.com", certB1Sha256Pin)
            .add("b.example.com", certC1Sha256Pin)
            .build()
    
        val expectedPins =
          listOf(
            Pin("*.example.com", certA1Sha256Pin),
            Pin("a.example.com", certB1Sha256Pin),
          )
        assertThat(certificatePinner.findMatchingPins("a.example.com")).isEqualTo(expectedPins)
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt

        assertEquals("**.example.co.uk", pin.pattern)
        Assertions.assertTrue(pin.matchesHostname("www.example.co.uk"))
        Assertions.assertTrue(pin.matchesHostname("gopher.example.co.uk"))
        Assertions.assertFalse(pin.matchesHostname("www.example.com"))
      }
    
      @Test
      fun testMatchesSha256() {
        val pin = CertificatePinner.Pin("example.com", certA1Sha256Pin)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

            ) {
                assertHasErrors("Method com.example.Task.getFailOnError(): Is not annotated with @since 2.0.")
                assertHasAccepted(
                    "Method com.example.Task.getFailOnError(): Is not annotated with @Incubating. Reason for accepting this: Upgraded property" to listOf("Method added to public class", "Abstract method has been added to this class"),
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeUtf8("www.example.com")
      }
    
      private fun checkReadFirstRequestWithoutHuffman() {
        assertThat(hpackReader!!.headerCount).isEqualTo(1)
    
        // [  1] (s =  57) :authority: www.example.com
        val entry = hpackReader!!.dynamicTable[readerHeaderTableLength() - 1]!!
        checkEntry(entry, ":authority", "www.example.com", 57)
    
        // Table size: 57
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 38.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CookieTest.kt

            "a=b; Path=/c;                     Max-Age=5; Secure; HttpOnly",
            "a=b; Path=/c; Domain=example.com;            Secure; HttpOnly",
            "a=b; Path=/c; Domain=example.com; Max-Age=5;         HttpOnly",
            "a=b; Path=/c; Domain=example.com; Max-Age=5; Secure;         ",
            "a=b; Path=/c; Domain=example.com; Max-Age=5; Secure; HttpOnly; SameSite=Lax",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/admission/v1/generated.proto

      optional k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind kind = 2;
    
      // Resource is the fully-qualified resource being requested (for example, v1.pods)
      optional k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3;
    
      // SubResource is the subresource being requested, if any (for example, "status" or "scale")
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  7. README.md

    supports both synchronous blocking calls and async calls with callbacks.
    
    
    Get a URL
    ---------
    
    This program downloads a URL and prints its contents as a string. [Full source][get_example].
    
    ```java
    OkHttpClient client = new OkHttpClient();
    
    String run(String url) throws IOException {
      Request request = new Request.Builder()
          .url(url)
          .build();
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/admission/v1beta1/generated.proto

      optional k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind kind = 2;
    
      // Resource is the fully-qualified resource being requested (for example, v1.pods)
      optional k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3;
    
      // SubResource is the subresource being requested, if any (for example, "status" or "scale")
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            runBinaryCompatibilityCheck(
                v1 = {
                    withFile(
                        "kotlin/com/example/Source.kt",
                        """
                        package com.example
    
                        import org.gradle.api.Incubating
                        import javax.annotation.Nullable
    
                        $v1
                        """
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  10. CONTRIBUTING.md

    *   [C/C++ license example](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/op.cc#L1)
    *   [Python license example](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/nn.py#L1)
    *   [Java license example](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/java/src/main/java/org/tensorflow/Graph.java#L1)
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
Back to top