- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 49 for PauseNs (0.06 seconds)
-
guava-tests/test/com/google/common/util/concurrent/TestThread.java
} if (uncaughtThrowable != null) { throw new AssertionError("Uncaught throwable in " + getName(), uncaughtThrowable); } } /** * Causes this thread to call the named void method, and asserts that the call returns normally. */ public void callAndAssertReturns(String methodName, Object... arguments) throws Exception { checkNotNull(methodName);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 11.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
} if (uncaughtThrowable != null) { throw new AssertionError("Uncaught throwable in " + getName(), uncaughtThrowable); } } /** * Causes this thread to call the named void method, and asserts that the call returns normally. */ public void callAndAssertReturns(String methodName, Object... arguments) throws Exception { checkNotNull(methodName);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 11.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/PercentEscaperTest.java
} /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */ @SuppressWarnings("nullness") // test of a bogus call public void testBadArguments_null() { assertThrows(NullPointerException.class, () -> new PercentEscaper(null, false)); } /** * Tests that specifying any alphanumeric characters as 'safe' causes an {@link * IllegalArgumentException}. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 5.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/PercentEscaperTest.java
} /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */ @SuppressWarnings("nullness") // test of a bogus call public void testBadArguments_null() { assertThrows(NullPointerException.class, () -> new PercentEscaper(null, false)); } /** * Tests that specifying any alphanumeric characters as 'safe' causes an {@link * IllegalArgumentException}. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 5.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
scoreUpdater.execute(); // Due to integer overflow in comparator, execution order is affected for extreme values // The comparator b2 - b1 with MAX_VALUE and MIN_VALUE causes overflow List<Integer> executionOrder = PriorityTrackingBooster.getExecutionOrder(); assertEquals(3, executionOrder.size()); assertEquals(Integer.valueOf(Integer.MIN_VALUE), executionOrder.get(0));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.5K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
assertThat(record.getThrown()).isEqualTo(EXCEPTION); } public void testConcurrentModification() throws Exception { // Tests for the absence of a bug where logging while iterating over the // stored log records causes a ConcurrentModificationException assertTrue(handler.getStoredLogRecords().isEmpty()); ExampleClassUnderTest.foo(); ExampleClassUnderTest.foo(); for (LogRecord unused : handler.getStoredLogRecords()) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 2.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java
// Verify stack trace is available StackTraceElement[] stackTrace = runtimeException.getStackTrace(); assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); // Verify the cause's stack trace is also available StackTraceElement[] causeStackTrace = runtimeException.getCause().getStackTrace(); assertNotNull(causeStackTrace); assertTrue(causeStackTrace.length > 0); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
assertThat(Iterables.getOnlyElement(getCausalChain(sue))).isSameInstanceAs(sue); List<Throwable> causes = getCausalChain(ex); assertThrows(UnsupportedOperationException.class, () -> causes.add(new RuntimeException())); } public void testGetCasualChainNull() { assertThrows(NullPointerException.class, () -> getCausalChain(null)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 15K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
assertThat(record.getThrown()).isEqualTo(EXCEPTION); } public void testConcurrentModification() throws Exception { // Tests for the absence of a bug where logging while iterating over the // stored log records causes a ConcurrentModificationException assertTrue(handler.getStoredLogRecords().isEmpty()); ExampleClassUnderTest.foo(); ExampleClassUnderTest.foo(); for (LogRecord unused : handler.getStoredLogRecords()) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 2.9K bytes - Click Count (0) -
guava/src/com/google/common/cache/AbstractCache.java
* @param count the number of misses to record * @since 11.0 */ void recordMisses(int count); /** * Records the successful load of a new entry. This should be called when a cache request causes * an entry to be loaded, and the loading completes successfully. In contrast to {@link * #recordMisses}, this method should only be called by the loading thread. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 9.2K bytes - Click Count (0)