Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 180 for choice (0.22 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

    import okio.Buffer
    import okio.ByteString
    
    /**
     * Encode and decode a model object like a [Long] or [Certificate] as DER bytes.
     */
    internal interface DerAdapter<T> {
      /** Returns true if this adapter can read [header] in a choice. */
      fun matches(header: DerHeader): Boolean
    
      /**
       * Returns a value from this adapter.
       *
       * This must always return a value, though it doesn't necessarily need to consume data from
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

    import java.net.ProtocolException
    
    /**
     * Handles basic types that always use the same tag. This supports optional types and may set a type
     * hint for further adapters to process.
     *
     * Types like ANY and CHOICE that don't have a consistent tag cannot use this.
     */
    internal data class BasicDerAdapter<T>(
      private val name: String,
      /** The tag class this adapter expects, or -1 to match any tag class. */
      val tagClass: Int,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SortedLists.java

       * making this call. If it is not sorted, the results are undefined.
       *
       * <p>If there are elements in the list which compare as equal to the key, the choice of {@link
       * KeyPresentBehavior} decides which index is returned. If no elements compare as equal to the
       * key, the choice of {@link KeyAbsentBehavior} decides which index is returned.
       *
       * <p>This method runs in log(n) time on random-access lists, which offer near-constant-time
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  4. README.md

    * [Building Swift Libraries](https://docs.gradle.org/current/samples/sample_building_swift_libraries.html)
    * [Creating Build Scans](https://scans.gradle.com/)
    
    ## Stay in Flow
    Enjoy first-class Gradle support in your IDE of choice.
    
    * [Android Studio](https://developer.android.com/studio/build/index.html)
    * [Eclipse](https://www.vogella.com/tutorials/EclipseGradle/article.html)
    * [IntelliJ IDEA](https://www.jetbrains.com/help/idea/gradle.html)
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sun Mar 24 20:49:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

    import okhttp3.Route
    import okhttp3.internal.canParseAsIpAddress
    import okhttp3.internal.immutableListOf
    import okhttp3.internal.toImmutableList
    
    /**
     * Selects routes to connect to an origin server. Each connection requires a choice of proxy server,
     * IP address, and TLS mode. Connections may also be recycled.
     */
    class RouteSelector(
      private val address: Address,
      private val routeDatabase: RouteDatabase,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

     *
     * ### Trust Manager Extraction
     *
     * Supported on Android 2.3+ and OpenJDK 7+. There are no public APIs to recover the trust
     * manager that was used to create an [SSLSocketFactory].
     *
     * Not supported by choice on JDK9+ due to access checks.
     *
     * ### Android Cleartext Permit Detection
     *
     * Supported on Android 6.0+ via `NetworkSecurityPolicy`.
     */
    open class Platform {
      /** Prefix used on custom headers. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  7. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        Set<EndpointPair<Integer>> n1IncidentEdges = graph.incidentEdges(N1);
        Set<EndpointPair<Integer>> n2IncidentEdges = graph.incidentEdges(N2);
        assertThat(graphAsMutableGraph.removeNode(N1)).isTrue();
    
        // The choice of the size() method to call here is arbitrary.  We assume that if any of the Set
        // methods executes the validation check, they all will, and thus we only need to test one of
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  8. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

            derReader.readOctetString()
          }
        }.also { expected ->
          assertThat(expected).hasMessage("constructed octet strings not supported for DER")
        }
      }
    
      @Test fun `choice IP address`() {
        val bytes = "8704c0a80201".decodeHex()
        val localhost = InetAddress.getByName("192.168.2.1").address.toByteString()
        assertThat(CertificateAdapters.generalName.fromDer(bytes))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        Set<EndpointPair<Integer>> n1IncidentEdges = graph.incidentEdges(N1);
        Set<EndpointPair<Integer>> n2IncidentEdges = graph.incidentEdges(N2);
        assertThat(graphAsMutableGraph.removeNode(N1)).isTrue();
    
        // The choice of the size() method to call here is arbitrary.  We assume that if any of the Set
        // methods executes the validation check, they all will, and thus we only need to test one of
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         * </p>
         * <ul>
         *   <li>If {@link #MODULES} path type is also set, then the dependency can be placed either on the
         *       class-path or on the module-path, but only one of those. The choice is up to the plugin,
         *       possibly using heuristic rules (Maven 3 behavior).</li>
         *   <li>If a {@link #patchModule(String)} is also set and the main JAR file is placed on the module-path,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.6K bytes
    - Viewed (0)
Back to top