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

Unified Diff: net/data/cache_tests/list_loop/contents.txt

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « net/data/cache_tests/insert_one3/index ('k') | net/data/cache_tests/list_loop/data_0 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/data/cache_tests/list_loop/contents.txt
diff --git a/net/data/cache_tests/list_loop/contents.txt b/net/data/cache_tests/list_loop/contents.txt
deleted file mode 100644
index fb58b14fe61041f08c87785c48299b00c2d8ebfd..0000000000000000000000000000000000000000
--- a/net/data/cache_tests/list_loop/contents.txt
+++ /dev/null
@@ -1,228 +0,0 @@
-Index header:
-num_entries: 8
-num_bytes: 52
-this_id: 1
-table_len: 64k
-
-head: 0x90000004
-tail: 0x90000000
-
-Address: 0xa0010007
-Address: 0xa0010003
-Address: 0xa001000b
-Address: 0xa001000a
-Address: 0xa0010009
-Address: 0xa0010006
-Address: 0xa0010005
-Address: 0xa0010002
-
-
--------------------------------
-
-entry:
-Address: 0xa0010007
-hash: 0xcb30d119
-next: 0
-rankings_node: 0x90000004
-key_len: 5
-long_key: 0
-data_size[0]: 4
-data_addr[0]: 0xa0010008
-key: "fifth"
-
-rankings:
-Address: 0x90000004
-next: 0x90000001
-prev: 0x90000004
-contents: 0xa0010007
-dirty: 0
-pointer: 0
-
--------------------------------
-
-entry:
-Address: 0xa0010003
-hash: 0x090fbce3
-next: 0
-rankings_node: 0x90000001
-key_len: 6
-long_key: 0
-data_size[0]: 4
-data_addr[0]: 0xa0010004
-key: "second"
-
-rankings:
-Address: 0x90000001
-next: 0x90000007
-prev: 0x90000004
-contents: 0xa0010003
-dirty: 0
-pointer: 0
-
--------------------------------
-
-entry:
-Address: 0xa001000b
-hash: 0xad80b702
-next: 0
-rankings_node: 0x90000007
-key_len: 5
-long_key: 0
-data_size: 0's
-data_addr: 0's
-key: "eight"
-
-rankings:
-Address: 0x90000007
-next: 0x90000006
-prev: 0x90000001
-contents: 0xa001000b
-dirty: 0
-pointer: 0
-
--------------------------------
-
-entry:
-Address: 0xa001000a
-hash: 0xfdae1d2a
-next: 0
-rankings_node: 0x90000006
-key_len: 7
-long_key: 0
-data_size: 0's
-data_addr: 0's
-key: "seventh"
-
-rankings:
-Address: 0x90000006
-next: 0x90000005
-prev: 0x90000007
-contents: 0xa001000a
-dirty: 0
-pointer: 0
-
--------------------------------
-
-entry:
-Address: 0xa0010009
-hash: 0x2129e026
-next: 0
-rankings_node: 0x90000005
-key_len: 5
-long_key: 0
-data_size: 0's
-data_addr: 0's
-key: "sixth"
-
-rankings:
-Address: 0x90000005
-next: 0x90000003
-prev: 0x90000006
-contents: 0xa0010009
-dirty: 0
-pointer: 0
-
--------------------------------
-
-entry:
-Address: 0xa0010006
-hash: 0x3d9011cc
-next: 0
-rankings_node: 0x90000003
-key_len: 6
-long_key: 0
-data_size: 0's
-data_addr: 0's
-key: "fourth"
-
-rankings:
-Address: 0x90000003
-next: 0x90000002
-prev: 0x90000005
-contents: 0xa0010006
-dirty: 0
-pointer: 0
-
--------------------------------
-
-entry:
-Address: 0xa0010005
-hash: 0x8f04b77c
-next: 0
-rankings_node: 0x90000002
-key_len: 5
-long_key: 0
-data_size: 0's
-data_addr: 0's
-key: "third"
-
-rankings:
-Address: 0x90000002
-next: 0x90000001 <--------- wrong
-prev: 0x90000003
-contents: 0xa0010005
-dirty: 0
-pointer: 0
-
--------------------------------
-
-entry:
-Address: 0xa0010002
-hash: 0x0138974a
-next: 0
-rankings_node: 0x90000000
-key_len: 5
-long_key: 0
-data_size: 0's
-data_addr: 0's
-key: "first"
-
-rankings:
-Address: 0x90000000
-next: 0x90000000
-prev: 0x90000002
-contents: 0xa0010002
-dirty: 0
-pointer: 0
-
-==============================
-
-Generated with:
-
-disk_cache::Entry *entry;
-ASSERT_TRUE(cache_->CreateEntry("first", &entry));
-entry->Close();
-
-char buffer[] = "abcd";
-ASSERT_TRUE(cache_->CreateEntry("second", &entry));
-entry->WriteData(0, 0, buffer, 4, NULL, false);
-entry->Close();
-
-ASSERT_TRUE(cache_->CreateEntry("third", &entry));
-entry->Close();
-
-ASSERT_TRUE(cache_->CreateEntry("fourth", &entry));
-entry->Close();
-
-ASSERT_TRUE(cache_->CreateEntry("fifth", &entry));
-entry->WriteData(0, 0, buffer, 4, NULL, false);
-entry->Close();
-
-ASSERT_TRUE(cache_->CreateEntry("sixth", &entry));
-entry->Close();
-
-ASSERT_TRUE(cache_->CreateEntry("seventh", &entry));
-entry->Close();
-
-ASSERT_TRUE(cache_->CreateEntry("eight", &entry));
-entry->Close();
-
-ASSERT_TRUE(cache_->OpenEntry("second", &entry));
-entry->ReadData(0, 0, buffer, 4, NULL); <--- fix the values*
-entry->Close();
-
-ASSERT_TRUE(cache_->OpenEntry("fifth", &entry));
-entry->ReadData(0, 0, buffer, 4, NULL);
-entry->Close();
-
-* break on Rankings::Remove() and edit the values before they are saved.
« no previous file with comments | « net/data/cache_tests/insert_one3/index ('k') | net/data/cache_tests/list_loop/data_0 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698