- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 681 for delete (0.06 sec)
-
InsecureAndroidTrustManager.kt
This extends [X509TrustManager] for Android to disable verification for a set of hosts. */ L26:internal class InsecureAndroidTrustManager( L27: private val delegate: X509TrustManager, L28: private val insecureHosts: List<String>, L29:) : X509TrustManager { L30: private val checkServerTrustedMethod: Method? = L31: try { L32: delegate::class.java.getMethod( L33: "checkServerTrusted", L34: Array<X509Certificate>::class.java, L35: String::class.java, L36: String::class.java,...github.com/square/okhttp/okhttp-tls/src/main/ko...Mon Jan 08 01:13:22 UTC 2024 2.4K bytes -
ReserializingTestSetGenerator.java
extends ReserializingTestCollectionGenerator<E> L31: implements TestSetGenerator<E> { L32: L33: ReserializingTestSetGenerator(TestSetGenerator<E> delegate) { L34: super(delegate); L35: } L36: L37: public static <E> TestSetGenerator<E> newInstance(TestSetGenerator<E> delegate) { L38: return new ReserializingTestSetGenerator<>(delegate); L39: } L40: L41: @Override L42: public Set<E> create(Object... elements) { L43: return (Set<E>) super.create(elements); L44: } L45:}...github.com/google/guava/android/guava-testlib/s...Fri Oct 01 17:18:04 UTC 2021 1.4K bytes -
ImmutableSortedSet.java
comparator.equals(comparator2); L227: } L228: return false; L229: } L230: L231: // Assumes that delegate doesn't have null elements and comparator. L232: static <E> ImmutableSortedSet<E> unsafeDelegateSortedSet( L233: SortedSet<E> delegate, boolean isSubset) { L234: return delegate.isEmpty() L235: ? emptySet(delegate.comparator()) L236: : new RegularImmutableSortedSet<E>(delegate, isSubset); L237: } L238: L239: private final transient SortedSet<E> sortedDelegate; L240: L241:...github.com/google/guava/guava-gwt/src-super/com...Mon Aug 19 16:21:24 UTC 2024 15.5K bytes -
SynchronizedMapTest.java
extends ForwardingMap<K, V> implements Serializable { L48: public final Object mutex; L49: private Map<K, V> delegate; L50: L51: public TestMap(Map<K, V> delegate, Object mutex) { L52: checkNotNull(mutex); L53: this.delegate = delegate; L54: this.mutex = mutex; L55: } L56: L57: @Override L58: protected Map<K, V> delegate() { L59: return delegate; L60: } L61: L62: @Override L63: public int size() { L64: assertTrue(Thread.holdsLock(mutex)); L65: ...github.com/google/guava/guava-tests/test/com/go...Tue Aug 06 17:23:04 UTC 2024 5.8K bytes -
AbstractScheduledService.java
static final class FutureAsCancellable implements Cancellable { L496: private final Future<?> delegate; L497: L498: FutureAsCancellable(Future<?> delegate) { L499: this.delegate = delegate; L500: } L501: L502: @Override L503: @SuppressWarnings("Interruption") // We are propagating an interrupt from a caller. L504: public void cancel(boolean mayInterruptIfRunning) { L505: delegate.cancel(mayInterruptIfRunning); L506: } L507: L508: @Override L509: public boolean isCancelled()...github.com/google/guava/guava/src/com/google/co...Fri Oct 25 16:22:21 UTC 2024 27.8K bytes -
ImmutableClassToInstanceMap.java
L166: return new Builder<B>().putAll(map).build(); L167: } L168: L169: private final ImmutableMap<Class<? extends B>, B> delegate; L170: L171: private ImmutableClassToInstanceMap(ImmutableMap<Class<? extends B>, B> delegate) { L172: this.delegate = delegate; L173: } L174: L175: @Override L176: protected Map<Class<? extends B>, B> delegate() { L177: return delegate; L178: } L179: L180: @Override L181: @SuppressWarnings("unchecked") // value could not get in if not a T L182: @CheckForNull...github.com/google/guava/guava/src/com/google/co...Wed May 10 21:56:03 UTC 2023 7.1K bytes -
FallbackTestClientSocketFactory.kt
L22:/** L23: * An SSLSocketFactory that delegates calls. Sockets created by the delegate are wrapped with ones L24: * that will not accept the [TLS_FALLBACK_SCSV] cipher, thus bypassing server-side fallback L25: * checks on platforms that support it. Unfortunately this wrapping will disable any L26: * reflection-based calls to SSLSocket from Platform. L27: */ L28:class FallbackTestClientSocketFactory( L29: delegate: SSLSocketFactory, L30:) : DelegatingSSLSocketFactory(delegate) { L31: override...github.com/square/okhttp/okhttp/src/test/java/o...Mon Jan 08 01:13:22 UTC 2024 2K bytes -
ForwardingNavigableSetTest.java
wrap(set1)) L234: .addEqualityGroup(set2, wrap(set2)) L235: .testEquals(); L236: } L237: L238: private static <T> NavigableSet<T> wrap(final NavigableSet<T> delegate) { L239: return new ForwardingNavigableSet<T>() { L240: @Override L241: protected NavigableSet<T> delegate() { L242: return delegate; L243: } L244: }; L245: } L246:}...github.com/google/guava/android/guava-tests/tes...Sat Oct 19 00:05:46 UTC 2024 6.9K bytes -
Multimaps.java
implements ListMultimap<K, V> { L791: UnmodifiableListMultimap(ListMultimap<K, V> delegate) { L792: super(delegate); L793: } L794: L795: @Override L796: public ListMultimap<K, V> delegate() { L797: return (ListMultimap<K, V>) super.delegate(); L798: } L799: L800: @Override L801: public List<V> get(@ParametricNullness K key) { L802: return Collections.unmodifiableList(delegate().get(key)); L803: } L804: L805: @Override L806: public List<V> removeAll(@CheckForNull...github.com/google/guava/android/guava/src/com/g...Wed Oct 16 21:21:17 UTC 2024 86.3K bytes -
ExecutionSequencer.java
submittingTaskQueue.nextTask = task; L358: // requireNonNull(delegate) is safe for reasons similar to requireNonNull(sequencer). L359: submittingTaskQueue.nextExecutor = requireNonNull(delegate); L360: delegate = null; L361: } else { L362: // requireNonNull(delegate) is safe for reasons similar to requireNonNull(sequencer). L363: Executor localDelegate = requireNonNull(delegate); L364: delegate = null; L365: this.task = task; L366: ...github.com/google/guava/guava/src/com/google/co...Thu Feb 01 21:46:34 UTC 2024 22.1K bytes