- Sort Score
- Num 10 results
- Language All
Results 2751 - 2760 of 3,804 for throws (0.07 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* * This example shows the single instance with default configurations. * * ```java * public final OkHttpClient client = new OkHttpClient.Builder() * .readTimeout(1000, TimeUnit.MILLISECONDS) * .writeTimeout(1000, TimeUnit.MILLISECONDS) * .build(); * ``` * * This example shows a call with a short 500 millisecond read timeout and a 1000 millisecond
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 51.5K bytes - Click Count (0) -
CHANGELOG.md
## Version 5.2.1 _2025-10-09_ * Fix: Don't crash when calling `Socket.shutdownOutput()` or `shutdownInput()` on an `SSLSocket` on Android API 21 through 23. This method throws an `UnsupportedOperationException`, so we now catch that and close the underlying stream instead. * Upgrade: [Okio 3.16.1][okio_3_16_1]. ## Version 5.2.0 _2025-10-07_
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 15 11:57:47 GMT 2026 - 36.2K bytes - Click Count (2) -
android/guava/src/com/google/common/collect/Synchronized.java
// following writeObject() handles the SynchronizedObject members. @GwtIncompatible @J2ktIncompatible private void writeObject(ObjectOutputStream stream) throws IOException { synchronized (mutex) { stream.defaultWriteObject(); } } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 53K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 67.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/Synchronized.java
// following writeObject() handles the SynchronizedObject members. @GwtIncompatible @J2ktIncompatible private void writeObject(ObjectOutputStream stream) throws IOException { synchronized (mutex) { stream.defaultWriteObject(); } } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 56.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
} /** * Test field types match expected types */ @Test @DisplayName("Test field types are correct") public void testFieldTypes() throws NoSuchFieldException { // Verify field types assertEquals(byte.class, ServerData.class.getDeclaredField("sflags").getType()); assertEquals(int.class, ServerData.class.getDeclaredField("sflags2").getType());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
assertFailsWith<IOException> { out.writeUtf8("square") out.flush() }.also { expected -> assertThat(expected.message).isEqualTo("stream was reset: CANCEL") } // Close throws because buffered data wasn't flushed. assertFailsWith<IOException> { out.close() } assertThat(connection.openStreamCount()).isEqualTo(0) // Verify the peer received what was expected.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 75.5K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java
MergingList(KeyComputer<V> keyComputer, int initialCapacity) { this.map = new LinkedHashMap<>(initialCapacity); this.keyComputer = keyComputer; } Object writeReplace() throws ObjectStreamException { return new ArrayList<>(this); } @Override public Iterator<V> iterator() { if (map != null) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 11:21:39 GMT 2025 - 99.2K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test.cc
REGISTER_OP("TestCommUnavailable") .Output("out: string") .SetIsDistributedCommunication() .Doc(R"doc(Test communication op throwing Unavailable error.)doc"); // Kernel that throws an Unavailable error. class TestUnavailableErrorOp : public tensorflow::OpKernel { public: explicit TestUnavailableErrorOp(tensorflow::OpKernelConstruction* ctx) : tensorflow::OpKernel(ctx) {}Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 94.6K bytes - Click Count (0) -
src/main/webapp/js/admin/jquery-3.7.1.min.js
t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponse...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Oct 26 01:07:52 GMT 2024 - 85.5K bytes - Click Count (1)