- Sort Score
- Result 10 results
- Languages All
Results 1551 - 1560 of 3,758 for null (0.02 sec)
-
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
Thread th = new Thread(() -> { try { Thread.sleep(1000); } catch (InterruptedException ignore) {} deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null)); }); th.start(); final CountDownLatch latch = new CountDownLatch(1); deferred.promise().then(response -> latch.countDown()); assertTrue(latch.await(10, TimeUnit.SECONDS));
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MirrorSelector.java
* Determines the mirror for the specified repository. * * @param repository The repository to determine the mirror for, must not be {@code null}. * @param mirrors The available mirrors, may be {@code null}. * @return The mirror specification for the repository or {@code null} if no mirror matched. */ Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
byte[] buffer = new byte[100]; // Create "Test\0" in UTF-16LE with proper null terminator byte[] testBytes = Strings.getUNIBytes("Test"); System.arraycopy(testBytes, 0, buffer, 0, 8); buffer[8] = 0; // null terminator low byte buffer[9] = 0; // null terminator high byte String result = testBlock.readString(buffer, 0, buffer.length, 8, true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
@Test @DisplayName("Should handle unwrap returning null") void shouldHandleUnwrapReturningNull() { SmbSession mockSession = mock(SmbSession.class); when(mockSession.unwrap(SmbSession.class)).thenReturn(null); SmbSession result = mockSession.unwrap(SmbSession.class); assertNull(result, "unwrap should return null when not available"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
verify(handle, never()).close(anyLong()); } // Invalid input: constructing with null handle and invoking watch() NPEs @Test @DisplayName("Null handle causes NPE on watch() (invalid input)") void constructor_nullHandle_watch_throwsNPE() { SmbWatchHandleImpl sut = new SmbWatchHandleImpl(null, 0, false); assertThrows(NullPointerException.class, () -> { sut.watch();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt
* * @param eventClass a class to assert that the returned event is an instance of, or null to * take any event class. * @param elapsedMs the time in milliseconds elapsed since the immediately-preceding event, or * -1L to take any duration. */ fun takeEvent( eventClass: Class<out CallEvent>? = null, elapsedMs: Long = -1L, ): CallEvent { val result = eventSequence.remove()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/webapp/js/popper.min.js
z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function X(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?F(o):null,a=o?U(o):null,s=n.x+n.width/2-r.width/2,f=n.y+n.height/2-r.height/2;switch(i){case D:t={x:s,y:n.y-r.height};break;case A:t={x:s,y:n.y+n.height};break;case L:t={x:n.x+n.width,y:f};break;case P:t={x:n.x-r.width,y:f};break;default:t={x:n.x,y:n.y}}var c=i?z(i):null;if(null!=c){var p="y"===c?"height":"width";switch(a){case W:t[c]=t[c]-(n[p]/2-r[p]/2);break;case B:t[c]=t[c]+(n[p]/2-r[p]/2)}}return...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Jan 12 06:14:02 UTC 2025 - 19.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapUser.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/MonitorTarget.java
final StringBuilder tempBuf = new StringBuilder(); tempBuf.append('"').append(key).append("\":"); try { final Object value = supplier.get(); if (value == null) { tempBuf.append("null"); } else if (value instanceof Integer || value instanceof Long) { tempBuf.append(value); } else if (value instanceof Short) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt
} internal fun MediaType?.chooseCharset(): Pair<Charset, MediaType?> { var charset: Charset = Charsets.UTF_8 var finalContentType: MediaType? = this if (this != null) { val resolvedCharset = this.charset() if (resolvedCharset == null) { charset = Charsets.UTF_8 finalContentType = "$this; charset=utf-8".toMediaTypeOrNull() } else { charset = resolvedCharset } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 3.7K bytes - Viewed (0)