Searched refs:has_capacity (Results 1 – 2 of 2) sorted by relevance
83 fn has_capacity(&self, more: usize) -> Result<()> { in has_capacity() method111 self.has_capacity(k.len() + v.len() + 1)?; in insert()127 self.has_capacity(s.len())?; in insert_str()
111 if (has_capacity() || has_memory_limit()) { in notify_inserters_if_bounded()128 bool has_capacity() const TF_EXCLUSIVE_LOCKS_REQUIRED(mu_) { in has_capacity() function in tensorflow::__anond7e31e9a0111::StagingMap142 return has_capacity() && map_.size() >= capacity_; in is_capacity_full()