Home
last modified time | relevance | path

Searched refs:getFuture (Results 1 – 25 of 266) sorted by relevance

1234567891011

/dports/devel/folly/folly-2021.12.27.00/folly/futures/test/
H A DWillEqualTest.cpp29 auto f1 = p1.getFuture(); in TEST()
30 auto f2 = p2.getFuture(); in TEST()
38 auto f1 = p1.getFuture(); in TEST()
39 auto f2 = p2.getFuture(); in TEST()
46 auto f1 = p1.getFuture(); in TEST()
47 auto f2 = p2.getFuture(); in TEST()
56 auto f1 = p1.getFuture(); in TEST()
57 auto f2 = p2.getFuture(); in TEST()
68 auto f1 = p1.getFuture(); in TEST()
69 auto f2 = p2.getFuture(); in TEST()
[all …]
H A DSharedPromiseTest.cpp36 auto f2 = p.getFuture(); in TEST()
44 auto f1 = p.getFuture(); in TEST()
45 auto f2 = p.getFuture(); in TEST()
51 auto f1 = p.getFuture(); in TEST()
52 auto f2 = p.getFuture(); in TEST()
60 auto f1 = p.getFuture(); in TEST()
62 auto f2 = p.getFuture(); in TEST()
70 auto f1 = p.getFuture(); in TEST()
75 auto f2 = p.getFuture(); in TEST()
83 auto f = p.getFuture(); in TEST()
[all …]
H A DFutureSplitterTest.cpp28 auto f1 = sp.getFuture(); in TEST()
33 auto f2 = sp.getFuture(); in TEST()
60 auto f1 = sp.getFuture(); in TEST()
65 auto f2 = sp.getFuture(); in TEST()
75 auto f1 = sp1.getFuture(); in TEST()
80 auto f2 = sp2.getFuture(); in TEST()
84 auto f3 = sp3.getFuture(); in TEST()
93 auto f1 = sp1.getFuture(); in TEST()
99 auto f2 = sp2.getFuture(); in TEST()
166 auto f1 = sp.getFuture(); in TEST()
[all …]
H A DMapTest.cpp28 fs.push_back(p1.getFuture()); in TEST()
29 fs.push_back(p2.getFuture()); in TEST()
30 fs.push_back(p3.getFuture()); in TEST()
52 fs.push_back(p1.getFuture()); in TEST()
53 fs.push_back(p2.getFuture()); in TEST()
54 fs.push_back(p3.getFuture()); in TEST()
78 fs.push_back(p1.getFuture()); in TEST()
79 fs.push_back(p2.getFuture()); in TEST()
80 fs.push_back(p3.getFuture()); in TEST()
104 fs.push_back(p1.getFuture()); in TEST()
[all …]
H A DInterruptTest.cpp31 p.getFuture().raise(eggs_t("eggs")); in TEST()
39 p.getFuture().cancel(); in TEST()
46 p.getFuture().cancel(); in TEST()
53 p.getFuture().cancel(); in TEST()
63 p.getFuture().cancel(); in TEST()
71 auto f = p.getFuture(); in TEST()
81 p.getFuture().within(std::chrono::milliseconds(1)); in TEST()
119 p.getFuture() in TEST()
161 p.getFuture() in TEST()
187 p.getFuture() in TEST()
[all …]
H A DPromiseTest.cpp47 TEST(Promise, getFuture) { in TEST() argument
49 Future<int> f = p.getFuture(); in TEST()
160 DOIT(p.getFuture()); in TEST()
285 auto fpod = pod.getFuture(); in TEST()
293 fpod = pod.getFuture(); in TEST()
306 auto fv = v.getFuture(); in TEST()
314 auto f = p.getFuture(); in TEST()
320 auto f = p.getFuture(); in TEST()
329 auto f = p.getFuture(); in TEST()
335 auto f = p.getFuture(); in TEST()
[all …]
H A DCollectTest.cpp44 futures.push_back(p.getFuture()); in TEST()
68 futures.push_back(p.getFuture()); in TEST()
851 Future<bool> fb = pb.getFuture(); in TEST()
852 Future<int> fi = pi.getFuture(); in TEST()
871 Future<bool> fb = pb.getFuture(); in TEST()
872 Future<int> fi = pi.getFuture(); in TEST()
892 Future<int> fi = pi.getFuture(); in TEST()
911 Future<int> fi = pi.getFuture(); in TEST()
931 Future<int> fi = pi.getFuture(); in TEST()
950 Future<int> fi = pi.getFuture(); in TEST()
[all …]
H A DReduceTest.cpp131 fs.push_back(p1.getFuture()); in TEST()
132 fs.push_back(p2.getFuture()); in TEST()
133 fs.push_back(p3.getFuture()); in TEST()
172 fs.push_back(p1.getFuture()); in TEST()
173 fs.push_back(p2.getFuture()); in TEST()
174 fs.push_back(p3.getFuture()); in TEST()
212 fs.push_back(p1.getFuture()); in TEST()
213 fs.push_back(p2.getFuture()); in TEST()
214 fs.push_back(p3.getFuture()); in TEST()
220 return ps[b - 1].getFuture(); in TEST()
H A DWaitTest.cpp56 Future<int> f = p.getFuture(); in TEST()
132 Future<int> f = p.getFuture(); in TEST()
140 Future<int> f = p.getFuture(); in TEST()
158 v_fb.push_back(p1.getFuture()); in TEST()
204 auto f = p.getFuture(); in TEST()
229 auto f1 = p.getFuture(); in TEST()
298 auto f = p.getFuture(); in TEST()
313 auto f = p.getFuture(); in TEST()
337 auto f = p.getFuture(); in TEST()
352 auto f = p.getFuture(); in TEST()
[all …]
H A DSelfDestructTest.cpp25 auto future = p->getFuture().thenValue([p](int x) { in TEST()
35 auto future = p->getFuture().ensure([p] { delete p; }); in TEST()
55 auto future = p->getFuture().via(&executor).thenError( in TEST()
68 auto future = p->getFuture() in TEST()
H A DPollTest.cpp24 auto f = p.getFuture(); in TEST()
31 auto f = p.getFuture(); in TEST()
37 auto f = p.getFuture(); in TEST()
H A DNonCopyableLambdaTest.cpp24 Future<int> future = promise.getFuture(); in TEST()
46 auto future = promise.getFuture().thenValue(std::bind( in TEST()
73 auto future = promise.getFuture().thenValue(std::move(callback)); in TEST()
87 auto future = promise.getFuture().thenValue(std::move(callback)); in TEST()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/util/
H A Dfuture_bm.cpp72 return p.getFuture(); in makeReadyFutWithPromise()
92 auto fut = p.getFuture(); in makeReadyFutWithPromise2()
139 auto fut = p1.getFuture().then([&](int i) { return p2.getFuture(); }); in BM_futureIntDoubleDeferredThen()
152 auto fut = p1.getFuture().then( in BM_futureInt3xDeferredThenNested()
153 [&](int i) { return p2.getFuture().then([&](int) { return p3.getFuture(); }); }); in BM_futureInt3xDeferredThenNested()
167 auto fut = p1.getFuture().then([&](int i) { return p2.getFuture(); }).then([&](int i) { in BM_futureInt3xDeferredThenChained()
168 return p3.getFuture(); in BM_futureInt3xDeferredThenChained()
185 auto fut = p1.getFuture().then([&](int i) { in BM_futureInt4xDeferredThenNested()
186 return p2.getFuture().then( in BM_futureInt4xDeferredThenNested()
187 [&](int) { return p3.getFuture().then([&](int) { return p4.getFuture(); }); }); in BM_futureInt4xDeferredThenNested()
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/apple/foundationdb/fdbrpc/
H A DFlowTests.actor.cpp277 f = p.getFuture();
387 f = p2.getFuture();
394 f = p3.getFuture();
400 f = p4.getFuture();
418 f = p2.getFuture();
427 f = p3.getFuture();
436 f = p4.getFuture();
466 f = p.getFuture();
693 f = p.getFuture();
708 Future<Void> c = chooseTwoActor(a.getFuture(), b.getFuture());
[all …]
H A DAsyncFileNonDurable.actor.h67 wait(success( g_simulator.getCurrentProcess()->shutdownSignal.getFuture() )); in doShutdown()
202 state Future<Void> shutdown = success(currentProcess->shutdownSignal.getFuture()); in open()
284 return writeStarted.getFuture(); in write()
296 return truncateStarted.getFuture(); in truncate()
335 Future<Void> f = p.getFuture(); in returnToMainThread()
364 wait(self->killComplete.getFuture()); in checkKilled()
379 wait( success( readFuture ) || self->killed.getFuture() ); in onRead()
420 state Future<bool> startSyncFuture = self->startSyncPromise.getFuture(); in write()
542 state Future<bool> startSyncFuture = self->startSyncPromise.getFuture(); in truncate()
686 wait( success( sizeFuture ) || self->killed.getFuture() ); in onSize()
[all …]
H A Ddsltest.actor.cpp52 Future<int> ret = (*actor)(in.getFuture(), out, err.getFuture()); in testFuzzActor()
72 int o = out.getFuture().pop(); in testFuzzActor()
90 in.getFuture().pop(); in testFuzzActor()
492 f[i] = v[i].getFuture();
827 Future<Void> a = actorTest10A( ins.getFuture(), go.getFuture() ); in actorTest10()
969 Future<int> sum = introAdd(a.getFuture(), b.getFuture()); in introActor()
976 Future<int> first = introFirst( c.getFuture(), d.getFuture() ); in introActor()
1035 waitNext(n[0].getFuture()); in cycleTime()
1207 p.getFuture(); in dsltest()
1307 Future<int> c = chooseTest( a.getFuture(), b.getFuture() ); in dsltest()
[all …]
/dports/sysutils/py-pywatchman/watchman-4.9.0/tests/
H A DFutureTest.cpp17 auto f = p.getFuture(); in test_promise()
19 p.getFuture(); in test_promise()
40 auto f2 = s.getFuture(); in test_promise()
57 auto f = p.getFuture(); in test_thread()
64 auto f = p.getFuture().then([](Result<std::string>&& result) { in test_then()
74 auto f1 = p2.getFuture(); in test_then()
92 auto f3 = p3.getFuture().then( in test_then()
106 futures.emplace_back(p1.getFuture()); in test_collect()
107 futures.emplace_back(p2.getFuture()); in test_collect()
132 barrier.getFuture().wait(); in test_via()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/py3/gen-py3/module/
H A Dclients_wrapper.cpp19 auto _future = _promise.getFuture(); in get_five()
35 auto _future = _promise.getFuture(); in add_five()
51 auto _future = _promise.getFuture(); in do_nothing()
68 auto _future = _promise.getFuture(); in concat()
86 auto _future = _promise.getFuture(); in get_value()
103 auto _future = _promise.getFuture(); in negate()
120 auto _future = _promise.getFuture(); in tiny()
137 auto _future = _promise.getFuture(); in small()
154 auto _future = _promise.getFuture(); in big()
171 auto _future = _promise.getFuture(); in two()
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/mcpp2-compare/gen-py3/module/
H A Dclients_wrapper.cpp20 auto _future = _promise.getFuture(); in noReturn()
35 auto _future = _promise.getFuture(); in boolReturn()
50 auto _future = _promise.getFuture(); in i16Return()
65 auto _future = _promise.getFuture(); in i32Return()
80 auto _future = _promise.getFuture(); in i64Return()
95 auto _future = _promise.getFuture(); in floatReturn()
110 auto _future = _promise.getFuture(); in doubleReturn()
125 auto _future = _promise.getFuture(); in stringReturn()
140 auto _future = _promise.getFuture(); in binaryReturn()
155 auto _future = _promise.getFuture(); in mapReturn()
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/basic-annotations/gen-py3/module/
H A Dclients_wrapper.cpp18 auto _future = _promise.getFuture(); in ping()
33 auto _future = _promise.getFuture(); in getRandomData()
49 auto _future = _promise.getFuture(); in hasDataById()
66 auto _future = _promise.getFuture(); in getDataById()
84 auto _future = _promise.getFuture(); in putDataById()
103 auto _future = _promise.getFuture(); in lobDataById()
120 auto _future = _promise.getFuture(); in cppDoNothing()
135 auto _future = _promise.getFuture(); in ping()
150 auto _future = _promise.getFuture(); in pong()
165 auto _future = _promise.getFuture(); in pang()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/basic/gen-py3/module/
H A Dclients_wrapper.cpp18 auto _future = _promise.getFuture(); in ping()
33 auto _future = _promise.getFuture(); in getRandomData()
49 auto _future = _promise.getFuture(); in sink()
67 auto _future = _promise.getFuture(); in putDataById()
85 auto _future = _promise.getFuture(); in hasDataById()
102 auto _future = _promise.getFuture(); in getDataById()
119 auto _future = _promise.getFuture(); in deleteDataById()
137 auto _future = _promise.getFuture(); in lobDataById()
155 auto _future = _promise.getFuture(); in getDataByKey0()
172 auto _future = _promise.getFuture(); in getDataByKey1()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/basic-stack-arguments/gen-py3/module/
H A Dclients_wrapper.cpp19 auto _future = _promise.getFuture(); in hasDataById()
36 auto _future = _promise.getFuture(); in getDataById()
54 auto _future = _promise.getFuture(); in putDataById()
73 auto _future = _promise.getFuture(); in lobDataById()
91 auto _future = _promise.getFuture(); in hasDataById()
108 auto _future = _promise.getFuture(); in getDataById()
126 auto _future = _promise.getFuture(); in putDataById()
145 auto _future = _promise.getFuture(); in lobDataById()
163 auto _future = _promise.getFuture(); in getDataByKey0()
180 auto _future = _promise.getFuture(); in getDataByKey1()
/dports/security/vault/vault-1.8.2/vendor/github.com/apple/foundationdb/flow/
H A DActorCollection.h43 void init() { m_size = 0; m_ac = actorCollection(m_add.getFuture(), &m_size); } in init()
58 m_out = actorCollection(m_add.getFuture(), NULL, NULL, NULL, NULL, returnWhenEmptied ); in ActorCollection()
63 …void clear( bool returnWhenEmptied ) { m_out.cancel(); m_out = actorCollection(m_add.getFuture(), … in clear()
73 m_out = actorCollection(addStream.getFuture(), NULL, NULL, NULL, NULL, true); in init()
76 m_add.send(stopSignal.getFuture()); in init()
H A DIThreadPool.h88 Future<T> getFuture() { // Call only on the originating thread! in getFuture() function
89 return promise.getFuture(); in getFuture()
94 tagAndForward( &promise, t, signal.getFuture() ); in send()
99 tagAndForwardError( &promise, e, signal.getFuture() ); in sendError()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/interactions/gen-py3/module/
H A Dclients_wrapper.cpp18 auto _future = _promise.getFuture(); in foo()
69 auto _future = _promise.getFuture(); in frobnicate()
84 auto _future = _promise.getFuture(); in ping()
99 auto _future = _promise.getFuture(); in truthify()
114 auto _future = _promise.getFuture(); in frobnicate()
129 auto _future = _promise.getFuture(); in ping()
144 auto _future = _promise.getFuture(); in truthify()
159 auto _future = _promise.getFuture(); in frobnicate()

1234567891011