1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
base / third_party / cityhash / README.chromium [blame]
Name: CityHash
URL: https://github.com/google/cityhash
Version: 1.1.1
Revision: 8af9b8c
License: MIT
License File: COPYING
Security Critical: yes
Shipped: yes
Description:
This is a fast non-cryptographic hash function.
There are currently two distinct sets of CityHash functions:
v1.0.3 and v1.1+ that produce distinct outputs.
The version in //base/third_party/cityhash_v103 is 1.0.3 and has some hash
quality issues that led to non-backwards compatible changes in v1.1+. See
//base/hash/README.md for instructions on how to choose a hash function.
Local changes:
- guarded function declaration (i.e. CityHash64) within a namespace
(base::internal::cityhash_v111).
- defined bswap_32/bswap_64 to use compiler builtins to make 'native_client'
build pass.
- remove unneeded CRC32 stuff.
- formating to make 'git cl format' happy.
- Use the builtins for bswap when compiling with clang.
- https://github.com/google/cityhash/pull/36