MCPcopy Create free account
hub / github.com/apache/arrow / reduce_size

Method reduce_size

cpp/src/arrow/util/small_vector.h:82–85  ·  view source on GitHub ↗

Adjust storage size, but don't destroy any objects

Source from the content-addressed store, hash-verified

80
81 // Adjust storage size, but don't destroy any objects
82 void reduce_size(size_t reduce_by) {
83 assert(reduce_by <= size_);
84 size_ -= reduce_by;
85 }
86
87 // Move objects from another storage, but don't destroy any objects currently
88 // stored in *this.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected