| 73 | } |
| 74 | |
| 75 | void zeroRange(unsigned start, unsigned end) |
| 76 | { |
| 77 | bool isSafe = (start <= end) && (end <= (unsigned) size()); |
| 78 | if (!isSafe) |
| 79 | return; |
| 80 | |
| 81 | memset(data() + start, 0, sizeof(T) * (end - start)); |
| 82 | } |
| 83 | |
| 84 | void copyToRange(const T * sourceData, unsigned start, unsigned end) |
| 85 | { |
no outgoing calls
no test coverage detected