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

Side by Side Diff: courgette/third_party/bsdiff_create.cc

Issue 1855133002: convert //courgette to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update comment in memory_allocator.h Created 4 years, 8 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
« no previous file with comments | « courgette/program_detector.cc ('k') | courgette/third_party/qsufsort_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 bsdiff.c -- Binary patch generator. 2 bsdiff.c -- Binary patch generator.
3 3
4 Copyright 2003 Colin Percival 4 Copyright 2003 Colin Percival
5 5
6 For the terms under which this work may be distributed, please see 6 For the terms under which this work may be distributed, please see
7 the adjoining file "LICENSE". 7 the adjoining file "LICENSE".
8 8
9 ChangeLog: 9 ChangeLog:
10 2005-05-05 - Use the modified header struct from bspatch.h; use 32-bit 10 2005-05-05 - Use the modified header struct from bspatch.h; use 32-bit
(...skipping 16 matching lines...) Expand all
27 */ 27 */
28 28
29 #include "courgette/third_party/bsdiff.h" 29 #include "courgette/third_party/bsdiff.h"
30 30
31 #include <stddef.h> 31 #include <stddef.h>
32 #include <stdint.h> 32 #include <stdint.h>
33 #include <stdlib.h> 33 #include <stdlib.h>
34 #include <algorithm> 34 #include <algorithm>
35 35
36 #include "base/logging.h" 36 #include "base/logging.h"
37 #include "base/memory/scoped_ptr.h"
38 #include "base/strings/string_util.h" 37 #include "base/strings/string_util.h"
39 #include "base/time/time.h" 38 #include "base/time/time.h"
40 39
41 #include "courgette/crc.h" 40 #include "courgette/crc.h"
42 #include "courgette/streams.h" 41 #include "courgette/streams.h"
43 #include "courgette/third_party/paged_array.h" 42 #include "courgette/third_party/paged_array.h"
44 #include "courgette/third_party/qsufsort.h" 43 #include "courgette/third_party/qsufsort.h"
45 44
46 namespace courgette { 45 namespace courgette {
47 46
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 << " extra bytes: " << extra_bytes_length 297 << " extra bytes: " << extra_bytes_length
299 << "\nUncompressed bsdiff patch size " 298 << "\nUncompressed bsdiff patch size "
300 << patch_stream->Length() - initial_patch_stream_length 299 << patch_stream->Length() - initial_patch_stream_length
301 << "\nEnd bsdiff " 300 << "\nEnd bsdiff "
302 << (base::Time::Now() - start_bsdiff_time).InSecondsF(); 301 << (base::Time::Now() - start_bsdiff_time).InSecondsF();
303 302
304 return OK; 303 return OK;
305 } 304 }
306 305
307 } // namespace courgette 306 } // namespace courgette
OLDNEW
« no previous file with comments | « courgette/program_detector.cc ('k') | courgette/third_party/qsufsort_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698