mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 08:16:09 +03:00
19 lines
522 B
C++
19 lines
522 B
C++
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style license that can be
|
||
|
// found in the LICENSE file.
|
||
|
|
||
|
#include "net/base/int128.h"
|
||
|
|
||
|
#include <ostream>
|
||
|
|
||
|
namespace net {
|
||
|
|
||
|
const uint128_pod kuint128max = {static_cast<uint64_t>(0xFFFFFFFFFFFFFFFFULL),
|
||
|
static_cast<uint64_t>(0xFFFFFFFFFFFFFFFFULL)};
|
||
|
|
||
|
std::ostream& operator<<(std::ostream& o, const uint128& b) {
|
||
|
return (o << b.hi_ << "::" << b.lo_);
|
||
|
}
|
||
|
|
||
|
} // namespace net
|