MCPcopy Create free account
hub / github.com/DFHack/dfhack / extend

Method extend

library/include/BitArray.h:80–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 }
79
80 void extend(T index)
81 {
82 size_type newsize = (index + 7 ) / 8;
83 if (newsize > _size)
84 resize(newsize);
85 }
86
87 public:
88 BitArray() : _bits(nullptr), _size(0) {}

Callers 2

doc_all_dirsFunction · 0.80
.ycm_extra_conf.pyFile · 0.80

Calls 1

resizeFunction · 0.70

Tested by

no test coverage detected