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

Method ForEach

library/cpp/http/io/stream.cpp:70–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69 template <class Functor>
70 inline void ForEach(Functor& f) {
71 const TPtr* end = T_ + N;
72
73 for (TPtr* cur = Beg_; cur != end; ++cur) {
74 f(*cur);
75 }
76 }
77
78 TPtr Top() {
79 const TPtr* end = T_ + N;

Callers 3

FlushMethod · 0.45
FinishMethod · 0.45
CleanupMethod · 0.45

Calls 1

fFunction · 0.50

Tested by

no test coverage detected