Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 209 for isn (0.14 sec)

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

     */
    internal data class BitString(
      val byteString: ByteString,
      /** 0-7 unused bits in the last byte. */
      val unusedBitsCount: Int,
    ) {
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + byteString.hashCode()
        result = 31 * result + unusedBitsCount
        return result
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt

    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    
    /**
     * This extends [X509ExtendedTrustManager] to disable verification for a set of hosts.
     *
     * Note that the superclass [X509ExtendedTrustManager] isn't available on Android until version 7
     * (API level 24).
     */
    @IgnoreJRERequirement
    internal class InsecureExtendedTrustManager(
      private val delegate: X509ExtendedTrustManager,
      private val insecureHosts: List<String>,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/RecordingCallback.kt

        responses.add(RecordedResponse(call.request(), response, null, body, null))
        (this as Object).notifyAll()
      }
    
      /**
       * Returns the recorded response triggered by `request`. Throws if the response isn't
       * enqueued before the timeout.
       */
      @Synchronized
      fun await(url: HttpUrl): RecordedResponse {
        val timeoutMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime()) + TIMEOUT_MILLIS
        while (true) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/AnyValue.kt

     */
    internal data class AnyValue(
      var tagClass: Int,
      var tag: Long,
      var constructed: Boolean = false,
      var length: Long = -1L,
      val bytes: ByteString,
    ) {
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + tagClass
        result = 31 * result + tag.toInt()
        result = 31 * result + (if (constructed) 0 else 1)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/artifact/MavenArtifactProperties.java

         * to be not present in any regular repository and likewise has no artifact descriptor. Artifact resolution will
         * verify the path and resolve the artifact if the path actually denotes an existing file. If the path isn't valid,
         * resolution will fail and no attempts to search local/remote repositories are made.
         */
        public static final String LOCAL_PATH = "localPath";
    
        private MavenArtifactProperties() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

             * interrupting thread. In theory, interruptTask() should be very fast, but due to
             * InterruptibleChannel and JavaLangAccess.blockedOn(Thread, Interruptible), it isn't
             * predictable what work might be done. (e.g., close a file and flush buffers to disk). To
             * protect ourselves from this, we park ourselves and tell our interrupter that we did so.
             */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/ParameterTest.java

        try {
          Class.forName("java.lang.reflect.AnnotatedType");
        } catch (ClassNotFoundException runningInAndroidVm) {
          /*
           * Parameter declares a method that returns AnnotatedType, which isn't available on Android.
           * This would cause NullPointerTester, which calls Class.getDeclaredMethods, to throw
           * NoClassDefFoundError.
           */
          return;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 02:06:03 GMT 2023
    - 2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableEnumSet.java

            return ImmutableSet.of(Iterables.getOnlyElement(set));
          default:
            return new ImmutableEnumSet<>(set);
        }
      }
    
      /*
       * Notes on EnumSet and <E extends Enum<E>>:
       *
       * This class isn't an arbitrary ForwardingImmutableSet because we need to
       * know that calling {@code clone()} during deserialization will return an
       * object that no one else has a reference to, allowing us to guarantee
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

        countDownLatch.countDown();
      }
    
      /**
       * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
       * returns the expected data.
       *
       * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the
       *     result doesn't match the expected value.
       */
      public void assertSuccess(Object expectedData) throws Throwable {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 18:12:42 GMT 2023
    - 3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

        fun noCache() = commonNoCache()
    
        /** Don't store the server's response in any cache. */
        fun noStore() = commonNoStore()
    
        /**
         * Only accept the response if it is in the cache. If the response isn't cached, a `504
         * Unsatisfiable Request` response will be returned.
         */
        fun onlyIfCached() = commonOnlyIfCached()
    
        /** Don't accept a transformed response. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top