Apply clang-format

This commit is contained in:
sfc-gh-tclinkenbeard 2022-09-27 12:01:43 -07:00
parent 16fe88948e
commit ffe1529f51
2 changed files with 2 additions and 4 deletions

View File

@ -562,7 +562,7 @@ ACTOR Future<bool> checkSafeExclusions(Database cx, std::vector<AddressExclusion
// Round up to the nearest page size
inline uint64_t getWriteOperationCost(uint64_t bytes) {
return (bytes - 1) / CLIENT_KNOBS->WRITE_COST_BYTE_FACTOR + 1
return (bytes - 1) / CLIENT_KNOBS->WRITE_COST_BYTE_FACTOR + 1;
}
// Create a transaction to set the value of system key \xff/conf/perpetual_storage_wiggle. If enable == true, the value

View File

@ -91,9 +91,7 @@ class TransactionTagCounterImpl {
Reference<EventCacheHolder> busiestReadTagEventHolder;
// Round up to the nearest page size
static int64_t costFunction(int64_t bytes) {
return (bytes - 1) / CLIENT_KNOBS->READ_COST_BYTE_FACTOR + 1;
}
static int64_t costFunction(int64_t bytes) { return (bytes - 1) / CLIENT_KNOBS->READ_COST_BYTE_FACTOR + 1; }
public:
TransactionTagCounterImpl(UID thisServerID)