Dejan Mircevski
fb6c011b52
everywhere: Insert space after switch
...
Quoth @avikivity: "switch is not a function, and we celebrate that by
putting a space after it like other control-flow keywords."
https://github.com/scylladb/scylla/pull/7052#discussion_r471932710
Tests: unit (dev)
Signed-off-by: Dejan Mircevski <dejan@scylladb.com >
2020-08-18 14:31:04 +03:00
Pekka Enberg
38a54df863
Fix pre-ScyllaDB copyright statements
...
People keep tripping over the old copyrights and copy-pasting them to
new files. Search and replace "Cloudius Systems" with "ScyllaDB".
Message-Id: <1460013664-25966-1-git-send-email-penberg@scylladb.com >
2016-04-08 08:12:47 +03:00
Avi Kivity
d5cf0fb2b1
Add license notices
2015-09-20 10:43:39 +03:00
Tomasz Grabiec
b28d26bc9f
murmur_hash: Drop static qualifier from template definition
...
To avoid multiple definitions in different compilation units. Pointed
out by Avi.
2015-04-30 16:49:50 +02:00
Tomasz Grabiec
5fc149d454
utils: murmur_hash: Add input iterator based hash3_x64_128() version
2015-04-30 11:16:53 +02:00
Tomasz Grabiec
9197914697
utils: Fix indentation in murmur_hash.hh
...
We don't indent namespaces.
2015-04-30 11:16:53 +02:00
Tomasz Grabiec
a9972b4b28
Relax header dependencies
2015-04-24 18:01:01 +02:00
Tomasz Grabiec
f321b9e9b5
util: Make hash functions work on bytes_view
2015-03-17 15:56:28 +01:00
Avi Kivity
678c259c66
murmur3: switch to unsigned types
...
C++ doesn't define overflow on signed types, so use unsigned types instead.
Luckily all right shifts were unsigned anyway.
Some signed extension was happening (handling remainders after processing
8-byte chunks) but should still be there.
Caught by debug build.
2015-02-24 15:29:08 +02:00
Nadav Har'El
774579d8b4
Move murmur_hash to the right directory
...
In the original Java code, MurmurHash was in the "utils" package, not
"util", so move it to a new "utils" directory (and namespace), not
"util".
Signed-off-by: Nadav Har'El <nyh@cloudius-systems.com >
2014-12-30 17:43:30 +02:00