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

Unified Diff: courgette/third_party/qsufsort_unittest.cc

Issue 1288703002: [Courgette] Optimize QSufSort to speed up courgette-gen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments and spacing. Created 5 years, 4 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/qsufsort.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/third_party/qsufsort_unittest.cc
diff --git a/courgette/third_party/qsufsort_unittest.cc b/courgette/third_party/qsufsort_unittest.cc
index 9eb6720f7aaf17ba8accf5f86d5a169f83ea80a1..675eac4aad562ff5d490210c127a68325a4883ed 100644
--- a/courgette/third_party/qsufsort_unittest.cc
+++ b/courgette/third_party/qsufsort_unittest.cc
@@ -116,7 +116,7 @@ TEST(QSufSortTest, Search) {
// Perform the search.
int pos = 0;
int match_len = courgette::qsuf::search(
- &I[0], old_buf, old_size, new_buf, new_size, 0, old_size, &pos);
+ &I[0], old_buf, old_size, new_buf, new_size, &pos);
// Check basic properties and match with expected values.
EXPECT_GE(match_len, 0) << "test_case[" << idx << "]";
« no previous file with comments | « courgette/third_party/qsufsort.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698