| 115 | } |
| 116 | |
| 117 | const Range* GetRange(const int32 id) const { |
| 118 | if (id < 0 || id >= num_parts_) { return nullptr; } |
| 119 | return &parts_[id]; |
| 120 | } |
| 121 | |
| 122 | bool LocatePos(const int64 pos, int32* task_id) const { |
| 123 | for (int32 i = 0; i < num_parts_; ++i) { |
no outgoing calls
no test coverage detected