- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 132 for overriding (0.46 sec)
-
android/guava/src/com/google/common/io/CountingOutputStream.java
out.write(b, off, len); count += len; } @Override public void write(int b) throws IOException { out.write(b); count++; } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior: // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream. // It should flush itself if necessary. @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java
out.write(0xFF & v); out.write(0xFF & (v >> 8)); } @Override public void writeUTF(String str) throws IOException { ((DataOutputStream) out).writeUTF(str); } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior: // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream. // It should flush itself if necessary.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 5.1K bytes - Viewed (0) -
.github/workflows/codeql-analysis.yml
language: ['java'] # Learn more... # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection steps: - name: Checkout repository uses: actions/checkout@v2 with: # We must fetch at least the immediate parents so that if this is
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Fri Oct 02 13:24:14 UTC 2020 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashingOutputStream.java
* unspecified if this method is called more than once on the same instance. */ public HashCode hash() { return hasher.hash(); } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior: // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream. // It should flush itself if necessary. @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingServerSocketFactory.kt
import java.io.IOException import java.net.InetAddress import java.net.ServerSocket import javax.net.ServerSocketFactory /** * A [ServerSocketFactory] that delegates calls. Sockets can be configured after creation by * overriding [.configureServerSocket]. */ open class DelegatingServerSocketFactory( private val delegate: ServerSocketFactory, ) : ServerSocketFactory() { @Throws(IOException::class)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2K bytes - Viewed (0) -
docs/features/caching.md
``` ### Troubleshooting 1. Valid cacheable responses are not being cached Make sure you are reading responses fully as unless they are read fully, cancelled or stalled Responses will not be cached. ### Overriding normal cache behaviour
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.1K bytes - Viewed (1) -
android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt
import okhttp3.DelegatingSSLSocketFactory import okhttp3.EventListener import okhttp3.OkHttpClient import okhttp3.Request import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test /** * Tests for ALPN overriding on Android. */ @Tag("Remote") class AlpnOverrideTest { class CustomSSLSocketFactory( delegate: SSLSocketFactory, ) : DelegatingSSLSocketFactory(delegate) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingList.java
* * <p><b>Warning:</b> The methods of {@code ForwardingList} forward <b>indiscriminately</b> to the * methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the * behavior of {@link #addAll}, which can lead to unexpected behavior. In this case, you should
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java
* * <p><b>Warning:</b> The methods of {@code ForwardingSortedMultiset} forward * <b>indiscriminately</b> to the methods of the delegate. For example, overriding {@link * #add(Object, int)} alone <b>will not</b> change the behavior of {@link #add(Object)}, which can * lead to unexpected behavior. In this case, you should override {@code add(Object)} as well,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingSet.java
* href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>Warning:</b> The methods of {@code ForwardingSet} forward <b>indiscriminately</b> to the * methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the * behavior of {@link #addAll}, which can lead to unexpected behavior. In this case, you should
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0)