- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 531 for Apply (0.04 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
) fun trustManager(): X509TrustManager = trustManager fun sslSocketFactory(): SSLSocketFactory = sslContext().socketFactory fun sslContext(): SSLContext = Platform.get().newSSLContext().apply { init(arrayOf<KeyManager>(keyManager), arrayOf<TrustManager>(trustManager), SecureRandom()) } class Builder { private var heldCertificate: HeldCertificate? = null
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 8.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
socketFactory[ipv6] = server1.socketAddress socketFactory[ipv4] = server2.socketAddress client = client .newBuilder() .fastFallback(false) .apply { retryOnConnectionFailure = false }.build() executeSynchronously(request) .assertFailureMatches("stream was reset: REFUSED_STREAM")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 11.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
C filtered = filter(createUnfiltered(contents), EVEN); try { assertEquals(expectedResult, filtered.add(toAdd)); assertTrue(EVEN.apply(toAdd)); } catch (IllegalArgumentException e) { assertFalse(EVEN.apply(toAdd)); } } } } public void testRemove() { for (List<Integer> contents : SAMPLE_INPUTS) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 13.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
@Override public boolean apply(String s) { return s.equals("b") || s.equals("d") || s.equals("f"); } })); assertEquals(newArrayList("a", "c", "e"), list); assertFalse( removeIf( list, new Predicate<String>() { @Override public boolean apply(String s) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
value: String, ) = apply { headers.add(name, value) } /** Removes all headers named [name] on this builder. */ open fun removeHeader(name: String) = apply { headers.removeAll(name) } /** Removes all headers on this builder and adds [headers]. */ open fun headers(headers: Headers) = apply { this.headers = headers.newBuilder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 13.1K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/FilteredKeyMultimap.java
public boolean containsKey(@Nullable Object key) { if (unfiltered.containsKey(key)) { @SuppressWarnings("unchecked") // k is equal to a K, if not one itself K k = (K) key; return keyPredicate.apply(k); } return false; } @Override public Collection<V> removeAll(@Nullable Object key) { return containsKey(key) ? unfiltered.removeAll(key) : unmodifiableEmptyCollection(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredKeyMultimap.java
public boolean containsKey(@Nullable Object key) { if (unfiltered.containsKey(key)) { @SuppressWarnings("unchecked") // k is equal to a K, if not one itself K k = (K) key; return keyPredicate.apply(k); } return false; } @Override public Collection<V> removeAll(@Nullable Object key) { return containsKey(key) ? unfiltered.removeAll(key) : unmodifiableEmptyCollection(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.2K bytes - Viewed (0) -
.teamcity/README.md
- IMPORTANT NOTE: if the first import fails, you have to select and apply `Synchronization disabled`, then repeat the step above. Otherwise, TeamCity complains "Can't find the previous revision, please commit current settings first". - If anything bad happens, feel free to delete the project you created and retry (you may need to apply `Synchronization disabled` before deleting it).
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Wed Mar 06 23:02:25 UTC 2024 - 4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ByFunctionOrdering.java
this.ordering = checkNotNull(ordering); } @Override public int compare(@ParametricNullness F left, @ParametricNullness F right) { return ordering.compare(function.apply(left), function.apply(right)); } @Override public boolean equals(@Nullable Object object) { if (object == this) { return true; } if (object instanceof ByFunctionOrdering) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
return predicate.apply(immutableEntry(key, value)); } final class ValuePredicate implements Predicate<V> { @ParametricNullness private final K key; ValuePredicate(@ParametricNullness K key) { this.key = key; } @Override public boolean apply(@ParametricNullness V value) { return satisfies(key, value); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0)