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

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

Issue 18196004: Revert 153294 "Remove AtomicStringImpl." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 7 years, 5 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 | « trunk/Source/wtf/Forward.h ('k') | trunk/Source/wtf/text/AtomicString.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 /* 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 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 * 19 *
20 */ 20 */
21 21
22 #ifndef WTF_HashTable_h 22 #ifndef WTF_HashTable_h
23 #define WTF_HashTable_h 23 #define WTF_HashTable_h
24 24
25 #include "wtf/Alignment.h" 25 #include "wtf/Alignment.h"
26 #include "wtf/Assertions.h" 26 #include "wtf/Assertions.h"
27 #include "wtf/FastMalloc.h" 27 #include "wtf/FastMalloc.h"
28 #include "wtf/HashTraits.h" 28 #include "wtf/HashTraits.h"
29 #include "wtf/text/StringHash.h"
30 #include <string.h> 29 #include <string.h>
31 30
32 #define DUMP_HASHTABLE_STATS 0 31 #define DUMP_HASHTABLE_STATS 0
33 #define DUMP_HASHTABLE_STATS_PER_TABLE 0 32 #define DUMP_HASHTABLE_STATS_PER_TABLE 0
34 33
35 // Enables internal WTF consistency checks that are invoked automatically. Non-W TF callers can call checkTableConsistency() even if internal checks are disabled . 34 // Enables internal WTF consistency checks that are invoked automatically. Non-W TF callers can call checkTableConsistency() even if internal checks are disabled .
36 #define CHECK_HASHTABLE_CONSISTENCY 0 35 #define CHECK_HASHTABLE_CONSISTENCY 0
37 36
38 #ifdef NDEBUG 37 #ifdef NDEBUG
39 #define CHECK_HASHTABLE_ITERATORS 0 38 #define CHECK_HASHTABLE_ITERATORS 0
(...skipping 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after
1412 inline bool operator!=(const HashTableIteratorAdapter<T, U>& a, const HashTa bleConstIteratorAdapter<T, U>& b) 1411 inline bool operator!=(const HashTableIteratorAdapter<T, U>& a, const HashTa bleConstIteratorAdapter<T, U>& b)
1413 { 1412 {
1414 return a.m_impl != b.m_impl; 1413 return a.m_impl != b.m_impl;
1415 } 1414 }
1416 1415
1417 } // namespace WTF 1416 } // namespace WTF
1418 1417
1419 #include "wtf/HashIterators.h" 1418 #include "wtf/HashIterators.h"
1420 1419
1421 #endif // WTF_HashTable_h 1420 #endif // WTF_HashTable_h
OLDNEW
« no previous file with comments | « trunk/Source/wtf/Forward.h ('k') | trunk/Source/wtf/text/AtomicString.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698