| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/curvecp/protocol.h" | 5 #include "net/curvecp/protocol.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 | 8 |
| 9 namespace net { | 9 namespace net { |
| 10 | 10 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 result <<= 8; | 79 result <<= 8; |
| 80 result |= src[2]; | 80 result |= src[2]; |
| 81 result <<= 8; | 81 result <<= 8; |
| 82 result |= src[1]; | 82 result |= src[1]; |
| 83 result <<= 8; | 83 result <<= 8; |
| 84 result |= src[0]; | 84 result |= src[0]; |
| 85 return result; | 85 return result; |
| 86 } | 86 } |
| 87 | 87 |
| 88 } // namespace net | 88 } // namespace net |
| OLD | NEW |