Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Permute
Function
Permute
util/random/entropy.cpp:35–37 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
34
namespace {
35
inline void Permute(char* buf, size_t len, ui32 seed) noexcept {
36
Shuffle(buf, buf + len, TReallyFastRng32(seed));
37
}
38
39
struct THostEntropy: public TBuffer {
40
inline THostEntropy() {
Callers
1
THostEntropy
Method · 0.70
Calls
2
TReallyFastRng32
Class · 0.85
Shuffle
Function · 0.70
Tested by
no test coverage detected