Home
last modified time | relevance | path

Searched refs:IntrusiveHeapLink (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Ddistributed_tpu_rewrite_pass.cc100 class IntrusiveHeapLink { class
105 IntrusiveHeapLink() = default;
108 explicit IntrusiveHeapLink(size_type pos) : pos_{pos} {} in IntrusiveHeapLink() function in tensorflow::__anond2c82b040111::IntrusiveHeapLink
117 template <typename T, IntrusiveHeapLink T::*M>
119 IntrusiveHeapLink Get(const T* elem) const { return elem->*M; } in Get()
120 void Set(T* elem, IntrusiveHeapLink link) const { elem->*M = link; } in Set()
125 IntrusiveHeapLink Get(const T* elem) const { return elem->heap; } in Get()
126 void Set(T* elem, IntrusiveHeapLink link) const { elem->heap = link; } in Set()
134 typedef typename IntrusiveHeapLink::size_type size_type;
187 SetPositionOf(t, IntrusiveHeapLink::kNotMember); in Remove()
[all …]