LevelDB project 1 10225501460 林子骥 10211900416 郭夏辉
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
537 B

1 month ago
  1. // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file. See the AUTHORS file for names of contributors.
  4. //
  5. // Simple hash function used for internal data structures
  6. #ifndef STORAGE_LEVELDB_UTIL_HASH_H_
  7. #define STORAGE_LEVELDB_UTIL_HASH_H_
  8. #include <cstddef>
  9. #include <cstdint>
  10. namespace leveldb {
  11. uint32_t Hash(const char* data, size_t n, uint32_t seed);
  12. } // namespace leveldb
  13. #endif // STORAGE_LEVELDB_UTIL_HASH_H_