forked from MassiveAtoms/hashmap-bench
		
	fixed googlemap
This commit is contained in:
		@@ -96,13 +96,13 @@
 | 
			
		||||
#ifndef _DENSE_HASH_MAP_H_
 | 
			
		||||
#define _DENSE_HASH_MAP_H_
 | 
			
		||||
 | 
			
		||||
#include <sparsehash/internal/sparseconfig.h>
 | 
			
		||||
#include "./internal/sparseconfig.h"
 | 
			
		||||
#include <algorithm>                        // needed by stl_alloc
 | 
			
		||||
#include <functional>                       // for equal_to<>, select1st<>, etc
 | 
			
		||||
#include <memory>                           // for alloc
 | 
			
		||||
#include <utility>                          // for pair<>
 | 
			
		||||
#include <sparsehash/internal/densehashtable.h>        // IWYU pragma: export
 | 
			
		||||
#include <sparsehash/internal/libc_allocator_with_realloc.h>
 | 
			
		||||
#include "./internal/densehashtable.h"        // IWYU pragma: export
 | 
			
		||||
#include "./internal/libc_allocator_with_realloc.h"
 | 
			
		||||
#include HASH_FUN_H                 // for hash<>
 | 
			
		||||
_START_GOOGLE_NAMESPACE_
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -89,7 +89,7 @@
 | 
			
		||||
#ifndef _DENSEHASHTABLE_H_
 | 
			
		||||
#define _DENSEHASHTABLE_H_
 | 
			
		||||
 | 
			
		||||
#include <sparsehash/internal/sparseconfig.h>
 | 
			
		||||
#include "./internal/sparseconfig.h"
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <stdio.h>              // for FILE, fwrite, fread
 | 
			
		||||
#include <algorithm>            // For swap(), eg
 | 
			
		||||
@@ -97,9 +97,9 @@
 | 
			
		||||
#include <limits>               // for numeric_limits
 | 
			
		||||
#include <memory>               // For uninitialized_fill
 | 
			
		||||
#include <utility>              // for pair
 | 
			
		||||
#include <sparsehash/internal/hashtable-common.h>
 | 
			
		||||
#include <sparsehash/internal/libc_allocator_with_realloc.h>
 | 
			
		||||
#include <sparsehash/type_traits.h>
 | 
			
		||||
#include "./internal/hashtable-common.h"
 | 
			
		||||
#include "./internal/libc_allocator_with_realloc.h"
 | 
			
		||||
#include "./type_traits.h"
 | 
			
		||||
#include <stdexcept>                 // For length_error
 | 
			
		||||
 | 
			
		||||
_START_GOOGLE_NAMESPACE_
 | 
			
		||||
 
 | 
			
		||||
@@ -40,7 +40,7 @@
 | 
			
		||||
#ifndef UTIL_GTL_HASHTABLE_COMMON_H_
 | 
			
		||||
#define UTIL_GTL_HASHTABLE_COMMON_H_
 | 
			
		||||
 | 
			
		||||
#include <sparsehash/internal/sparseconfig.h>
 | 
			
		||||
#include "./internal/sparseconfig.h"
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
#include <stddef.h>                  // for size_t
 | 
			
		||||
 
 | 
			
		||||
@@ -32,7 +32,7 @@
 | 
			
		||||
#ifndef UTIL_GTL_LIBC_ALLOCATOR_WITH_REALLOC_H_
 | 
			
		||||
#define UTIL_GTL_LIBC_ALLOCATOR_WITH_REALLOC_H_
 | 
			
		||||
 | 
			
		||||
#include <sparsehash/internal/sparseconfig.h>
 | 
			
		||||
#include "./internal/sparseconfig.h"
 | 
			
		||||
#include <stdlib.h>           // for malloc/realloc/free
 | 
			
		||||
#include <stddef.h>           // for ptrdiff_t
 | 
			
		||||
#include <new>                // for placement new
 | 
			
		||||
 
 | 
			
		||||
@@ -95,15 +95,15 @@
 | 
			
		||||
#ifndef _SPARSEHASHTABLE_H_
 | 
			
		||||
#define _SPARSEHASHTABLE_H_
 | 
			
		||||
 | 
			
		||||
#include <sparsehash/internal/sparseconfig.h>
 | 
			
		||||
#include "./internal/sparseconfig.h"
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <algorithm>                 // For swap(), eg
 | 
			
		||||
#include <iterator>                  // for iterator tags
 | 
			
		||||
#include <limits>                    // for numeric_limits
 | 
			
		||||
#include <utility>                   // for pair
 | 
			
		||||
#include <sparsehash/type_traits.h>        // for remove_const
 | 
			
		||||
#include <sparsehash/internal/hashtable-common.h>
 | 
			
		||||
