Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
util_hash Namespace Reference

Functions

uint64_t Hash (uint64_t num, uint64_t c)
 
uint64_t Hash (uint64_t a, uint64_t b, uint64_t c)
 
uint64_t MurmurHash64 (const char *buf, const size_t len)
 

Detailed Description

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ Hash() [1/2]

uint64_t util_hash::Hash ( uint64_t a,
uint64_t b,
uint64_t c )
inline

Definition at line 79 of file hash.h.

◆ Hash() [2/2]

uint64_t util_hash::Hash ( uint64_t num,
uint64_t c )
inline

Definition at line 73 of file hash.h.

◆ MurmurHash64()

uint64_t util_hash::MurmurHash64 ( const char * buf,
const size_t len )
inline

In the or-tools project, MurmurHash64 is just a redirection towards fast_hash.

Definition at line 22 of file murmur.h.