#include <gtest-linked_ptr.h>
Definition at line 89 of file gtest-linked_ptr.h.
◆ depart() [1/2]
| bool testing::internal::linked_ptr_internal::depart |
( |
| ) |
|
|
inline |
Definition at line 125 of file gtest-linked_ptr.h.
126 {
128
129 if (next_ == this) return true;
130 linked_ptr_internal const* p = next_;
131 while (p->next_ != this) {
132 assert(p->next_ != next_ &&
133 "Trying to depart() a linked ring we are not in. "
134 "Is GMock thread safety enabled?");
135 p = p->next_;
136 }
137 p->next_ = next_;
138 return false;
139 }
◆ depart() [2/2]
| bool testing::internal::linked_ptr_internal::depart |
( |
| ) |
|
|
inline |
Definition at line 125 of file gtest-linked_ptr.h.
126 {
128
129 if (next_ == this) return true;
130 linked_ptr_internal const* p = next_;
131 while (p->next_ != this) {
132 assert(p->next_ != next_ &&
133 "Trying to depart() a linked ring we are not in. "
134 "Is GMock thread safety enabled?");
135 p = p->next_;
136 }
137 p->next_ = next_;
138 return false;
139 }
◆ join() [1/2]
Definition at line 108 of file gtest-linked_ptr.h.
109 {
111
112 linked_ptr_internal const* p = ptr;
113 while (p->next_ != ptr) {
114 assert(p->next_ != this &&
115 "Trying to join() a linked ring we are already in. "
116 "Is GMock thread safety enabled?");
117 p = p->next_;
118 }
119 p->next_ = this;
120 next_ = ptr;
121 }
◆ join() [2/2]
Definition at line 108 of file gtest-linked_ptr.h.
109 {
111
112 linked_ptr_internal const* p = ptr;
113 while (p->next_ != ptr) {
114 assert(p->next_ != this &&
115 "Trying to join() a linked ring we are already in. "
116 "Is GMock thread safety enabled?");
117 p = p->next_;
118 }
119 p->next_ = this;
120 next_ = ptr;
121 }
◆ join_new() [1/2]
| void testing::internal::linked_ptr_internal::join_new |
( |
| ) |
|
|
inline |
◆ join_new() [2/2]
| void testing::internal::linked_ptr_internal::join_new |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files:
- /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-linked_ptr.h
- /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/tests/gtest/include/gtest/internal/gtest-linked_ptr.h