MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / createRandom

Method createRandom

base/poco/Foundation/src/UUIDGenerator.cpp:94–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92
93
94UUID UUIDGenerator::createRandom()
95{
96 char buffer[16];
97 RandomInputStream ris;
98 ris.read(buffer, sizeof(buffer));
99 return UUID(buffer, UUID::UUID_RANDOM);
100}
101
102
103Timestamp::UtcTimeVal UUIDGenerator::timeStamp()

Callers 8

executeMethod · 0.80
generateDataFileNameMethod · 0.80
createEmptyMetadataFileFunction · 0.80
generateRandomIDMethod · 0.80

Calls 1

readMethod · 0.45

Tested by

no test coverage detected