| 89 | |
| 90 | |
| 91 | TClientInfoConnection* TClientInfo::getConnection(int fd, bool grow) { |
| 92 | if (fd < 0 || (!grow && fd >= info_.size())) { |
| 93 | return nullptr; |
| 94 | } |
| 95 | return &info_[fd]; |
| 96 | } |
| 97 | |
| 98 | size_t TClientInfo::size() const { |
| 99 | return info_.size(); |
no test coverage detected