MCPcopy Create free account
hub / github.com/Gecode/gecode / put

Method put

gecode/kernel/archive.hpp:173–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171 Archive::Archive(void) : _size(0), _n(0), _a(nullptr), _pos(0) {}
172
173 forceinline void
174 Archive::put(unsigned int i) {
175 if (_n==_size)
176 resize(_n+1);
177 _a[_n++] = i;
178 }
179
180 forceinline int
181 Archive::size(void) const { return _n; }

Callers 2

archiveMethod · 0.45
archive.hppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected