aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcachestore.cpp
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2021-11-11 15:08:02 +0100
committerPer Larsson <[email protected]>2021-11-11 15:08:02 +0100
commitca91bd3945fa9e93b48cad72a1bca910badfd940 (patch)
tree7ab365be18496a9f127f4e2ebebd465547b15d90 /zenserver/cache/structuredcachestore.cpp
parentRenamed 3rdparty -> thirdparty for legal compliance (diff)
downloadzen-ca91bd3945fa9e93b48cad72a1bca910badfd940.tar.xz
zen-ca91bd3945fa9e93b48cad72a1bca910badfd940.zip
Format fix.
Diffstat (limited to 'zenserver/cache/structuredcachestore.cpp')
-rw-r--r--zenserver/cache/structuredcachestore.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/zenserver/cache/structuredcachestore.cpp b/zenserver/cache/structuredcachestore.cpp
index 119062833..8b9ce8ff9 100644
--- a/zenserver/cache/structuredcachestore.cpp
+++ b/zenserver/cache/structuredcachestore.cpp
@@ -325,27 +325,32 @@ inline DiskLocation::DiskLocation(uint64_t Offset, uint64_t ValueSize, uint32_t
{
}
-inline uint64_t DiskLocation::CombineOffsetAndFlags(uint64_t Offset, uint64_t Flags)
+inline uint64_t
+DiskLocation::CombineOffsetAndFlags(uint64_t Offset, uint64_t Flags)
{
return Offset | Flags;
}
-inline uint64_t DiskLocation::Offset() const
+inline uint64_t
+DiskLocation::Offset() const
{
return OffsetAndFlags & kOffsetMask;
}
-inline uint64_t DiskLocation::Size() const
+inline uint64_t
+DiskLocation::Size() const
{
return LowerSize;
}
-inline uint64_t DiskLocation::IsFlagSet(uint64_t Flag) const
+inline uint64_t
+DiskLocation::IsFlagSet(uint64_t Flag) const
{
return OffsetAndFlags & Flag;
}
-inline ZenContentType DiskLocation::GetContentType() const
+inline ZenContentType
+DiskLocation::GetContentType() const
{
ZenContentType ContentType = ZenContentType::kBinary;