Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ operator()
Method
operator()
catboost/libs/data/loader.cpp:406–409 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
404
namespace {
405
struct TStupidStringHash {
406
size_t operator()(TStringBuf str) {
407
Y_ASSERT(str.size() == 3);
408
return IntHash(str[0] + (str[2] << 8));
409
}
410
};
411
412
bool TryFloatFromStringFast(TStringBuf token, float& value) {
Callers
nothing calls this directly
Calls
2
IntHash
Function · 0.85
size
Method · 0.45
Tested by
no test coverage detected