| OLD | NEW |
| 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 "net/quic/core/quic_utils.h" | 5 #include "net/quic/core/quic_utils.h" |
| 6 | 6 |
| 7 #include <ctype.h> | 7 #include <ctype.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/containers/adapters.h" | 13 #include "base/containers/adapters.h" |
| 14 #include "base/logging.h" | 14 #include "base/logging.h" |
| 15 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
| 16 #include "base/strings/string_split.h" | 16 #include "base/strings/string_split.h" |
| 17 #include "base/strings/stringprintf.h" | 17 #include "base/strings/stringprintf.h" |
| 18 #include "net/base/ip_address.h" | 18 #include "net/base/ip_address.h" |
| 19 #include "net/quic/core/quic_flags.h" | 19 #include "net/quic/core/quic_flags.h" |
| 20 #include "net/quic/core/quic_write_blocked_list.h" | |
| 21 | 20 |
| 22 using base::StringPiece; | 21 using base::StringPiece; |
| 23 using std::string; | 22 using std::string; |
| 24 | 23 |
| 25 namespace net { | 24 namespace net { |
| 26 namespace { | 25 namespace { |
| 27 | 26 |
| 28 // We know that >= GCC 4.8 and Clang have a __uint128_t intrinsic. Other | 27 // We know that >= GCC 4.8 and Clang have a __uint128_t intrinsic. Other |
| 29 // compilers don't necessarily, notably MSVC. | 28 // compilers don't necessarily, notably MSVC. |
| 30 #if defined(__x86_64__) && \ | 29 #if defined(__x86_64__) && \ |
| (...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 570 | 569 |
| 571 bytes_remaining -= line_bytes; | 570 bytes_remaining -= line_bytes; |
| 572 offset += line_bytes; | 571 offset += line_bytes; |
| 573 p += line_bytes; | 572 p += line_bytes; |
| 574 s += '\n'; | 573 s += '\n'; |
| 575 } | 574 } |
| 576 return s; | 575 return s; |
| 577 } | 576 } |
| 578 | 577 |
| 579 } // namespace net | 578 } // namespace net |
| OLD | NEW |