A utility function for allocating memory and checking for allocation failure. The content is not zeroed.
| 43 | /// A utility function for allocating memory and checking for allocation |
| 44 | /// failure. The content is not zeroed. |
| 45 | inline 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. |
| 50 | inline static unsigned getDigit(char cdigit, uint8_t radix) { |
no outgoing calls
no test coverage detected