proxygen
|
#include <IOBuf.h>
Public Member Functions | |
size_t | operator() (const IOBuf &buf) const noexcept |
size_t | operator() (const std::unique_ptr< IOBuf > &buf) const noexcept |
size_t | operator() (const IOBuf *buf) const noexcept |
Hasher for IOBuf objects. Hashes the entire chain using SpookyHashV2.
|
noexcept |
Definition at line 1090 of file IOBuf.cpp.
References b, folly::hash::SpookyHashV2::Final(), folly::hash::SpookyHashV2::Init(), folly::io::detail::CursorBase< Derived, BufType >::peekBytes(), folly::io::detail::CursorBase< Derived, BufType >::skip(), uint64_t, and folly::hash::SpookyHashV2::Update().
|
inlinenoexcept |
Definition at line 1512 of file IOBuf.h.
|
inlinenoexcept |