| OLD | NEW |
| 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 SKY_ENGINE_WTF_HASHTABLE_H_ |
| 21 #define WTF_HashTable_h | 21 #define SKY_ENGINE_WTF_HASHTABLE_H_ |
| 22 | 22 |
| 23 #include "sky/engine/wtf/Alignment.h" | 23 #include "sky/engine/wtf/Alignment.h" |
| 24 #include "sky/engine/wtf/Assertions.h" | 24 #include "sky/engine/wtf/Assertions.h" |
| 25 #include "sky/engine/wtf/DefaultAllocator.h" | 25 #include "sky/engine/wtf/DefaultAllocator.h" |
| 26 #include "sky/engine/wtf/HashTraits.h" | 26 #include "sky/engine/wtf/HashTraits.h" |
| 27 #include "sky/engine/wtf/WTF.h" | 27 #include "sky/engine/wtf/WTF.h" |
| 28 | 28 |
| 29 #define DUMP_HASHTABLE_STATS 0 | 29 #define DUMP_HASHTABLE_STATS 0 |
| 30 #define DUMP_HASHTABLE_STATS_PER_TABLE 0 | 30 #define DUMP_HASHTABLE_STATS_PER_TABLE 0 |
| 31 | 31 |
| (...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1244 typedef typename Collection2::const_iterator CollectionIterator; | 1244 typedef typename Collection2::const_iterator CollectionIterator; |
| 1245 CollectionIterator end(toBeRemoved.end()); | 1245 CollectionIterator end(toBeRemoved.end()); |
| 1246 for (CollectionIterator it(toBeRemoved.begin()); it != end; ++it) | 1246 for (CollectionIterator it(toBeRemoved.begin()); it != end; ++it) |
| 1247 collection.remove(*it); | 1247 collection.remove(*it); |
| 1248 } | 1248 } |
| 1249 | 1249 |
| 1250 } // namespace WTF | 1250 } // namespace WTF |
| 1251 | 1251 |
| 1252 #include "sky/engine/wtf/HashIterators.h" | 1252 #include "sky/engine/wtf/HashIterators.h" |
| 1253 | 1253 |
| 1254 #endif // WTF_HashTable_h | 1254 #endif // SKY_ENGINE_WTF_HASHTABLE_H_ |
| OLD | NEW |