MCPcopy Create free account
hub / github.com/catboost/catboost / Push

Method Push

util/system/context.cpp:74–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73 template <class T>
74 inline void Push(T t) noexcept {
75 #if defined(STACK_GROW_DOWN)
76 Data_ -= sizeof(T);
77 *((T*)Data_) = t;
78 #else
79 *((T*)Data_) = t;
80 Data_ += sizeof(T);
81 #endif
82 }
83
84 inline char* StackPtr() noexcept {
85 return Data_;

Callers 2

context.cppFile · 0.45
with_lockMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected