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

Unified Diff: courgette/third_party/bsdiff/paged_array.h

Issue 1961963003: Move //courgette/third_party to subfolder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes according to comments Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « courgette/third_party/bsdiff/bsdiff_create.cc ('k') | courgette/third_party/bsdiff/paged_array_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/third_party/bsdiff/paged_array.h
diff --git a/courgette/third_party/paged_array.h b/courgette/third_party/bsdiff/paged_array.h
similarity index 90%
rename from courgette/third_party/paged_array.h
rename to courgette/third_party/bsdiff/paged_array.h
index 48a92f171fb1a804d9947ba419c1b7a60027d7ab..27c3c0b37db7fbfce7038aed7728f7a333477526 100644
--- a/courgette/third_party/paged_array.h
+++ b/courgette/third_party/bsdiff/paged_array.h
@@ -6,10 +6,10 @@
//
// PagedArray is a work-around to allow large arrays to be allocated when there
// is too much address space fragmentation for allocating the large arrays as
-// contigous arrays.
+// contiguous arrays.
-#ifndef COURGETTE_BSDIFF_PAGED_ARRAY_H_
-#define COURGETTE_BSDIFF_PAGED_ARRAY_H_
+#ifndef COURGETTE_THIRD_PARTY_BSDIFF_PAGED_ARRAY_H_
+#define COURGETTE_THIRD_PARTY_BSDIFF_PAGED_ARRAY_H_
#include <stddef.h>
@@ -19,7 +19,7 @@
namespace courgette {
// PagedArray implements an array stored using many fixed-size pages.
-template<typename T>
+template <typename T>
class PagedArray {
enum {
// Page size in elements. Page size of 2^18 * sizeof(T) is 1MB for T = int.
@@ -80,5 +80,6 @@ class PagedArray {
DISALLOW_COPY_AND_ASSIGN(PagedArray);
};
-} // namespace
-#endif // COURGETTE_BSDIFF_PAGED_ARRAY_H_
+
+} // namespace courgette
+#endif // COURGETTE_THIRD_PARTY_BSDIFF_PAGED_ARRAY_H_
« no previous file with comments | « courgette/third_party/bsdiff/bsdiff_create.cc ('k') | courgette/third_party/bsdiff/paged_array_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698