Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ reduce_size
Method
reduce_size
cpp/src/arrow/util/small_vector.h:146–149 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
144
}
145
146
void reduce_size(size_t reduce_by) {
147
assert(reduce_by <= size_);
148
size_ -= reduce_by;
149
}
150
151
void destroy() noexcept {
152
storage_type::destroy_several(data_, size_);
Callers
2
resize
Method · 0.45
assign_by_copying
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected