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

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

Issue 1371083003: [presubmit] Enable readability/namespace linter checking. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 5 years, 2 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
« no previous file with comments | « src/base/platform/platform-cygwin.cc ('k') | src/base/platform/platform-linux.cc » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Platform-specific code for FreeBSD goes here. For the POSIX-compatible 5 // Platform-specific code for FreeBSD goes here. For the POSIX-compatible
6 // parts, the implementation is in platform-posix.cc. 6 // parts, the implementation is in platform-posix.cc.
7 7
8 #include <pthread.h> 8 #include <pthread.h>
9 #include <semaphore.h> 9 #include <semaphore.h>
10 #include <signal.h> 10 #include <signal.h>
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 bool VirtualMemory::ReleaseRegion(void* base, size_t size) { 248 bool VirtualMemory::ReleaseRegion(void* base, size_t size) {
249 return munmap(base, size) == 0; 249 return munmap(base, size) == 0;
250 } 250 }
251 251
252 252
253 bool VirtualMemory::HasLazyCommits() { 253 bool VirtualMemory::HasLazyCommits() {
254 // TODO(alph): implement for the platform. 254 // TODO(alph): implement for the platform.
255 return false; 255 return false;
256 } 256 }
257 257
258 } } // namespace v8::base 258 } // namespace base
259 } // namespace v8
OLDNEW
« no previous file with comments | « src/base/platform/platform-cygwin.cc ('k') | src/base/platform/platform-linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698