- Sort Score
- Num 10 results
- Language All
Results 2071 - 2080 of 3,747 for throwIt (0.06 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt
* [okhttp3.OkHttpClient.Builder.authenticator] or [okhttp3.OkHttpClient.Builder.proxyAuthenticator]. */ class JavaNetAuthenticator( private val defaultDns: Dns = Dns.SYSTEM, ) : okhttp3.Authenticator { @Throws(IOException::class) override fun authenticate( route: Route?, response: Response, ): Request? { val challenges = response.challenges() val request = response.request val url = request.url
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/ConfigTest.java
assertEquals(987654321L, Config.getLong(testProperties, "nonexistent.long", 987654321L)); } @Test @DisplayName("Should get InetAddress property with default value") void testGetInetAddressWithDefault() throws UnknownHostException { InetAddress localhost = InetAddress.getByName("localhost"); InetAddress defaultAddress = InetAddress.getByName("127.0.0.1");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbResourceLocatorInternal.java
* * @param other the other resource locator to compare with * @return whether the paths share a common root * @throws CIFSException if an error occurs during comparison */ boolean overlaps(SmbResourceLocator other) throws CIFSException; /** * Internal: for testing only * * @param dr the DFS referral data to processCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsWriter.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 05 09:37:42 GMT 2025 - 1.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractIdleService.java
} } /** Constructor for use by subclasses. */ protected AbstractIdleService() {} /** Start the service. */ protected abstract void startUp() throws Exception; /** Stop the service. */ protected abstract void shutDown() throws Exception; /** * Returns the {@link Executor} that will be used to run this service. Subclasses may override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 5.5K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/Hc5IdnDnsResolver.java
* * @param host the host name to resolve * @return an array of IP addresses for the host * @throws UnknownHostException if the host name cannot be resolved */ @Override public InetAddress[] resolve(final String host) throws UnknownHostException { // Handle IPv6 addresses in bracket notationCreated: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jan 04 13:09:59 GMT 2026 - 4.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
} @Override protected String getKeyNotInPopulatedMap() throws UnsupportedOperationException { return "z"; } @Override protected String getValueNotInPopulatedMap() throws UnsupportedOperationException { return "26"; } /** Helper assertion comparing two maps */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt
// nowrap (omits zlib header): true, ) private val deflaterSink = DeflaterSink(deflatedBytes, deflater) /** Deflates [buffer] in place as described in RFC 7692 section 7.2.1. */ @Throws(IOException::class) fun deflate(buffer: Buffer) { require(deflatedBytes.size == 0L) if (noContextTakeover) { deflater.reset() } deflaterSink.write(buffer, buffer.size)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/guide/PostExample.java
public class PostExample { public static final MediaType JSON = MediaType.get("application/json; charset=utf-8"); final OkHttpClient client = new OkHttpClient(); String post(String url, String json) throws IOException { RequestBody body = RequestBody.create(json, JSON); Request request = new Request.Builder() .url(url) .post(body) .build();Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
(k, v) -> { throw new AssertionFailedError(); })); expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testComputeIfPresent_unsupportedAbsent() { try { getMap() .computeIfPresent( k3(), (k, v) -> { throw new AssertionFailedError(); });Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 6.1K bytes - Click Count (0)