aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/suggest/policyimpl/dictionary/utils/extendable_buffer.cpp
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2013-09-02 17:17:18 +0900
committerKeisuke Kuroyanagi <ksk@google.com>2013-09-02 17:18:41 +0900
commit3e76487c6c95ccec49622b9d7e0b45efff97f937 (patch)
treec6bc0525ec07620f27d8af4930ac7f56b75b7c8b /native/jni/src/suggest/policyimpl/dictionary/utils/extendable_buffer.cpp
parentfd3509ef69c9655579a1a4754267473e8cb4aab9 (diff)
downloadlatinime-3e76487c6c95ccec49622b9d7e0b45efff97f937.tar.gz
latinime-3e76487c6c95ccec49622b9d7e0b45efff97f937.tar.xz
latinime-3e76487c6c95ccec49622b9d7e0b45efff97f937.zip
Consolidating dict buffers into BufferWithExtendableBuffer.
Bug: 6669677 Change-Id: Ied58c123b68199bddb91293ff5cf5d96691e1f6b
Diffstat (limited to 'native/jni/src/suggest/policyimpl/dictionary/utils/extendable_buffer.cpp')
-rw-r--r--native/jni/src/suggest/policyimpl/dictionary/utils/extendable_buffer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/native/jni/src/suggest/policyimpl/dictionary/utils/extendable_buffer.cpp b/native/jni/src/suggest/policyimpl/dictionary/utils/extendable_buffer.cpp
index e55cc2410..7f74adc45 100644
--- a/native/jni/src/suggest/policyimpl/dictionary/utils/extendable_buffer.cpp
+++ b/native/jni/src/suggest/policyimpl/dictionary/utils/extendable_buffer.cpp
@@ -18,8 +18,8 @@
namespace latinime {
-const size_t ExtendableBuffer::INITIAL_BUFFER_SIZE = 16 * 1024;
-const size_t ExtendableBuffer::MAX_BUFFER_SIZE = 1024 * 1024;
-const size_t ExtendableBuffer::EXTEND_BUFFER_SIZE_STEP = 16 * 1024;
+const size_t BufferWithExtendableBuffer::INITIAL_ADDITIONAL_BUFFER_SIZE = 16 * 1024;
+const size_t BufferWithExtendableBuffer::MAX_ADDITIONAL_BUFFER_SIZE = 1024 * 1024;
+const size_t BufferWithExtendableBuffer::EXTEND_ADDITIONAL_BUFFER_SIZE_STEP = 16 * 1024;
}