Chromium Code Reviews| 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_ |