MCPcopy Create free account
hub / github.com/creatale/node-dv / NewBitVector

Function NewBitVector

deps/tesseract/cutil/bitvec.cpp:89–92  ·  view source on GitHub ↗

---------------------------------------------------------------------------*/ * Allocate and return a new bit vector large enough to * hold the specified number of bits. * * Globals: * - BitVectorCount number of bit vectors allocated * * @param NumBits number of bits in new bit vector * * @return New bit vector. * @note Exceptions: none * @note History: Tue Oct 23 16:51:27 1990, DSJ, Cre

Source from the content-addressed store, hash-verified

87 * @note History: Tue Oct 23 16:51:27 1990, DSJ, Created.
88 */
89BIT_VECTOR NewBitVector(int NumBits) {
90 return ((BIT_VECTOR) Emalloc(sizeof(uinT32) *
91 WordsInVectorOfSize(NumBits)));
92} /* NewBitVector */

Callers 7

AddConfigToClassFunction · 0.85
AdaptToCharMethod · 0.85
NewAdaptedClassFunction · 0.85
NewTempConfigFunction · 0.85
ReadAdaptedClassFunction · 0.85
ReadTempConfigFunction · 0.85

Calls 1

EmallocFunction · 0.85

Tested by

no test coverage detected