MCPcopy Create free account
hub / github.com/apache/impala / CacheValueToFileType

Function CacheValueToFileType

be/src/kudu/util/file_cache.cc:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66template <class FileType>
67FileType* CacheValueToFileType(Slice s) {
68 return reinterpret_cast<FileType*>(*reinterpret_cast<void**>(
69 s.mutable_data()));
70}
71
72class EvictionCallback : public Cache::EvictionCallback {
73 public:

Callers

nothing calls this directly

Calls 1

mutable_dataMethod · 0.80

Tested by

no test coverage detected