| 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_
|
|
|