/external/guava/guava/src/com/google/common/util/concurrent/ |
H A D | FakeTimeLimiter.java | 43 public <T> T callWithTimeout(Callable<T> callable, long timeoutDuration, argument 45 return callable.call(); // fooled you
|
H A D | ListenableFutureTask.java | 44 * @param callable the callable task 47 public static <V> ListenableFutureTask<V> create(Callable<V> callable) { argument 48 return new ListenableFutureTask<V>(callable); 68 private ListenableFutureTask(Callable<V> callable) { argument 69 super(callable);
|
H A D | TimeLimiter.java | 91 * @param callable the Callable to execute 104 <T> T callWithTimeout(Callable<T> callable, long timeoutDuration, argument
|
H A D | SimpleTimeLimiter.java | 100 Callable<Object> callable = new Callable<Object>() { 111 return callWithTimeout(callable, timeoutDuration, timeoutUnit, 120 public <T> T callWithTimeout(Callable<T> callable, long timeoutDuration, argument 122 checkNotNull(callable); 126 Future<T> future = executor.submit(callable);
|
H A D | MoreExecutors.java | 461 Callable<V> callable, long delay, TimeUnit unit) { 462 return delegate.schedule(callable, delay, unit); 460 schedule( Callable<V> callable, long delay, TimeUnit unit) argument
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/ |
H A D | UpdateControl.java | 61 * Enqueues a task/callable object to execute in the jME3 64 public <V> Future<V> enqueue(Callable<V> callable) { argument 65 AppTask<V> task = new AppTask<V>(callable);
|
/external/junit/src/org/junit/rules/ |
H A D | ErrorCollector.java | 73 * Adds to the table the exception, if any, thrown from {@code callable}. 75 * {@code callable} threw an exception. 77 public Object checkSucceeds(Callable<Object> callable) { argument 79 return callable.call();
|
/external/jmonkeyengine/engine/src/core/com/jme3/app/ |
H A D | AppTask.java | 51 private final Callable<V> callable; field in class:AppTask 63 * @param callable The callable to be executed 65 public AppTask(Callable<V> callable) { argument 66 this.callable = callable; 137 return callable; 142 final V tmpResult = callable.call();
|
H A D | Application.java | 557 * Enqueues a task/callable object to execute in the jME3
564 public <V> Future<V> enqueue(Callable<V> callable) {
argument 565 AppTask<V> task = new AppTask<V>(callable);
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/ |
H A D | PhysicsSpace.java | 342 public static <V> Future<V> enqueueOnThisThread(Callable<V> callable) { argument 343 AppTask<V> task = new AppTask<V>(callable); 350 * calls the callable on the next physics tick (ensuring e.g. force applying) 352 * @param callable 355 public <V> Future<V> enqueue(Callable<V> callable) { argument 356 AppTask<V> task = new AppTask<V>(callable);
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/ |
H A D | PhysicsSpace.java | 368 public static <V> Future<V> enqueueOnThisThread(Callable<V> callable) { argument 369 AppTask<V> task = new AppTask<V>(callable); 376 * calls the callable on the next physics tick (ensuring e.g. force applying) 378 * @param callable 381 public <V> Future<V> enqueue(Callable<V> callable) { argument 382 AppTask<V> task = new AppTask<V>(callable);
|
/external/v8/src/ |
H A D | execution.cc | 144 Handle<Object> Execution::Call(Handle<Object> callable, argument 152 if (!callable->IsJSFunction()) { 153 callable = TryGetFunctionDelegate(callable, pending_exception); 154 if (*pending_exception) return callable; 156 Handle<JSFunction> func = Handle<JSFunction>::cast(callable); 170 if (*pending_exception) return callable; 271 // throw a non-callable exception. 332 // throw a non-callable exception.
|
/external/littlemock/src/com/google/testing/littlemock/ |
H A D | LittleMock.java | 129 public static <T> Behaviour doAnswer(final Callable<T> callable) { argument 132 public T doAction(Method method, Object[] args) throws Throwable { return callable.call(); }
|
/external/chromium/testing/gmock/include/gmock/ |
H A D | gmock-matchers.h | 1823 ResultOfMatcher(Callable callable, const Matcher<ResultType>& matcher) argument 1824 : callable_(callable), matcher_(matcher) { 1839 Impl(CallableStorageType callable, const Matcher<ResultType>& matcher) argument 1840 : callable_(callable), matcher_(matcher) {} 1843 *os << "is mapped by the given callable to a value that "; 1848 *os << "is mapped by the given callable to a value that "; 1853 *listener << "which is mapped by the given callable to "; 1866 // how many times the callable will be invoked. 2723 // a callable to x matches 'matcher'. 2727 // callable paramete 2736 ResultOf( Callable callable, const ResultOfMatcher& matcher) argument [all...] |