MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / swap

Function swap

Libs/flatbuffers/flatbuffers.h:1137–1147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1135 void scratch_pop(size_t bytes_to_remove) { scratch_ -= bytes_to_remove; }
1136
1137 void swap(vector_downward &other) {
1138 using std::swap;
1139 swap(allocator_, other.allocator_);
1140 swap(own_allocator_, other.own_allocator_);
1141 swap(initial_size_, other.initial_size_);
1142 swap(buffer_minalign_, other.buffer_minalign_);
1143 swap(reserved_, other.reserved_);
1144 swap(buf_, other.buf_);
1145 swap(cur_, other.cur_);
1146 swap(scratch_, other.scratch_);
1147 }
1148
1149 void swap_allocator(vector_downward &other) {
1150 using std::swap;

Callers 7

SliceAllocatorMethod · 0.70
SliceAllocatorClass · 0.70
swapMethod · 0.70
flatbuffers.hFile · 0.70
swap_allocatorFunction · 0.70
SwapFunction · 0.70
swapMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected