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

Side by Side Diff: Source/wtf/HashTable.h

Issue 1041103002: PartitionAlloc: Centralize Partition allocators into one place (Part 1) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2008 David Levin <levin@chromium.org> 3 * Copyright (C) 2008 David Levin <levin@chromium.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABIL ITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public L icense for more details. 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABIL ITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public L icense for more details.
12 * 12 *
13 * You should have received a copy of the GNU Library General Public License 13 * You should have received a copy of the GNU Library General Public License
14 * along with this library; see the file COPYING.LIB. If not, write to 14 * along with this library; see the file COPYING.LIB. If not, write to
15 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 15 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 * Boston, MA 02110-1301, USA. 16 * Boston, MA 02110-1301, USA.
17 * 17 *
18 */ 18 */
19 19
20 #ifndef WTF_HashTable_h 20 #ifndef WTF_HashTable_h
21 #define WTF_HashTable_h 21 #define WTF_HashTable_h
22 22
23 #include "wtf/Alignment.h" 23 #include "wtf/Alignment.h"
24 #include "wtf/Assertions.h" 24 #include "wtf/Assertions.h"
25 #include "wtf/ConditionalDestructor.h" 25 #include "wtf/ConditionalDestructor.h"
26 #include "wtf/DefaultAllocator.h" 26 #include "wtf/DefaultAllocator.h"
27 #include "wtf/HashTraits.h" 27 #include "wtf/HashTraits.h"
28 #include "wtf/WTF.h"
29 28
30 #define DUMP_HASHTABLE_STATS 0 29 #define DUMP_HASHTABLE_STATS 0
31 #define DUMP_HASHTABLE_STATS_PER_TABLE 0 30 #define DUMP_HASHTABLE_STATS_PER_TABLE 0
32 31
33 #if DUMP_HASHTABLE_STATS_PER_TABLE 32 #if DUMP_HASHTABLE_STATS_PER_TABLE
34 #include "wtf/DataLog.h" 33 #include "wtf/DataLog.h"
35 #endif 34 #endif
36 35
37 #if DUMP_HASHTABLE_STATS 36 #if DUMP_HASHTABLE_STATS
38 #if DUMP_HASHTABLE_STATS_PER_TABLE 37 #if DUMP_HASHTABLE_STATS_PER_TABLE
(...skipping 1410 matching lines...) Expand 10 before | Expand all | Expand 10 after
1449 CollectionIterator end(toBeRemoved.end()); 1448 CollectionIterator end(toBeRemoved.end());
1450 for (CollectionIterator it(toBeRemoved.begin()); it != end; ++it) 1449 for (CollectionIterator it(toBeRemoved.begin()); it != end; ++it)
1451 collection.remove(*it); 1450 collection.remove(*it);
1452 } 1451 }
1453 1452
1454 } // namespace WTF 1453 } // namespace WTF
1455 1454
1456 #include "wtf/HashIterators.h" 1455 #include "wtf/HashIterators.h"
1457 1456
1458 #endif // WTF_HashTable_h 1457 #endif // WTF_HashTable_h
OLDNEW
« no previous file with comments | « Source/wtf/DefaultAllocator.h ('k') | Source/wtf/Partitions.h » ('j') | Source/wtf/Partitions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698