Home
last modified time | relevance | path

Searched refs:fut (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.async/
H A Dasync_race.38682.pass.cpp41 std::future<int> fut = std::async(std::launch::async, worker, v); in main() local
42 int answer = fut.get(); in main()
50 std::future<int&> fut = std::async(std::launch::async, worker_ref, std::ref(i)); in main() local
51 int& answer = fut.get(); in main()
59 std::future<void> fut = std::async(std::launch::async, worker_void); in main() local
60 fut.get(); in main()
/llvm-project-15.0.7/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A D_async.py27 return (yield from asyncio.wait_for(pw.fut, timeout))
38 self.fut = asyncio.Future()
41 if not self.fut.done():
42 self.fut.set_result(result)
46 if not self.fut.done():
47 self.fut.set_exception(exc)
58 if self.fut.done():
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dunused-return-value.cpp73 void useFuture(const std::future &fut);