MCPcopy Create free account
hub / github.com/ablab/spades / getMemory

Function getMemory

ext/src/llvm/APInt.cpp:45–47  ·  view source on GitHub ↗

A utility function for allocating memory and checking for allocation failure. The content is not zeroed.

Source from the content-addressed store, hash-verified

43/// A utility function for allocating memory and checking for allocation
44/// failure. The content is not zeroed.
45inline static uint64_t* getMemory(unsigned numWords) {
46 return new uint64_t[numWords];
47}
48
49/// A utility function that converts a character to a digit.
50inline static unsigned getDigit(char cdigit, uint8_t radix) {

Callers 6

initSlowCaseMethod · 0.85
reallocateMethod · 0.85
operator*Method · 0.85
truncMethod · 0.85
sextMethod · 0.85
zextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected