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

Side by Side Diff: runtime/vm/unibrow-inl.h

Issue 2450713004: Make header include guards great again (Closed)
Patch Set: Fix header include guards Created 4 years, 1 month 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
« no previous file with comments | « runtime/vm/unibrow.h ('k') | runtime/vm/unicode.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 (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_UNIBROW_INL_H_ 5 #ifndef RUNTIME_VM_UNIBROW_INL_H_
6 #define VM_UNIBROW_INL_H_ 6 #define RUNTIME_VM_UNIBROW_INL_H_
7 7
8 #include "vm/unibrow.h" 8 #include "vm/unibrow.h"
9 9
10 #include "platform/assert.h" 10 #include "platform/assert.h"
11 11
12 namespace unibrow { 12 namespace unibrow {
13 13
14 template <class T, intptr_t s> intptr_t Mapping<T, s>::get( 14 template <class T, intptr_t s> intptr_t Mapping<T, s>::get(
15 int32_t c, int32_t n, int32_t* result) { 15 int32_t c, int32_t n, int32_t* result) {
16 CacheEntry entry = entries_[c & kMask]; 16 CacheEntry entry = entries_[c & kMask];
(...skipping 21 matching lines...) Expand all
38 entries_[c & kMask] = CacheEntry(c, 0); 38 entries_[c & kMask] = CacheEntry(c, 0);
39 return 0; 39 return 0;
40 } 40 }
41 } else { 41 } else {
42 return length; 42 return length;
43 } 43 }
44 } 44 }
45 45
46 } // namespace unibrow 46 } // namespace unibrow
47 47
48 #endif // VM_UNIBROW_INL_H_ 48 #endif // RUNTIME_VM_UNIBROW_INL_H_
OLDNEW
« no previous file with comments | « runtime/vm/unibrow.h ('k') | runtime/vm/unicode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698