- Sort Score
- Result 10 results
- Languages All
Results 771 - 780 of 2,062 for latch (0.02 sec)
-
src/main/java/org/codelibs/core/lang/ThreadUtil.java
*/ public static void sleep(final long millis) { if (millis < 1L) { return; } try { Thread.sleep(millis); } catch (final InterruptedException e) { throw new InterruptedRuntimeException(e); } } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AllocInfoTest.java
when(mockAllocInfo.getFree()).thenReturn(400L); assertEquals(1000L, mockAllocInfo.getCapacity(), "capacity should match stubbed value"); assertEquals(400L, mockAllocInfo.getFree(), "free space should match stubbed value"); verify(mockAllocInfo, times(1)).getCapacity(); verify(mockAllocInfo, times(1)).getFree(); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java
* @return the sequence number */ public long getSequenceNumber() { return sequenceNumber; } /** * Gets the response sequence number returned by the server. * This should match the request sequence number in a successful response. * * @return the response sequence number */ public long getResponseSequenceNumber() { return responseSequenceNumber; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/context/BaseContext.java
* * @see jcifs.CIFSContext#get(java.lang.String) */ @Override public SmbResource get(final String url) throws CIFSException { try { return new SmbFile(url, this); } catch (final MalformedURLException e) { throw new CIFSException("Invalid URL " + url, e); } } /** * * {@inheritDoc} *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/UpdateLabelJob.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
} public void test_throwAndCatch() { // Test throwing and catching the exception try { throw new UserRoleLoginException(RootAction.class); } catch (UserRoleLoginException e) { assertEquals(RootAction.class, e.getActionClass()); assertNull(e.fillInStackTrace()); assertEquals(0, e.getStackTrace().length); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.8K bytes - Viewed (0) -
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
for (cookie in cookies) { cookieStrings.add(cookieToString(cookie, true)) } val multimap = mapOf("Set-Cookie" to cookieStrings) try { cookieHandler.put(url.toUri(), multimap) } catch (e: IOException) { Platform.get().log("Saving cookies failed for " + url.resolve("/...")!!, WARN, e) } } override fun loadForRequest(url: HttpUrl): List<Cookie> { val cookieHeaders = try {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostSpecifierTest.java
try { HostSpecifier.fromValid(spec); fail("Should have thrown IllegalArgumentException: " + spec); } catch (IllegalArgumentException expected) { } try { HostSpecifier.from(spec); fail("Should have thrown ParseException: " + spec); } catch (ParseException expected) { assertThat(expected).hasCauseThat().isInstanceOf(IllegalArgumentException.class); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
} @CollectionFeature.Require(absent = ALLOWS_NULL_QUERIES) public void testContainsAll_nullNotAllowed() { try { assertFalse(collection.containsAll(MinimalCollection.of((E) null))); } catch (NullPointerException tolerated) { } } @CollectionFeature.Require(ALLOWS_NULL_QUERIES) public void testContainsAll_nullAllowed() { assertFalse(collection.containsAll(MinimalCollection.of((E) null))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java
} public void test_transform_null() { try { textTransformer.transform(null); fail(); } catch (final CrawlerSystemException e) { // NOP } } public void test_getData() throws Exception { final AccessResultDataImpl accessResultData = new AccessResultDataImpl();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 4.6K bytes - Viewed (0)