• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Index header:
2num_entries: 2
3num_bytes: 27
4this_id: 1
5table_len: 64k
6
7head: 0x90000001
8tail: 0x90000000
9
10Address: 0xa0010002
11Address: 0xa0010003
12
13-------------------------------
14
15entry:
16Address: 0xa0010002
17hash: 0x687d1422
18next: 0
19rankings_node: 0x90000000
20key_len: 13
21long_key: 0
22data_size: 0's
23data_addr: 0's
24key: "the first key"
25
26rankings:
27Address: 0x90000000
28next: 0x90000000
29prev: 0                 <------ wrong
30contents: 0xa0010002
31dirty: 0
32pointer: 0
33
34-------------------------------
35
36entry:
37Address: 0xa0010003
38hash: 0x63909ecb
39next: 0
40rankings_node: 0x90000001
41key_len: 14
42long_key: 0
43data_size: 0's
44data_addr: 0's
45key: "some other key"
46
47rankings:
48Address: 0x90000001
49next: 0x90000000
50prev: 0x90000001
51contents: 0xa0010003
52dirty: 0
53pointer: 0
54
55================================
56
57Generated with:
58
59disk_cache::Entry *entry;
60ASSERT_TRUE(cache_->CreateEntry("the first key", &entry));
61entry->Close();
62
63ASSERT_TRUE(cache_->CreateEntry("some other key", &entry));   <---- Edit value*
64entry->Close();
65
66* Edit the value with the debugger before it is saved to disk.