- Sort Score
- Num 10 results
- Language All
Results 1491 - 1500 of 2,682 for Watch (0.03 seconds)
-
src/main/java/jcifs/http/NtlmHttpURLConnection.java
copySettings(); } /** * */ private final void copySettings() { try { this.setRequestMethod(this.connection.getRequestMethod()); } catch (final ProtocolException e) { throw new RuntimeCIFSException("Failed to set request method", e); } this.headerFields = null;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 25.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt
val subjectCaCerts = subjectToCaCerts[issuer] ?: return null return subjectCaCerts.firstOrNull { try { cert.verify(it.publicKey) return@firstOrNull true } catch (_: Exception) { return@firstOrNull false } } } override fun equals(other: Any?): Boolean = other === this ||
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt
platform.assumeJdk8() try { SSLSocket::class.java.getMethod("getApplicationProtocol") // also present on JDK8 after build 252. assertThat(buildIfSupported()).isNotNull() } catch (nsme: NoSuchMethodException) { assertThat(buildIfSupported()).isNull() } } @Test fun testToStringIsClassname() { assertThat(Jdk9Platform().toString()).isEqualTo("Jdk9Platform") }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2K bytes - Click Count (0) -
docs/en/docs/reference/websockets.md
```python from fastapi.websockets import WebSocketDisconnect, WebSocketState ``` ::: fastapi.websockets.WebSocketDisconnect When a client disconnects, a `WebSocketDisconnect` exception is raised, you can catch it. You can import it directly form `fastapi`: ```python from fastapi import WebSocketDisconnect ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:41:54 GMT 2026 - 2K bytes - Click Count (0) -
tests/test_dependency_after_yield_raise.py
def test_catching(): response = client.get("/catching") assert response.status_code == 418 assert response.json() == {"detail": "Session error"} def test_broken_raise(): with pytest.raises(ValueError, match="Broken after yield"): client.get("/broken") def test_broken_no_raise(): """ When a dependency with yield raises after the yield (not in an except), the
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
return comparator; } return NATURAL_ORDER; } @Override public boolean containsKey(Object key) { try { return delegate.containsKey(checkValid(key)); } catch (NullPointerException | ClassCastException e) { return false; } } @Override public boolean containsValue(Object value) { return delegate.containsValue(value); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
} @Test void testConstructorAndGetters() { assertEquals(PROTO, dcerpcBinding.getProto(), "Protocol should match the constructor argument."); assertEquals(SERVER, dcerpcBinding.getServer(), "Server should match the constructor argument."); assertNull(dcerpcBinding.getOptions(), "Options should be null initially.");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
*/ localInetAddress = CLIENT.laddr; if (localInetAddress == null) { try { localInetAddress = InetAddress.getLocalHost(); } catch (final UnknownHostException uhe) { /* Java cannot determine the localhost. This is basically a config * issue on the host. There's not much we can do about it. JustCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
.get()); } return doInvoke(context); } catch (InvokerException.ExitException e) { // contract of ExitException is that nothing needed by us throw e; } catch (Exception e) { // other exceptions (including InvokerException but sans Exit, see above): we need to inform user
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0) -
docs/changelogs/changelog_1x.md
* Fix: Exhaust the underlying stream when reading gzip streams. * Fix: Support the `PATCH` method. * Fix: Support request bodies on `DELETE` method. * Fix: Drop the `okhttp-protocols` module. * Internal: Replaced internal byte array buffers with pooled buffers ("OkBuffer"). ## Version 1.3.0 _2014-01-11_ * New: Support for "PATCH" HTTP method in client and MockWebServer.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 6.4K bytes - Click Count (0)