Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: src/hashmap.h

Issue 304153016: Use full include paths everywhere (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/handles-inl.h ('k') | src/heap.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_HASHMAP_H_ 5 #ifndef V8_HASHMAP_H_
6 #define V8_HASHMAP_H_ 6 #define V8_HASHMAP_H_
7 7
8 #include "allocation.h" 8 #include "src/allocation.h"
9 #include "checks.h" 9 #include "src/checks.h"
10 #include "utils.h" 10 #include "src/utils.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 14
15 template<class AllocationPolicy> 15 template<class AllocationPolicy>
16 class TemplateHashMapImpl { 16 class TemplateHashMapImpl {
17 public: 17 public:
18 typedef bool (*MatchFun) (void* key1, void* key2); 18 typedef bool (*MatchFun) (void* key1, void* key2);
19 19
20 // The default capacity. This is used by the call sites which want 20 // The default capacity. This is used by the call sites which want
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 Iterator end() const { return Iterator(this, NULL); } 337 Iterator end() const { return Iterator(this, NULL); }
338 Iterator find(Key* key, bool insert = false, 338 Iterator find(Key* key, bool insert = false,
339 AllocationPolicy allocator = AllocationPolicy()) { 339 AllocationPolicy allocator = AllocationPolicy()) {
340 return Iterator(this, this->Lookup(key, key->Hash(), insert, allocator)); 340 return Iterator(this, this->Lookup(key, key->Hash(), insert, allocator));
341 } 341 }
342 }; 342 };
343 343
344 } } // namespace v8::internal 344 } } // namespace v8::internal
345 345
346 #endif // V8_HASHMAP_H_ 346 #endif // V8_HASHMAP_H_
OLDNEW
« no previous file with comments | « src/handles-inl.h ('k') | src/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698