summaryrefslogtreecommitdiffstats
path: root/include/framework/structure
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2024-05-08 13:20:44 -0400
committerDouglas Rumbaugh <dbr4@psu.edu>2024-05-08 13:20:44 -0400
commita23bc3341923509be9b2f587ece8cd5a650f6386 (patch)
treebd6fef5e173d7192d11dfccbf89d178a7d9dc05d /include/framework/structure
parent01729c8772f3e25bce18f0b1fbfeee308b4c4d9f (diff)
downloaddynamic-extension-a23bc3341923509be9b2f587ece8cd5a650f6386.tar.gz
TSParmsweep: enabled forcing a full buffer scan
Diffstat (limited to 'include/framework/structure')
-rw-r--r--include/framework/structure/BufferView.h6
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);
}