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

Unified Diff: runtime/vm/unibrow-inl.h

Issue 2481873005: clang-format runtime/vm (Closed)
Patch Set: Merge 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/unibrow.cc ('k') | runtime/vm/unicode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/unibrow-inl.h
diff --git a/runtime/vm/unibrow-inl.h b/runtime/vm/unibrow-inl.h
index 47ef64da946181c26dbefa8d8385dedb62dfd6b2..ab6f5d5845426f9997a7ccbd9a74352aeb43a341 100644
--- a/runtime/vm/unibrow-inl.h
+++ b/runtime/vm/unibrow-inl.h
@@ -11,8 +11,8 @@
namespace unibrow {
-template <class T, intptr_t s> intptr_t Mapping<T, s>::get(
- int32_t c, int32_t n, int32_t* result) {
+template <class T, intptr_t s>
+intptr_t Mapping<T, s>::get(int32_t c, int32_t n, int32_t* result) {
CacheEntry entry = entries_[c & kMask];
if (entry.code_point_ == c) {
if (entry.offset_ == 0) {
@@ -26,8 +26,8 @@ template <class T, intptr_t s> intptr_t Mapping<T, s>::get(
}
}
-template <class T, intptr_t s> intptr_t Mapping<T, s>::CalculateValue(
- int32_t c, int32_t n, int32_t* result) {
+template <class T, intptr_t s>
+intptr_t Mapping<T, s>::CalculateValue(int32_t c, int32_t n, int32_t* result) {
bool allow_caching = true;
intptr_t length = T::Convert(c, n, result, &allow_caching);
if (allow_caching) {
« no previous file with comments | « runtime/vm/unibrow.cc ('k') | runtime/vm/unicode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698