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

Side by Side Diff: net/curvecp/circular_buffer.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_CIRCULAR_BUFFER_H_ 5 #ifndef NET_CURVECP_CIRCULAR_BUFFER_H_
6 #define NET_CURVECP_CIRCULAR_BUFFER_H_ 6 #define NET_CURVECP_CIRCULAR_BUFFER_H_
7 #pragma once 7 #pragma once
8 8
9 namespace net { 9 namespace net {
10 10
(...skipping 20 matching lines...) Expand all
31 private: 31 private:
32 int capacity_; 32 int capacity_;
33 int head_; 33 int head_;
34 int length_; 34 int length_;
35 char* buffer_; 35 char* buffer_;
36 }; 36 };
37 37
38 } // namespace net 38 } // namespace net
39 39
40 #endif // NET_CURVECP_CIRCULAR_BUFFER_H_ 40 #endif // NET_CURVECP_CIRCULAR_BUFFER_H_
OLDNEW
« no previous file with comments | « net/curvecp/README ('k') | net/curvecp/circular_buffer.cc » ('j') | net/curvecp/messenger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698