blob: 1e677cb9cc3ea4312d30c4c640edc70c7ce8c1f7 [file] [log] [blame]
[email protected]165e0752012-11-16 07:49:441// 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
3// found in the LICENSE file.
4
[email protected]165e0752012-11-16 07:49:445#include "net/base/int128.h"
6
thakis6baf4382015-12-10 22:36:277#include <ostream>
avibf0746c2015-12-09 19:53:148
altimin25cfca52016-05-26 20:06:469namespace net {
10
avibf0746c2015-12-09 19:53:1411const uint128_pod kuint128max = {static_cast<uint64_t>(0xFFFFFFFFFFFFFFFFULL),
12 static_cast<uint64_t>(0xFFFFFFFFFFFFFFFFULL)};
[email protected]165e0752012-11-16 07:49:4413
14std::ostream& operator<<(std::ostream& o, const uint128& b) {
15 return (o << b.hi_ << "::" << b.lo_);
16}
altimin25cfca52016-05-26 20:06:4617
18} // namespace net