diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2024-05-08 13:20:44 -0400 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2024-05-08 13:20:44 -0400 |
| commit | a23bc3341923509be9b2f587ece8cd5a650f6386 (patch) | |
| tree | bd6fef5e173d7192d11dfccbf89d178a7d9dc05d /include/framework/structure | |
| parent | 01729c8772f3e25bce18f0b1fbfeee308b4c4d9f (diff) | |
| download | dynamic-extension-a23bc3341923509be9b2f587ece8cd5a650f6386.tar.gz | |
TSParmsweep: enabled forcing a full buffer scan
Diffstat (limited to 'include/framework/structure')
| -rw-r--r-- | include/framework/structure/BufferView.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/framework/structure/BufferView.h b/include/framework/structure/BufferView.h index 44a2044..11b8337 100644 --- a/include/framework/structure/BufferView.h +++ b/include/framework/structure/BufferView.h @@ -112,6 +112,10 @@ public: size_t get_record_count() { return m_tail - m_head; } + + size_t get_capacity() { + return m_cap; + } /* * NOTE: This function returns an upper bound on the number @@ -123,7 +127,7 @@ public: } Wrapped<R> *get(size_t i) { - assert(i < get_record_count()); + //assert(i < get_record_count()); return m_data + to_idx(i); } |