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

Side by Side Diff: third_party/WebKit/Source/platform/wtf/StringHasher.h

Issue 2764243002: Move files in wtf/ to platform/wtf/ (Part 9). (Closed)
Patch Set: Rebase. Created 3 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2006, 2008, 2010, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2006, 2008, 2010, 2013 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com> 3 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com>
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_StringHasher_h 22 #ifndef WTF_StringHasher_h
23 #define WTF_StringHasher_h 23 #define WTF_StringHasher_h
24 24
25 #include "wtf/Allocator.h" 25 #include "platform/wtf/Allocator.h"
26 #include "wtf/text/Unicode.h" 26 #include "platform/wtf/text/Unicode.h"
27 27
28 namespace WTF { 28 namespace WTF {
29 29
30 // Paul Hsieh's SuperFastHash 30 // Paul Hsieh's SuperFastHash
31 // http://www.azillionmonkeys.com/qed/hash.html 31 // http://www.azillionmonkeys.com/qed/hash.html
32 32
33 // LChar data is interpreted as Latin-1-encoded (zero extended to 16 bits). 33 // LChar data is interpreted as Latin-1-encoded (zero extended to 16 bits).
34 34
35 // NOTE: The hash computation here must stay in sync with 35 // NOTE: The hash computation here must stay in sync with
36 // build/scripts/hasher.py. 36 // build/scripts/hasher.py.
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 unsigned m_hash; 223 unsigned m_hash;
224 bool m_hasPendingCharacter; 224 bool m_hasPendingCharacter;
225 UChar m_pendingCharacter; 225 UChar m_pendingCharacter;
226 }; 226 };
227 227
228 } // namespace WTF 228 } // namespace WTF
229 229
230 using WTF::StringHasher; 230 using WTF::StringHasher;
231 231
232 #endif // WTF_StringHasher_h 232 #endif // WTF_StringHasher_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/RetainPtr.h ('k') | third_party/WebKit/Source/platform/wtf/WTFThreadData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698