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

Side by Side Diff: net/base/int128.cc

Issue 218953003: Remove all uses of GG_LONGLONG and GG_ULONGLONG. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win? Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « media/formats/webm/webm_constants.h ('k') | net/base/int128_unittest.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium 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 #include <iostream> 5 #include <iostream>
6 #include "base/basictypes.h" 6 #include "base/basictypes.h"
7 #include "net/base/int128.h" 7 #include "net/base/int128.h"
8 8
9 const uint128_pod kuint128max = { 9 const uint128_pod kuint128max = {
10 static_cast<uint64>(GG_LONGLONG(0xFFFFFFFFFFFFFFFF)), 10 static_cast<uint64>(0xFFFFFFFFFFFFFFFFULL),
11 static_cast<uint64>(GG_LONGLONG(0xFFFFFFFFFFFFFFFF)) 11 static_cast<uint64>(0xFFFFFFFFFFFFFFFFULL)
12 }; 12 };
13 13
14 std::ostream& operator<<(std::ostream& o, const uint128& b) { 14 std::ostream& operator<<(std::ostream& o, const uint128& b) {
15 return (o << b.hi_ << "::" << b.lo_); 15 return (o << b.hi_ << "::" << b.lo_);
16 } 16 }
OLDNEW
« no previous file with comments | « media/formats/webm/webm_constants.h ('k') | net/base/int128_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698