提供基本的ttl测试用例
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

19 linhas
524 B

  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 <stddef.h>
  9. #include <stdint.h>
  10. namespace leveldb {
  11. extern uint32_t Hash(const char* data, size_t n, uint32_t seed);
  12. }
  13. #endif // STORAGE_LEVELDB_UTIL_HASH_H_