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

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: static is needed afterall 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
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 98%
rename from courgette/third_party/paged_array.h
rename to courgette/third_party/bsdiff/paged_array.h
index 48a92f171fb1a804d9947ba419c1b7a60027d7ab..9af1a179c347fb4ab039579693b344c1635c7020 100644
--- a/courgette/third_party/paged_array.h
+++ b/courgette/third_party/bsdiff/paged_array.h
@@ -6,7 +6,7 @@
//
// 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_
huangs 2016/05/13 03:56:47 Should these be modified? I don't know what the co
altimin 2016/05/13 13:16:57 Done.
#define COURGETTE_BSDIFF_PAGED_ARRAY_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
huangs 2016/05/13 03:56:47 NIT: // namespace courgette
altimin 2016/05/13 13:16:57 Done.
#endif // COURGETTE_BSDIFF_PAGED_ARRAY_H_

Powered by Google App Engine
This is Rietveld 408576698