proxygen
|
#include <DigestBuilder.h>
Classes | |
struct | CpuLocalBuffer |
Public Member Functions | |
DigestBuilder (size_t bufferSize, size_t digestSize) | |
DigestT | build () |
void | append (double value) |
Private Attributes | |
std::vector< CpuLocalBuffer > | cpuLocalBuffers_ |
size_t | bufferSize_ |
size_t | digestSize_ |
Definition at line 40 of file DigestBuilder.h.
|
explicit |
Definition at line 31 of file DigestBuilder-defs.h.
References folly::detail::DigestBuilder< DigestT >::cpuLocalBuffers_, and folly::CacheLocality::system().
void folly::detail::DigestBuilder< DigestT >::append | ( | double | value | ) |
Definition at line 74 of file DigestBuilder-defs.h.
References folly::detail::DigestBuilder< DigestT >::bufferSize_, folly::detail::DigestBuilder< DigestT >::cpuLocalBuffers_, folly::AccessSpreader< Atom >::current(), folly::detail::DigestBuilder< DigestT >::digestSize_, g(), and folly::detail::tls_lastCpuBufferSlot.
Referenced by TEST().
DigestT folly::detail::DigestBuilder< DigestT >::build | ( | ) |
Definition at line 38 of file DigestBuilder-defs.h.
References count, folly::detail::DigestBuilder< DigestT >::cpuLocalBuffers_, folly::detail::DigestBuilder< DigestT >::digestSize_, g(), merge(), folly::gen::move, and values().
Referenced by TEST().
|
private |
Definition at line 64 of file DigestBuilder.h.
Referenced by folly::detail::DigestBuilder< DigestT >::append().
|
private |
Definition at line 63 of file DigestBuilder.h.
Referenced by folly::detail::DigestBuilder< DigestT >::append(), folly::detail::DigestBuilder< DigestT >::build(), and folly::detail::DigestBuilder< DigestT >::DigestBuilder().
|
private |
Definition at line 65 of file DigestBuilder.h.
Referenced by folly::detail::DigestBuilder< DigestT >::append(), and folly::detail::DigestBuilder< DigestT >::build().