Searched refs:Callable (Results 1 - 25 of 229) sorted by relevance

12345678910

/external/v8/src/
H A Dcode-factory.h18 class Callable final BASE_EMBEDDED {
20 Callable(Handle<Code> code, CallInterfaceDescriptor descriptor) function in class:v8::internal::BASE_EMBEDDED
34 static Callable LoadIC(Isolate* isolate);
35 static Callable LoadICInOptimizedCode(Isolate* isolate);
36 static Callable LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode);
37 static Callable LoadGlobalICInOptimizedCode(Isolate* isolate,
39 static Callable KeyedLoadIC(Isolate* isolate);
40 static Callable KeyedLoadICInOptimizedCode(Isolate* isolate);
41 static Callable KeyedLoadIC_Megamorphic(Isolate* isolate);
42 static Callable CallI
[all...]
H A Dcode-factory.cc17 Callable make_callable(Stub& stub) {
19 return Callable(stub.GetCode(), Descriptor(stub.isolate()));
25 Callable CodeFactory::LoadIC(Isolate* isolate) {
31 Callable CodeFactory::ApiGetter(Isolate* isolate) {
37 Callable CodeFactory::LoadICInOptimizedCode(Isolate* isolate) {
43 Callable CodeFactory::LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode) {
49 Callable CodeFactory::LoadGlobalICInOptimizedCode(Isolate* isolate,
56 Callable CodeFactory::KeyedLoadIC(Isolate* isolate) {
62 Callable CodeFactory::KeyedLoadICInOptimizedCode(Isolate* isolate) {
68 Callable CodeFactor
[all...]
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/
H A DCallable.java20 * Emulation of Callable.
24 public interface Callable<V> { interface
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/perf/targets/
H A DTarget02.java14 import java.util.concurrent.Callable;
19 public class Target02 implements Callable<Void> {
/external/guice/extensions/servlet/test/com/google/inject/servlet/
H A DTransferRequestIntegrationTest.java29 import java.util.concurrent.Callable;
42 private final Callable<Boolean> FALSE_CALLABLE = new Callable<Boolean>() {
73 Callable<Callable<Boolean>> callable = new Callable<Callable<Boolean>>() {
74 @Override public Callable<Boolean> call() {
76 return ServletScopes.transferRequest(new Callable<Boolean>() {
85 Callable<Boolea
[all...]
/external/guava/guava/src/com/google/common/util/concurrent/
H A DListeningExecutorService.java21 import java.util.concurrent.Callable;
41 <T> ListenableFuture<T> submit(Callable<T> task);
74 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks)
96 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
H A DCallables.java23 import java.util.concurrent.Callable;
28 * Static utility methods pertaining to the {@link Callable} interface.
37 * Creates a {@code Callable} which immediately returns a preset value each
40 public static <T> Callable<T> returning(final @Nullable T value) {
41 return new Callable<T>() {
49 * Wraps the given callable such that for the duration of {@link Callable#call} the thread that is
57 static <T> Callable<T> threadRenaming(final Callable<T> callable,
61 return new Callable<T>() {
H A DWrappingExecutorService.java26 import java.util.concurrent.Callable;
36 * {@linkplain #wrapTask(Callable) wrap} tasks before they are submitted
54 * Wraps a {@code Callable} for submission to the underlying executor. This
58 protected abstract <T> Callable<T> wrapTask(Callable<T> callable);
62 * default implementation delegates to {@link #wrapTask(Callable)}.
65 final Callable<Object> wrapped = wrapTask(
83 private final <T> ImmutableList<Callable<T>> wrapTasks(
84 Collection<? extends Callable<T>> tasks) {
85 ImmutableList.Builder<Callable<
[all...]
H A DListenableFutureTask.java19 import java.util.concurrent.Callable;
47 * given {@code Callable}.
52 public static <V> ListenableFutureTask<V> create(Callable<V> callable) {
73 ListenableFutureTask(Callable<V> callable) {
H A DForwardingListeningExecutorService.java19 import java.util.concurrent.Callable;
39 public <T> ListenableFuture<T> submit(Callable<T> task) {
H A DTimeLimiter.java21 import java.util.concurrent.Callable;
82 * Invokes a specified Callable, timing out after the specified time limit.
91 * @param callable the Callable to execute
98 * @return the result returned by the Callable
104 <T> T callWithTimeout(Callable<T> callable, long timeoutDuration,
H A DForwardingExecutorService.java23 import java.util.concurrent.Callable;
55 Collection<? extends Callable<T>> tasks) throws InterruptedException {
61 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
67 public <T> T invokeAny(Collection<? extends Callable<T>> tasks)
74 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
104 public <T> Future<T> submit(Callable<T> task) {
H A DFakeTimeLimiter.java23 import java.util.concurrent.Callable;
48 public <T> T callWithTimeout(Callable<T> callable, long timeoutDuration,
H A DListeningScheduledExecutorService.java21 import java.util.concurrent.Callable;
46 Callable<V> callable, long delay, TimeUnit unit);
/external/compiler-rt/lib/lsan/
H A Dlsan_allocator.h30 template<typename Callable>
31 void ForEachChunk(const Callable &callback);
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/perf/
H A DExecuteInstrumentedCodeScenario.java14 import java.util.concurrent.Callable;
29 private final Class<? extends Callable<Void>> target;
32 Class<? extends Callable<Void>> target) {
39 protected Callable<Void> getInstrumentedCallable() throws Exception {
47 return (Callable<Void>) loader.add(target, instrumentedBuffer)
52 protected Callable<Void> getReferenceCallable() throws Exception {
H A DTimedScenario.java14 import java.util.concurrent.Callable;
31 final Callable<Void> refRunnable = getReferenceCallable();
49 private long getMinimumTime(final Callable<Void> subject) throws Exception {
58 private long getTime(final Callable<Void> subject) throws Exception {
64 protected abstract Callable<Void> getInstrumentedCallable()
67 protected Callable<Void> getReferenceCallable() throws Exception {
H A DInstrumentationTimeScenario.java14 import java.util.concurrent.Callable;
36 protected Callable<Void> getInstrumentedCallable() throws Exception {
39 return new Callable<Void>() {
/external/guava/guava-bootstrap/src/java/util/concurrent/
H A DExecutorService.java28 <T> Future<T> submit(Callable<T> task);
34 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks)
38 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
41 <T> T invokeAny(Collection<? extends Callable<T>> tasks)
45 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
H A DScheduledTrial.java17 import java.util.concurrent.Callable;
45 Callable<TrialResult> trialTask() {
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DCallablesTest.java25 import java.util.concurrent.Callable;
38 Callable<Object> callable = Callables.returning(value);
47 Callable<Void> callable = new Callable<Void>() {
61 Callable<Void> callable = new Callable<Void>() {
86 Callable<Void> callable = new Callable<Void>() {
H A DWrappingExecutorServiceTest.java32 import java.util.concurrent.Callable;
88 Callable<String> task = Callables.returning(RESULT_VALUE);
96 List<Callable<String>> tasks = createTasks(3);
116 List<Callable<String>> tasks = createTasks(3);
142 private static List<Callable<String>> createTasks(int n) {
143 List<Callable<String>> callables = Lists.newArrayList();
150 private static final class WrappedCallable<T> implements Callable<T> {
151 private final Callable<T> delegate;
153 public WrappedCallable(Callable<T> delegate) {
182 protected <T> Callable<
[all...]
/external/mockito/src/test/java/org/mockitoutil/
H A DSimplePerRealmReloadingClassLoader.java8 import java.util.concurrent.Callable;
87 if (instance instanceof Callable) {
88 Callable<?> callableInRealm = (Callable<?>) instance;
94 throw new IllegalArgumentException("qualified name '" + callableCalledInClassLoaderRealm + "' should represent a class implementing Callable");
103 if (instance instanceof Callable) {
104 Callable<?> callableInRealm = (Callable<?>) instance;
111 throw new IllegalArgumentException("qualified name '" + callableCalledInClassLoaderRealm + "' should represent a class implementing Callable");
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/
H A DRobolectricBackgroundExecutorService.java7 import java.util.concurrent.Callable;
42 public <T> Future<T> submit(Callable<T> tCallable) {
68 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> callables) throws InterruptedException {
73 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> callables, long l, TimeUnit timeUnit) throws InterruptedException {
78 public <T> T invokeAny(Collection<? extends Callable<T>> callables) throws InterruptedException, ExecutionException {
83 public <T> T invokeAny(Collection<? extends Callable<T>> callables, long l, TimeUnit timeUnit) throws InterruptedException, ExecutionException, TimeoutException {
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/
H A DJmxRegistration.java15 import java.util.concurrent.Callable;
27 class JmxRegistration implements Callable<Void> {

Completed in 2206 milliseconds

12345678910