HomeSort by relevance Sort by last modified time
    Searched refs:future (Results 26 - 50 of 1322) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/guava/guava-tests/test/com/google/common/util/concurrent/
SettableFutureTest.java 31 private SettableFuture<String> future; field in class:SettableFutureTest
38 future = SettableFuture.create();
39 tester = new ListenableFutureTester(future);
45 future.get(5, TimeUnit.MILLISECONDS);
51 assertTrue(future.set("value"));
56 assertTrue(future.setException(new Exception("failure")));
62 future.setException(null);
66 assertFalse(future.isDone());
67 assertTrue(future.setException(new Exception("failure")));
72 assertTrue(future.cancel(true))
    [all...]
  /external/python/cpython3/Lib/asyncio/
base_futures.py 17 # States for Future.
24 """Check for a Future.
26 This returns True when obj is a Future instance or is advertising
28 See comment in Future for more details.
35 """helper function for Future.__repr__"""
54 def _future_repr_info(future):
55 # (Future) -> str
56 """helper function for Future.__repr__"""
57 info = [future._state.lower()]
58 if future._state == _FINISHED
    [all...]
  /external/libcxx/test/std/thread/futures/futures.unique_future/
move_assign.pass.cpp 12 // <future>
14 // class future<R>
16 // future& operator=(future&& rhs);
18 #include <future>
26 std::future<T> f0 = p.get_future();
27 std::future<T> f;
34 std::future<T> f0;
35 std::future<T> f;
43 std::future<T> f0 = p.get_future()
    [all...]
move_ctor.pass.cpp 12 // <future>
14 // class future<R>
16 // future(future&& rhs);
18 #include <future>
26 std::future<T> f0 = p.get_future();
27 std::future<T> f = std::move(f0);
33 std::future<T> f0;
34 std::future<T> f = std::move(f0);
41 std::future<T> f0 = p.get_future()
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/futures/futures.unique_future/
move_assign.pass.cpp 12 // <future>
14 // class future<R>
16 // future& operator=(future&& rhs);
18 #include <future>
26 std::future<T> f0 = p.get_future();
27 std::future<T> f;
34 std::future<T> f0;
35 std::future<T> f;
43 std::future<T> f0 = p.get_future()
    [all...]
move_ctor.pass.cpp 12 // <future>
14 // class future<R>
16 // future(future&& rhs);
18 #include <future>
26 std::future<T> f0 = p.get_future();
27 std::future<T> f = std::move(f0);
33 std::future<T> f0;
34 std::future<T> f = std::move(f0);
41 std::future<T> f0 = p.get_future()
    [all...]
  /external/jemalloc/msvc/projects/vc2015/test_threads/
test_threads_main.cpp 2 #include <future>
  /external/libcxx/test/libcxx/thread/futures/futures.task/
types.pass.cpp 13 // <future>
23 #include <future>
  /external/libcxx/test/std/thread/futures/futures.errors/
future_category.pass.cpp 12 // <future>
16 #include <future>
23 assert(std::strcmp(ec.name(), "future") == 0);
  /external/libcxx/test/std/thread/futures/futures.future_error/
types.pass.cpp 12 // <future>
16 #include <future>
  /external/libcxx/test/std/thread/futures/futures.overview/
is_error_code_enum_future_errc.pass.cpp 12 // <future>
16 #include <future>
  /external/libcxx/test/std/thread/futures/futures.task/futures.task.members/
ctor_default.pass.cpp 13 // <future>
19 #include <future>
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/thread/futures/futures.task/
types.pass.cpp 13 // <future>
23 #include <future>
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/futures/futures.errors/
future_category.pass.cpp 12 // <future>
16 #include <future>
23 assert(std::strcmp(ec.name(), "future") == 0);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/futures/futures.future_error/
types.pass.cpp 12 // <future>
16 #include <future>
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/futures/futures.overview/
is_error_code_enum_future_errc.pass.cpp 12 // <future>
16 #include <future>
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/futures/futures.task/futures.task.members/
ctor_default.pass.cpp 13 // <future>
19 #include <future>
  /toolchain/binutils/binutils-2.27/gas/testsuite/gas/aarch64/
deprecated.l 2 [^:]*:4: Warning: system register name 'spsr_svc' is deprecated and may be removed in a future release
3 [^:]*:5: Warning: system register name 'spsr_hyp' is deprecated and may be removed in a future release
  /external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
AbstractListenableFutureTest.java 29 import java.util.concurrent.Future;
44 protected ListenableFuture<Boolean> future; field in class:AbstractListenableFutureTest
49 // Create a latch and a future that waits on the latch.
51 future = createListenableFuture(Boolean.TRUE, null, latch);
62 * Constructs a listenable future with a value available after the latch
69 * Tests that the {@link Future#get()} method blocks until a value is
74 assertFalse(future.isDone());
75 assertFalse(future.isCancelled());
80 // Wait on the future in a separate thread.
85 assertSame(Boolean.TRUE, future.get())
    [all...]
  /external/libcxx/test/std/thread/futures/futures.promise/
set_lvalue_at_thread_exit.pass.cpp 13 // <future>
19 #include <future>
35 std::future<int&> f = p.get_future();
set_value_at_thread_exit_const.pass.cpp 13 // <future>
19 #include <future>
32 std::future<int> f = p.get_future();
set_value_at_thread_exit_void.pass.cpp 13 // <future>
19 #include <future>
35 std::future<void> f = p.get_future();
set_value_void.pass.cpp 14 // <future>
20 #include <future>
28 std::future<T> f = p.get_future();
  /frameworks/base/libs/hwui/hwui/
AnimatedImageThread.h 35 std::future<AnimatedImageDrawable::Snapshot> decodeNextFrame(
37 std::future<AnimatedImageDrawable::Snapshot> reset(const sk_sp<AnimatedImageDrawable>&);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/futures/futures.promise/
set_lvalue_at_thread_exit.pass.cpp 13 // <future>
19 #include <future>
35 std::future<int&> f = p.get_future();

Completed in 595 milliseconds

12 3 4 5 6 7 8 91011>>