aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2022-02-02 10:48:51 +0100
committerStefan Boberg <[email protected]>2022-02-02 10:49:05 +0100
commit362fa4336e71dae5472e6a9f9ba06ff253ac5607 (patch)
tree63a9b9c56de686594428867a3cc0bc8dc78132c4 /zenserver/cache
parentRevised TODO (diff)
downloadzen-362fa4336e71dae5472e6a9f9ba06ff253ac5607.tar.xz
zen-362fa4336e71dae5472e6a9f9ba06ff253ac5607.zip
clang-format
Diffstat (limited to 'zenserver/cache')
-rw-r--r--zenserver/cache/structuredcachestore.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/zenserver/cache/structuredcachestore.h b/zenserver/cache/structuredcachestore.h
index 4f162c0ba..9ffc06b28 100644
--- a/zenserver/cache/structuredcachestore.h
+++ b/zenserver/cache/structuredcachestore.h
@@ -84,12 +84,12 @@ struct DiskLocation
}
static const uint64_t kOffsetMask = 0x0000'ffFF'ffFF'ffFFull;
- static const uint64_t kSizeMask = 0x00FF'0000'0000'0000ull; // Most significant bits of value size (lower 32 bits in LowerSize)
+ static const uint64_t kSizeMask = 0x00FF'0000'0000'0000ull; // Most significant bits of value size (lower 32 bits in LowerSize)
static const uint64_t kFlagsMask = 0xff00'0000'0000'0000ull;
- static const uint64_t kStandaloneFile = 0x8000'0000'0000'0000ull; // Stored as a separate file
- static const uint64_t kStructured = 0x4000'0000'0000'0000ull; // Serialized as compact binary
- static const uint64_t kTombStone = 0x2000'0000'0000'0000ull; // Represents a deleted key/value
- static const uint64_t kCompressed = 0x1000'0000'0000'0000ull; // Stored in compressed buffer format
+ static const uint64_t kStandaloneFile = 0x8000'0000'0000'0000ull; // Stored as a separate file
+ static const uint64_t kStructured = 0x4000'0000'0000'0000ull; // Serialized as compact binary
+ static const uint64_t kTombStone = 0x2000'0000'0000'0000ull; // Represents a deleted key/value
+ static const uint64_t kCompressed = 0x1000'0000'0000'0000ull; // Stored in compressed buffer format
static uint64_t CombineOffsetAndFlags(uint64_t Offset, uint64_t Flags) { return Offset | Flags; }
@@ -104,11 +104,11 @@ struct DiskLocation
{
ContentType = ZenContentType::kCbObject;
}
-
+
if (IsFlagSet(DiskLocation::kCompressed))
{
ContentType = ZenContentType::kCompressedBinary;
- }
+ }
return ContentType;
}