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