- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 3,180 for when (0.02 seconds)
-
docs/changelogs/changelog_2x.md
* Fix: Don't throw when converting an `HttpUrl` to a `java.net.URI`. Previously URLs with special characters like `|` and `[` would break when subjected to URI’s overly-strict validation. * Fix: Don't re-encode `+` as `%20` in encoded URL query strings. OkHttp prefers `%20` when doing its own encoding, but will retain `+` when that is provided.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
SmbFileFilter filter = f -> f.length() > 0; // negative size -> reject when(smbFile.length()).thenReturn(-1L); assertFalse(filter.accept(smbFile), "Negative size should be rejected"); verify(smbFile, times(1)).length(); // zero size -> reject reset(smbFile); when(smbFile.length()).thenReturn(0L); assertFalse(filter.accept(smbFile), "Zero size should be rejected");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FlushablesTest.java
// 'swallowException' when the mock does not throw an exception. setupFlushable(false); doFlush(mockFlushable, false, false); setupFlushable(false); doFlush(mockFlushable, true, false); } public void testFlush_flushableWithEatenException() throws IOException { // make sure that no exception is thrown if 'swallowException' is true // when the mock does throw an exception on flush.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
SSPContext mechContext; private ASN1ObjectIdentifier[] mechs; @BeforeEach void setup() { // Default: do not enforce or disable SPNEGO integrity when(this.config.isEnforceSpnegoIntegrity()).thenReturn(false); when(this.config.isDisableSpnegoIntegrity()).thenReturn(false); this.mechs = new ASN1ObjectIdentifier[] { new ASN1ObjectIdentifier("1.2.3.4") }; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/PopularWordsApiTests.java
deleteTestToken(); } @Test public void testPopularWords_ok() { given().contentType("application/json") .when() .get("/api/v1/popular-words") .then() .statusCode(200) .body("record_count", greaterThanOrEqualTo(0)) .body("data", notNullValue()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 3.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt
*/ class Route( @get:JvmName("address") val address: Address, /** * Returns the [Proxy] of this route. * * **Warning:** This may disagree with [Address.proxy] when it is null. When the address's proxy * is null, the proxy selector is used. */ @get:JvmName("proxy") val proxy: Proxy, @get:JvmName("socketAddress") val socketAddress: InetSocketAddress, ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/ACETest.java
ACE directAce = mock(ACE.class); when(inheritedAce.isInherited()).thenReturn(true); when(directAce.isInherited()).thenReturn(false); assertTrue(inheritedAce.isInherited()); assertFalse(directAce.isInherited()); verify(inheritedAce).isInherited(); verify(directAce).isInherited(); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java
// Should return true when read caching is enabled assertTrue(DirectoryLeaseState.canCacheEnumeration(Smb2LeaseState.SMB2_LEASE_READ_CACHING)); assertTrue(DirectoryLeaseState.canCacheEnumeration(DirectoryLeaseState.DIRECTORY_READ_HANDLE)); assertTrue(DirectoryLeaseState.canCacheEnumeration(DirectoryLeaseState.DIRECTORY_FULL)); // Should return false when read caching is not enabledCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 3.9K bytes - Click Count (0) -
errors.go
// ErrPreloadNotAllowed preload is not allowed when count is used ErrPreloadNotAllowed = errors.New("preload is not allowed when count is used") // ErrDuplicatedKey occurs when there is a unique key constraint violation ErrDuplicatedKey = errors.New("duplicated key not allowed") // ErrForeignKeyViolated occurs when there is a foreign key constraint violation
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Apr 26 02:53:17 GMT 2024 - 2.5K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.36.md
- Kubeadm: when using '--v=1' or higher log verbosity, print information of the CA certificate used for discovery when using 'kubeadm join'. ([#137102](https://github.com/kubernetes/kubernetes/pull/137102), [@sivchari](https://github.com/sivchari)) [SIG Cluster Lifecycle] - Kubectl explain: when a schema or field includes an externalDocs section, it is now displayed as:
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu Mar 19 23:38:00 GMT 2026 - 142.1K bytes - Click Count (0)