diff options
author | Martijn Vels <mvels@google.com> | 2022-07-15 13:39:31 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-07-15 13:40:26 -0700 |
commit | b707b6c1799bf4c058d4145d9062825384c156bd (patch) | |
tree | 659f1f6758e73ea5eaad303e455dbf1f6a68c0f6 /absl/algorithm/equal_benchmark.cc | |
parent | d6f96eda14aca77748a439f05a567a46ce87e462 (diff) | |
download | abseil-b707b6c1799bf4c058d4145d9062825384c156bd.tar.gz abseil-b707b6c1799bf4c058d4145d9062825384c156bd.tar.bz2 abseil-b707b6c1799bf4c058d4145d9062825384c156bd.zip |
Add GetCustomAppendBuffer method to absl::Cord
The Cord::GetCustomAppendBuffer() method provides the same functionality as Cord::GetAppendBuffer(), except that callers can specify a custom block size/limit if the method returns a newly allocated buffer.
In other words: Cord::GetAppendBuffer() defaults to CordBuffer::CreateWithDefaultLimit(), Cord::GetCustomAppendBuffer() defaults to CordBuffer::CreateWithCustomLimit().
PiperOrigin-RevId: 461231989
Change-Id: I5c03f31139d9b068feee1bea76d59e1c5e30ef07
Diffstat (limited to 'absl/algorithm/equal_benchmark.cc')
0 files changed, 0 insertions, 0 deletions