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

Side by Side Diff: net/curvecp/test_data_stream.h

Issue 7037022: An initial curvecp implementation. This implementation is not complete, (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 7 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
OLDNEW
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 #ifndef NET_CURVECP_TEST_DATA_STREAM_H_ 5 #ifndef NET_CURVECP_TEST_DATA_STREAM_H_
6 #define NET_CURVECP_TEST_DATA_STREAM_H_ 6 #define NET_CURVECP_TEST_DATA_STREAM_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string.h> // for memcpy() 9 #include <string.h> // for memcpy()
10 #include <algorithm> 10 #include <algorithm>
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 int index_; 80 int index_;
81 int bytes_remaining_; 81 int bytes_remaining_;
82 char buffer_[16]; 82 char buffer_[16];
83 char* buffer_ptr_; 83 char* buffer_ptr_;
84 }; 84 };
85 85
86 } // namespace net 86 } // namespace net
87 87
88 #endif // NET_CURVECP_TEST_DATA_STREAM_H_ 88 #endif // NET_CURVECP_TEST_DATA_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698