OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:future
(Results
1 - 25
of
570
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/guava/guava-tests/test/com/google/common/util/concurrent/
ListenableFutureTester.java
32
* Used to test listenable
future
implementations.
39
private final ListenableFuture<?>
future
;
field in class:ListenableFutureTester
42
public ListenableFutureTester(ListenableFuture<?>
future
) {
44
this.
future
=
future
;
49
future
.addListener(new Runnable() {
56
assertFalse(
future
.isDone());
57
assertFalse(
future
.isCancelled());
66
assertTrue(
future
.isDone());
67
assertFalse(
future
.isCancelled())
[
all
...]
AbstractFutureTest.java
47
AbstractFuture<String>
future
= new AbstractFuture<String>() {
local
53
ExecutionException ee1 = getExpectingExecutionException(
future
);
54
ExecutionException ee2 = getExpectingExecutionException(
future
);
67
InterruptibleFuture
future
= new InterruptibleFuture();
local
68
assertTrue(
future
.cancel(false));
69
assertTrue(
future
.isCancelled());
70
assertTrue(
future
.isDone());
71
assertFalse(
future
.wasInterrupted);
75
InterruptibleFuture
future
= new InterruptibleFuture();
local
76
assertTrue(
future
.cancel(true))
83
AbstractFuture<String>
future
= new AbstractFuture<String>() {
local
96
final AbstractFuture<String>
future
= new AbstractFuture<String>() {};
local
[
all
...]
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/libcxx/test/thread/futures/futures.overview/
is_error_code_enum_future_errc.pass.cpp
10
// <
future
>
14
#include <
future
>
/external/libcxx/test/thread/futures/futures.unique_future/
default.pass.cpp
10
// <
future
>
12
// class
future
<R>
14
//
future
();
16
#include <
future
>
22
std::
future
<int> f;
26
std::
future
<int&> f;
30
std::
future
<void> f;
copy_assign.fail.cpp
10
// <
future
>
12
// class
future
<R>
14
//
future
& operator=(const
future
&) = delete;
16
#include <
future
>
25
std::
future
<T> f0 = p.get_future();
26
std::
future
<T> f;
33
std::
future
<T> f0;
34
std::
future
<T> f;
42
std::
future
<T> f0 = p.get_future()
[
all
...]
copy_ctor.fail.cpp
10
// <
future
>
12
// class
future
<R>
14
//
future
(const
future
&) = delete;
16
#include <
future
>
24
std::
future
<T> f0 = p.get_future();
25
std::
future
<T> f = f0;
31
std::
future
<T> f0;
32
std::
future
<T> f = f0;
39
std::
future
<T> f0 = p.get_future()
[
all
...]
move_assign.pass.cpp
10
// <
future
>
12
// class
future
<R>
14
//
future
& operator=(
future
&& rhs);
16
#include <
future
>
25
std::
future
<T> f0 = p.get_future();
26
std::
future
<T> f;
33
std::
future
<T> f0;
34
std::
future
<T> f;
42
std::
future
<T> f0 = p.get_future()
[
all
...]
move_ctor.pass.cpp
10
// <
future
>
12
// class
future
<R>
14
//
future
(
future
&& rhs);
16
#include <
future
>
25
std::
future
<T> f0 = p.get_future();
26
std::
future
<T> f = std::move(f0);
32
std::
future
<T> f0;
33
std::
future
<T> f = std::move(f0);
40
std::
future
<T> f0 = p.get_future()
[
all
...]
/external/libcxx/test/thread/futures/
version.pass.cpp
10
// <
future
>
12
#include <
future
>
/frameworks/base/core/java/android/accounts/
AccountManagerCallback.java
19
void run(AccountManagerFuture<V>
future
);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.overview/
is_error_code_enum_future_errc.pass.cpp
10
// <
future
>
14
#include <
future
>
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.unique_future/
default.pass.cpp
10
// <
future
>
12
// class
future
<R>
14
//
future
();
16
#include <
future
>
22
std::
future
<int> f;
26
std::
future
<int&> f;
30
std::
future
<void> f;
copy_assign.fail.cpp
10
// <
future
>
12
// class
future
<R>
14
//
future
& operator=(const
future
&) = delete;
16
#include <
future
>
25
std::
future
<T> f0 = p.get_future();
26
std::
future
<T> f;
33
std::
future
<T> f0;
34
std::
future
<T> f;
42
std::
future
<T> f0 = p.get_future()
[
all
...]
copy_ctor.fail.cpp
10
// <
future
>
12
// class
future
<R>
14
//
future
(const
future
&) = delete;
16
#include <
future
>
24
std::
future
<T> f0 = p.get_future();
25
std::
future
<T> f = f0;
31
std::
future
<T> f0;
32
std::
future
<T> f = f0;
39
std::
future
<T> f0 = p.get_future()
[
all
...]
move_assign.pass.cpp
10
// <
future
>
12
// class
future
<R>
14
//
future
& operator=(
future
&& rhs);
16
#include <
future
>
25
std::
future
<T> f0 = p.get_future();
26
std::
future
<T> f;
33
std::
future
<T> f0;
34
std::
future
<T> f;
42
std::
future
<T> f0 = p.get_future()
[
all
...]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/
version.pass.cpp
10
// <
future
>
12
#include <
future
>
/external/libcxx/test/thread/futures/futures.promise/
default.pass.cpp
10
// <
future
>
16
#include <
future
>
23
std::
future
<int> f = p.get_future();
28
std::
future
<int&> f = p.get_future();
33
std::
future
<void> f = p.get_future();
/external/libcxx/test/thread/futures/futures.tas/futures.task.nonmembers/
uses_allocator.pass.cpp
10
// <
future
>
18
#include <
future
>
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.promise/
default.pass.cpp
10
// <
future
>
16
#include <
future
>
23
std::
future
<int> f = p.get_future();
28
std::
future
<int&> f = p.get_future();
33
std::
future
<void> f = p.get_future();
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.tas/futures.task.nonmembers/
uses_allocator.pass.cpp
10
// <
future
>
18
#include <
future
>
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
FutureListener.java
20
public void onFutureDone(
Future
<T>
future
);
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.equinox.concurrent_1.1.0.v20130327-1442.jar
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.equinox.concurrent_1.1.0.v20130327-1442.jar
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
AbstractCheckedFutureTest.java
70
final CheckedFuture<Boolean, ?>
future
=
local
73
assertFalse(
future
.isDone());
74
assertFalse(
future
.isCancelled());
79
future
.cancel(true);
84
future
.checkedGet();
90
assertTrue(
future
.isDone());
91
assertTrue(
future
.isCancelled());
97
final CheckedFuture<Boolean, ?>
future
=
local
103
assertFalse(
future
.isDone());
104
assertFalse(
future
.isCancelled())
134
final CheckedFuture<Boolean, ?>
future
=
local
[
all
...]
Completed in 298 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>