Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for Pin (0.12 sec)

  1. SECURITY.md

    You can learn more about [FastAPI versions and how to pin and upgrade them](https://fastapi.tiangolo.com/deployment/versions/) for your project in the docs.
    
    ## Reporting a Vulnerability
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Sep 11 16:15:49 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

    import javax.net.ssl.SSLSession
    import javax.net.ssl.X509TrustManager
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import okhttp3.CertificatePinner.Companion.pin
    import okhttp3.testing.PlatformRule
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.HeldCertificate
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

      /**
       * Returns true if the host and port are unchanged from when this was created. This is used to
       * detect if followups need to do a full connection-finding process including DNS resolution, and
       * certificate pin checks.
       */
      fun sameHostAndPort(url: HttpUrl): Boolean
    
      /**
       * A plan holds either an immediately-usable connection, or one that must be connected first.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

          if (delegate == null) {
            return;
          }
    
          /*
           * If we're about to complete the TimeoutFuture, we want to release our reference to it.
           * Otherwise, we'll pin it (and its result) in memory until the timeout task is GCed. (The
           * need to clear our reference to the TimeoutFuture is the reason we use a *static* nested
           * class with a manual reference back to the "containing" class.)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

              val cert = peerCertificates[0] as X509Certificate
              throw SSLPeerUnverifiedException(
                """
                |Hostname ${address.url.host} not verified:
                |    certificate: ${CertificatePinner.pin(cert)}
                |    DN: ${cert.subjectDN.name}
                |    subjectAltNames: ${OkHostnameVerifier.allSubjectAltNames(cert)}
                """.trimMargin(),
              )
            } else {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental.h

      // Pins the op to `device` based on inputs to `op`. Returns true
      // signifying to pin to the current custom device. Returns false
      // to pin to the physical device.
      //
      // This function is guaranteed to be called only when all of the custom-device
      // inputs are on this device.
      bool (*shall_pin_to_this_device)(const TFE_Op* op, TF_Status* s) = nullptr;
    } TFE_CustomDevice;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallTest.kt

        val request1 = Request.Builder().url(server.url("/")).build()
        val response1 = client.newCall(request1).execute()
        val certificatePinnerBuilder = CertificatePinner.Builder()
        for (certificate in response1.handshake!!.peerCertificates) {
          certificatePinnerBuilder.add(
            server.hostName,
            pin(certificate),
          )
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.cc

          const ImmediateExecutionOperation* op) override {
        TF_Status status;
        // Let this custom device choose the device to pin this op on if it
        // implements the pinning function.
        if (device_.shall_pin_to_this_device != nullptr) {
          return device_.shall_pin_to_this_device(tensorflow::wrap(op), &status);
        }
        return errors::Unimplemented("No custom device pinning implementation.");
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  9. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

      @Test
      fun testCertificatePinningSuccess() {
        enableTls()
    
        val certificatePinner =
          CertificatePinner.Builder()
            .add(
              server.hostName,
              CertificatePinner.pin(handshakeCertificates.trustManager.acceptedIssuers[0]),
            )
            .build()
        client = client.newBuilder().certificatePinner(certificatePinner).build()
    
        server.enqueue(MockResponse(body = "abc"))
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 27K bytes
    - Viewed (1)
  10. tensorflow/c/experimental/grappler/grappler.h

      TF_TriState constant_folding;
      TF_TriState shape_optimization;
      TF_TriState auto_mixed_precision;
      TF_TriState auto_mixed_precision_onednn_bfloat16;
      TF_TriState auto_mixed_precision_mkl;
      TF_TriState pin_to_host_optimization;
      TF_TriState layout_optimizer;
      TF_TriState remapping;
      TF_TriState loop_optimization;
      TF_TriState dependency_optimization;
      TF_TriState auto_parallel;
      TF_TriState memory_optimization;
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
Back to top