Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Next
Method
Next
library/cpp/testing/benchmark/bench.cpp:153–160 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
151
152
struct TSampleIterator {
153
inline size_t Next() noexcept {
154
return M++;
155
156
N *= 1.02;
157
M += 1;
158
159
return Max<double>(N, M);
160
}
161
162
double N = 1.0;
163
size_t M = 1;
Callers
1
RunTest
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected