MCPcopy Create free account
hub / github.com/apache/trafficserver / object_key_get

Method object_key_get

include/proxy/hdrs/HTTP.h:1464–1473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1462}
1463
1464inline CryptoHash
1465HTTPInfo::object_key_get()
1466{
1467 CryptoHash val;
1468 int32_t *pi = reinterpret_cast<int32_t *>(&val);
1469
1470 memcpy(pi, m_alt->m_object_key, sizeof(CryptoHash));
1471
1472 return val;
1473}
1474
1475inline void
1476HTTPInfo::object_key_get(CryptoHash *hash)

Callers 10

SelectFromAlternatesMethod · 0.80
printMethod · 0.80
open_writeMethod · 0.80
openReadFromWriterMethod · 0.80
openReadStartHeadMethod · 0.80
scanObjectMethod · 0.80
delete_earliest_dirMethod · 0.80
delete_earliest_dirMethod · 0.80
delete_earliest_dirMethod · 0.80
delete_earliest_dirMethod · 0.80

Calls 1

memcpyFunction · 0.50

Tested by 4

delete_earliest_dirMethod · 0.64
delete_earliest_dirMethod · 0.64
delete_earliest_dirMethod · 0.64
delete_earliest_dirMethod · 0.64