MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / remove

Method remove

sql/sql_plist.h:119–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 }
118 }
119 inline void remove(T *a)
120 {
121 T *next= *B::next_ptr(a);
122 if (next)
123 *B::prev_ptr(next)= *B::prev_ptr(a);
124 else
125 I::set_last(*B::prev_ptr(a));
126 **B::prev_ptr(a)= next;
127 C::dec();
128 }
129 inline T* front() { return m_first; }
130 inline const T *front() const { return m_first; }
131 inline T* pop_front()

Callers 3

reserve_spaceMethod · 0.45
pop_warning_infoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected