| 98 | return children[static_cast<unsigned char>(index)]; |
| 99 | } |
| 100 | inline Node * |
| 101 | AllocateChild(char index) |
| 102 | { |
| 103 | Node *&child = children[static_cast<unsigned char>(index)]; |
| 104 | ink_assert(child == nullptr); |
| 105 | child = static_cast<Node *>(ats_malloc(sizeof(Node))); |
| 106 | child->Clear(); |
| 107 | return child; |
| 108 | } |
| 109 | |
| 110 | private: |
| 111 | Node *children[N_NODE_CHILDREN]; |
no test coverage detected