#include <sparsehash/sparsetable>    // IWYU pragma: export
 | 
			
		||||
#include "./type_traits.h"        // for remove_const
 | 
			
		||||
#include "./internal/hashtable-common.h"
 | 
			
		||||
#include "./sparsetable"    // IWYU pragma: export
 | 
			
		||||
#include <stdexcept>                 // For length_error
 | 
			
		||||
 | 
			
		||||
_START_GOOGLE_NAMESPACE_
 | 
			
		||||
 
 | 
			
		||||
@@ -84,13 +84,13 @@
 | 
			
		||||
#ifndef _SPARSE_HASH_MAP_H_
 | 
			
		||||
#define _SPARSE_HASH_MAP_H_
 | 
			
		||||
 | 
			
		||||
#include <sparsehash/internal/sparseconfig.h>
 | 
			
		||||
#include "./internal/sparseconfig.h"
 | 
			
		||||
#include <algorithm>                        // needed by stl_alloc
 | 
			
		||||
#include <functional>                       // for equal_to<>, select1st<>, etc
 | 
			
		||||
#include <memory>                           // for alloc
 | 
			
		||||
#include <utility>                          // for pair<>
 | 
			
		||||
#include <sparsehash/internal/libc_allocator_with_realloc.h>
 | 
			
		||||
#include <sparsehash/internal/sparsehashtable.h>       // IWYU pragma: export
 | 
			
		||||
#include "./internal/libc_allocator_with_realloc.h"
 | 
			
		||||
#include "./internal/sparsehashtable.h"       // IWYU pragma: export
 | 
			
		||||
#include HASH_FUN_H                 // for hash<>
 | 
			
		||||
_START_GOOGLE_NAMESPACE_
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -224,7 +224,7 @@
 | 
			
		||||
#ifndef UTIL_GTL_SPARSETABLE_H_
 | 
			
		||||
#define UTIL_GTL_SPARSETABLE_H_
 | 
			
		||||
 | 
			
		||||
#include <sparsehash/internal/sparseconfig.h>
 | 
			
		||||
#include "/internal/sparseconfig.h"
 | 
			
		||||
#include <stdlib.h>             // for malloc/free
 | 
			
		||||
#include <stdio.h>              // to read/write tables
 | 
			
		||||
#include <string.h>             // for memcpy
 | 
			
		||||
@@ -242,9 +242,9 @@
 | 
			
		||||
#include <algorithm>            // equal, lexicographical_compare, swap,...
 | 
			
		||||
#include <memory>               // uninitialized_copy, uninitialized_fill
 | 
			
		||||
#include <vector>               // a sparsetable is a vector of groups
 | 
			
		||||
#include <sparsehash/type_traits.h>
 | 
			
		||||
#include <sparsehash/internal/hashtable-common.h>
 | 
			
		||||
#include <sparsehash/internal/libc_allocator_with_realloc.h>
 | 
			
		||||
#include "./type_traits.h"
 | 
			
		||||
#include "./internal/hashtable-common.h"
 | 
			
		||||
#include "./internal/libc_allocator_with_realloc.h"
 | 
			
		||||
 | 
			
		||||
// A lot of work to get a type that's guaranteed to be 16 bits...
 | 
			
		||||
#ifndef HAVE_U_INT16_T
 | 
			
		||||
 
 | 
			
		||||
@@ -49,7 +49,7 @@
 | 
			
		||||
#ifndef BASE_TEMPLATE_UTIL_H_
 | 
			
		||||
#define BASE_TEMPLATE_UTIL_H_
 | 
			
		||||
 | 
			
		||||
#include <sparsehash/internal/sparseconfig.h>
 | 
			
		||||
#include "./internal/sparseconfig.h"
 | 
			
		||||
_START_GOOGLE_NAMESPACE_
 | 
			
		||||
 | 
			
		||||
// Types small_ and big_ are guaranteed such that sizeof(small_) <
 | 
			
		||||
 
 | 
			
		||||
@@ -57,10 +57,10 @@
 | 
			
		||||
#ifndef BASE_TYPE_TRAITS_H_
 | 
			
		||||
#define BASE_TYPE_TRAITS_H_
 | 
			
		||||
 | 
			
		||||
#include <sparsehash/internal/sparseconfig.h>
 | 
			
		||||
#include "./internal/sparseconfig.h"
 | 
			
		||||
#include <utility>                  // For pair
 | 
			
		||||
 | 
			
		||||
#include <sparsehash/template_util.h>     // For true_type and false_type
 | 
			
		||||
#include "./template_util.h"    // For true_type and false_type
 | 
			
		||||
 | 
			
		||||
_START_GOOGLE_NAMESPACE_
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user