| 57 | |
| 58 | template<typename T> |
| 59 | void SyncArray<T>::log(el::base::type::ostream_t &ostream) const { |
| 60 | int i; |
| 61 | ostream << "["; |
| 62 | for (i = 0; i < size() - 1 && i < el::base::consts::kMaxLogPerContainer - 1; ++i) { |
| 63 | ostream << host_data()[i] << ","; |
| 64 | } |
| 65 | ostream << host_data()[i]; |
| 66 | ostream << "]"; |
| 67 | } |
| 68 | |
| 69 | template<typename T> |
| 70 | void SyncArray<T>::copy_from(const SyncArray<T> &source) { |
nothing calls this directly
no outgoing calls
no test coverage detected