Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 360 for _elevate (0.17 sec)

  1. android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt

        OkHttpClient.Builder()
          .build()
    
      @Test
      fun getWithCustomSocketFactory() {
        assumeTrue(Build.VERSION.SDK_INT >= 24)
    
        class CustomSSLSocketFactory(
          delegate: SSLSocketFactory,
        ) : DelegatingSSLSocketFactory(delegate) {
          override fun configureSocket(sslSocket: SSLSocket): SSLSocket {
            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
              val parameters = sslSocket.sslParameters
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

        // This allows us to only start up a thread waiting on the delegate future when the first
        // listener is added.
        private final AtomicBoolean hasListeners = new AtomicBoolean(false);
    
        // The delegate future.
        private final Future<V> delegate;
    
        ListenableFutureAdapter(Future<V> delegate) {
          this(delegate, defaultAdapterExecutor);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractIdleService.java

      }
    
      @Override
      public final boolean isRunning() {
        return delegate.isRunning();
      }
    
      @Override
      public final State state() {
        return delegate.state();
      }
    
      /** @since 13.0 */
      @Override
      public final void addListener(Listener listener, Executor executor) {
        delegate.addListener(listener, executor);
      }
    
      /** @since 14.0 */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ForwardingExecutorService.java

      public boolean isTerminated() {
        return delegate().isTerminated();
      }
    
      @Override
      public void shutdown() {
        delegate().shutdown();
      }
    
      @Override
      @CanIgnoreReturnValue
      public List<Runnable> shutdownNow() {
        return delegate().shutdownNow();
      }
    
      @Override
      public void execute(Runnable command) {
        delegate().execute(command);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

      private final Equivalence<? super T> equivalence;
      private final RelationshipTester<T> delegate;
      private final List<T> items = Lists.newArrayList();
    
      private EquivalenceTester(Equivalence<? super T> equivalence) {
        this.equivalence = checkNotNull(equivalence);
        this.delegate = new RelationshipTester<>(equivalence, "equivalent", "hash", new ItemReporter());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

      private final Equivalence<? super T> equivalence;
      private final RelationshipTester<T> delegate;
      private final List<T> items = Lists.newArrayList();
    
      private EquivalenceTester(Equivalence<? super T> equivalence) {
        this.equivalence = checkNotNull(equivalence);
        this.delegate = new RelationshipTester<>(equivalence, "equivalent", "hash", new ItemReporter());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashSet.java

        }
        Set<E> delegate = delegateOrNull();
        return (delegate != null)
            ? delegate.spliterator()
            : Spliterators.spliterator(
                requireElements(), 0, size, Spliterator.DISTINCT | Spliterator.ORDERED);
      }
    
      @Override
      public void forEach(Consumer<? super E> action) {
        checkNotNull(action);
        Set<E> delegate = delegateOrNull();
        if (delegate != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

          insertionOrder = castOrCopyToList(delegate.order(insertionOrder));
          reverse(insertionOrder);
          return insertionOrder;
        }
    
        TestSortedMapGenerator<K, V> delegate() {
          return (TestSortedMapGenerator<K, V>) delegate;
        }
    
        @Override
        public Entry<K, V> belowSamplesLesser() {
          return delegate().aboveSamplesGreater();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt

    import org.junit.jupiter.api.Test
    
    /**
     * Tests for ALPN overriding on Android.
     */
    @Tag("Remote")
    class AlpnOverrideTest {
      class CustomSSLSocketFactory(
        delegate: SSLSocketFactory,
      ) : DelegatingSSLSocketFactory(delegate) {
        override fun configureSocket(sslSocket: SSLSocket): SSLSocket {
          if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
            val parameters = sslSocket.sslParameters
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java

      private static class TestMap extends ForwardingConcurrentMap<String, Integer> {
        final ConcurrentMap<String, Integer> delegate = new ConcurrentHashMap<>();
    
        @Override
        protected ConcurrentMap<String, Integer> delegate() {
          return delegate;
        }
      }
    
      public void testPutIfAbsent() {
        TestMap map = new TestMap();
        map.put("foo", 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.4K bytes
    - Viewed (0)
Back to top