MCPcopy Create free account
hub / github.com/EricPengShuai/Interview / full

Method full

Linux/nowcoder/5-WebServer/asyncLog/blockqueue.h:141–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139
140template<class T>
141bool BlockDeque<T>::full(){
142 std::lock_guard<std::mutex> locker(mtx_);
143 return deq_.size() >= capacity_;
144}
145
146template<class T>
147bool BlockDeque<T>::pop(T &item) {

Callers 1

writeMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected