[CodeFormat] Clang-format cpp sources (#4965)

Clang-format all c++ source files.
This commit is contained in:
sduzh
2020-11-28 18:36:49 +08:00
committed by GitHub
parent f944bf4d44
commit 6fedf5881b
1331 changed files with 62548 additions and 68514 deletions

View File

@ -26,10 +26,10 @@ using doris_udf::FunctionContext;
using doris_udf::IntVal;
using doris_udf::StringVal;
void HashFunctions::init() { }
void HashFunctions::init() {}
IntVal HashFunctions::murmur_hash3_32(
FunctionContext* ctx, int num_children, const StringVal* inputs) {
IntVal HashFunctions::murmur_hash3_32(FunctionContext* ctx, int num_children,
const StringVal* inputs) {
uint32_t seed = HashUtil::MURMUR3_32_SEED;
for (int i = 0; i < num_children; ++i) {
if (inputs[i].is_null) {
@ -40,4 +40,4 @@ IntVal HashFunctions::murmur_hash3_32(
return seed;
}
}
} // namespace doris