- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for returnValue (0.07 seconds)
-
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
int returnValue = 0; for (int i = 0; i < reps; i++) { list = impl.newExecutionList(); listenerLatch = new CountDownLatch(numListeners); for (int j = 0; j < numListeners; j++) { list.add(listener, directExecutor()); returnValue += listenerLatch.getCount(); } list.execute(); returnValue += listenerLatch.getCount(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 15.8K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
int returnValue = 0; for (int i = 0; i < reps; i++) { list = impl.newExecutionList(); listenerLatch = new CountDownLatch(numListeners); for (int j = 0; j < numListeners; j++) { list.add(listener, directExecutor()); returnValue += listenerLatch.getCount(); } list.execute(); returnValue += listenerLatch.getCount(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 15.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CollectionFuture.java
} this.values = values; } @Override final void collectOneValue(int index, @ParametricNullness V returnValue) { @RetainedLocalRef List<@Nullable Present<V>> localValues = values; if (localValues != null) { localValues.set(index, new Present<>(returnValue)); } } @Override final void handleAllCompleted() { @RetainedLocalRef List<@Nullable Present<V>> localValues = values;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
private static class TestScoreBooster extends ScoreBooster { private final long returnValue; public TestScoreBooster(long returnValue) { this.returnValue = returnValue; } @Override public long process() { return returnValue; } } // Test class that throws exceptionCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java
} } else { if (scheduledJob.isLoggingEnabled() && logger.isInfoEnabled()) { logger.info("Finished job: id={}, returnValue:\n{}", id, ret); } jobLog.setScriptResult(ret.toString()); } jobLog.setJobStatus(Constants.OK); } catch (final Throwable t) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 5.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
throws InvocationTargetException, IllegalAccessException { T returnValue = factory.invoke(null, args.toArray()); if (returnValue == null) { Assert.assertTrue( factory + " returns null but it's not annotated with @Nullable", isNullable(factory)); } return returnValue; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 32.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
throws InvocationTargetException, IllegalAccessException { T returnValue = factory.invoke(null, args.toArray()); if (returnValue == null) { Assert.assertTrue( factory + " returns null but it's not annotated with @Nullable", isNullable(factory)); } return returnValue; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 32.5K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
} void check() { runTester(); FromTo<?, ?> defaultFunction = (FromTo<?, ?>) getDefaultParameterValue(0); FromTo<?, ?> returnValue = (FromTo<?, ?>) defaultFunction.apply(null); assertEquals("", returnValue.apply(null)); } } public void testGenericInterfaceReturnedByGenericMethod() { new GenericInterface2DefaultValueChecker().check(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 47.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
assertTrue(executor.awaitTermination(5, SECONDS)); assertFalse(callableCalled.get()); } private static <T> AsyncCallable<T> constantAsyncCallable(ListenableFuture<T> returnValue) { return () -> returnValue; } /** Runnable which can be called a single time, and only after {@link #expectCall} is called. */ // TODO(cpovirk): top-level class?
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
assertTrue(executor.awaitTermination(5, SECONDS)); assertFalse(callableCalled.get()); } private static <T> AsyncCallable<T> constantAsyncCallable(ListenableFuture<T> returnValue) { return () -> returnValue; } /** Runnable which can be called a single time, and only after {@link #expectCall} is called. */ // TODO(cpovirk): top-level class?
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0)