template<class Predicate>
template<class Value, class Source, class Input = typename std::decay<Value>::type, class Output = typename std::decay<invoke_result_t<Predicate, Value>>::type>
class folly::gen::detail::PMap< Predicate >::Generator< Value, Source, Input, Output >
Definition at line 63 of file ParallelMap-inl.h.
template<class Predicate >
template<class Value , class Source , class Input = typename std::decay<Value>::type, class Output = typename std::decay<invoke_result_t<Predicate, Value>>::type>
template<class Handler >
Definition at line 194 of file ParallelMap-inl.h.
References folly::gen::detail::PMap< Predicate >::Generator< Value, Source, Input, Output >::ExecutionPipeline::blockingRead(), folly::gen::detail::PMap< Predicate >::Generator< Value, Source, Input, Output >::ExecutionPipeline::blockingWrite(), handler(), folly::gen::move, folly::gen::detail::PMap< Predicate >::Generator< Value, Source, Input, Output >::ExecutionPipeline::read(), folly::gen::detail::PMap< Predicate >::Generator< Value, Source, Input, Output >::ExecutionPipeline::stop(), folly::value(), testing::Value(), and folly::gen::detail::PMap< Predicate >::Generator< Value, Source, Input, Output >::ExecutionPipeline::write().
201 if (pipeline.write(std::forward<Value>(value))) {
210 while (pipeline.read(out)) {
219 pipeline.blockingWrite(std::forward<Value>(value));
227 while (read < wrote) {
229 pipeline.blockingRead(out);
constexpr detail::Map< Move > move
void handler(int, siginfo_t *, void *)
bool Value(const T &value, M matcher)
size_t read(T &out, folly::io::Cursor &cursor)
uint64_t value(const typename LockFreeRingBuffer< T, Atom >::Cursor &rbcursor)
template<class Predicate >
template<class Value , class Source , class Input = typename std::decay<Value>::type, class Output = typename std::decay<invoke_result_t<Predicate, Value>>::type>
template<class Body >
Definition at line 157 of file ParallelMap-inl.h.
References folly::gen::detail::PMap< Predicate >::Generator< Value, Source, Input, Output >::ExecutionPipeline::blockingRead(), folly::gen::detail::PMap< Predicate >::Generator< Value, Source, Input, Output >::ExecutionPipeline::blockingWrite(), folly::gen::move, folly::gen::detail::PMap< Predicate >::Generator< Value, Source, Input, Output >::ExecutionPipeline::read(), folly::gen::detail::PMap< Predicate >::Generator< Value, Source, Input, Output >::ExecutionPipeline::stop(), folly::value(), testing::Value(), and folly::gen::detail::PMap< Predicate >::Generator< Value, Source, Input, Output >::ExecutionPipeline::write().
163 if (pipeline.write(std::forward<Value>(value))) {
172 while (pipeline.read(out)) {
178 pipeline.blockingWrite(std::forward<Value>(value));
185 while (read < wrote) {
187 pipeline.blockingRead(out);
constexpr detail::Map< Move > move
bool Value(const T &value, M matcher)
size_t read(T &out, folly::io::Cursor &cursor)
uint64_t value(const typename LockFreeRingBuffer< T, Atom >::Cursor &rbcursor)