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

Side by Side Diff: src/platform-freebsd.cc

Issue 115756: Split nested namespaces declaration in two lines in accordance with C++ Style Guide. (Closed)
Patch Set: Created 11 years, 7 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 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #include <stdarg.h> 48 #include <stdarg.h>
49 #include <limits.h> 49 #include <limits.h>
50 50
51 #undef MAP_TYPE 51 #undef MAP_TYPE
52 52
53 #include "v8.h" 53 #include "v8.h"
54 54
55 #include "platform.h" 55 #include "platform.h"
56 56
57 57
58 namespace v8 { namespace internal { 58 namespace v8 {
59 namespace internal {
59 60
60 // 0 is never a valid thread id on FreeBSD since tids and pids share a 61 // 0 is never a valid thread id on FreeBSD since tids and pids share a
61 // name space and pid 0 is used to kill the group (see man 2 kill). 62 // name space and pid 0 is used to kill the group (see man 2 kill).
62 static const pthread_t kNoThread = (pthread_t) 0; 63 static const pthread_t kNoThread = (pthread_t) 0;
63 64
64 65
65 double ceiling(double x) { 66 double ceiling(double x) {
66 // Correct as on OS X 67 // Correct as on OS X
67 if (-1.0 < x && x < 0.0) { 68 if (-1.0 < x && x < 0.0) {
68 return -0.0; 69 return -0.0;
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 } 629 }
629 630
630 // This sampler is no longer the active sampler. 631 // This sampler is no longer the active sampler.
631 active_sampler_ = NULL; 632 active_sampler_ = NULL;
632 active_ = false; 633 active_ = false;
633 } 634 }
634 635
635 #endif // ENABLE_LOGGING_AND_PROFILING 636 #endif // ENABLE_LOGGING_AND_PROFILING
636 637
637 } } // namespace v8::internal 638 } } // namespace v8::internal
OLDNEW
« src/accessors.h ('K') | « src/platform.h ('k') | src/platform-linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698