• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Index file:
2magic: c103cac3
3version: 2.0
4entries: 5
5total bytes: 66
6last file number: 0
7current id: 1
8table length: 65536
9last crash: 1
10experiment: 0
11head 0: 0x90000004
12tail 0: 0x90000000
13size 0: 0x0
14head 1: 0x0
15tail 1: 0x0
16size 1: 0x0
17head 2: 0x0
18tail 2: 0x0
19size 2: 0x0
20head 3: 0x0
21tail 3: 0x0
22size 3: 0x0
23head 4: 0x0
24tail 4: 0x0
25size 4: 0x0
26transaction: 0x0
27operation: 0
28operation list: 0
29-------------------------
30
31Block file: data_0
32magic: c104cac3
33version: 2.0
34file id: 0
35next file id: 0
36entry size: 36
37current entries: 5
38max entries: 1024
39updating: 0
40empty sz 1: 0
41empty sz 2: 0
42empty sz 3: 1
43empty sz 4: 254
44user 0: 0x0
45user 1: 0x0
46user 2: 0x0
47user 3: 0x0
48-------------------------
49
50Block file: data_1
51magic: c104cac3
52version: 2.0
53file id: 1
54next file id: 0
55entry size: 256
56current entries: 6
57max entries: 1024
58updating: 0
59empty sz 1: 1
60empty sz 2: 0
61empty sz 3: 0
62empty sz 4: 254
63user 0: 0x0
64user 1: 0x0
65user 2: 0x0
66user 3: 0x0
67-------------------------
68
69Block file: data_2
70magic: c104cac3
71version: 2.0
72file id: 2
73next file id: 0
74entry size: 1024
75current entries: 0
76max entries: 0
77updating: 0
78empty sz 1: 0
79empty sz 2: 0
80empty sz 3: 0
81empty sz 4: 0
82user 0: 0x0
83user 1: 0x0
84user 2: 0x0
85user 3: 0x0
86-------------------------
87
88Block file: data_3
89magic: c104cac3
90version: 2.0
91file id: 3
92next file id: 0
93entry size: 4096
94current entries: 0
95max entries: 0
96updating: 0
97empty sz 1: 0
98empty sz 2: 0
99empty sz 3: 0
100empty sz 4: 0
101user 0: 0x0
102user 1: 0x0
103user 2: 0x0
104user 3: 0x0
105-------------------------
106
107Entry at 0xa0010002
108hash: 0xc24ac438
109next entry: 0xa0010003
110rankings: 0x90000000
111key length: 13
112key: "The first key"
113key addr: 0x0
114reuse count: 0
115refetch count: 0
116state: 0
117data size 0: 0
118data addr 0: 0x0
119data size 1: 0
120data addr 1: 0x0
121data size 2: 0
122data addr 2: 0x0
123data size 3: 0
124data addr 3: 0x0
125----------
126
127Rankings at 0x90000000
128next: 0x90000000
129prev: 0x90000001
130entry: 0xa0010002
131dirty: 0
132pointer: 0x0
133----------
134
135Entry at 0xa0010003
136hash: 0xb16af282
137next entry: 0xa0010004
138rankings: 0x90000001
139key length: 14
140key: "The Second key"
141key addr: 0x0
142reuse count: 0
143refetch count: 0
144state: 0
145data size 0: 0
146data addr 0: 0x0
147data size 1: 0
148data addr 1: 0x0
149data size 2: 0
150data addr 2: 0x0
151data size 3: 0
152data addr 3: 0x0
153----------
154
155Rankings at 0x90000001
156next: 0x90000000
157prev: 0x90000002
158entry: 0xa0010003
159dirty: 0
160pointer: 0x0
161----------
162
163Entry at 0xa0010004
164hash: 0x90efd732
165next entry: 0xa0010005
166rankings: 0x90000002
167key length: 13
168key: "The third key"
169key addr: 0x0
170reuse count: 0
171refetch count: 0
172state: 0
173data size 0: 0
174data addr 0: 0x0
175data size 1: 0
176data addr 1: 0x0
177data size 2: 0
178data addr 2: 0x0
179data size 3: 0
180data addr 3: 0x0
181----------
182
183Rankings at 0x90000002
184next: 0x90000001
185prev: 0x90000003
186entry: 0xa0010004
187dirty: 0
188pointer: 0x0
189----------
190
191Entry at 0xa0010005
192hash: 0x147cc398
193next entry: 0xa0010006
194rankings: 0x90000003
195key length: 13
196key: "The Fouth key"
197key addr: 0x0
198reuse count: 0
199refetch count: 0
200state: 0
201data size 0: 0
202data addr 0: 0x0
203data size 1: 0
204data addr 1: 0x0
205data size 2: 0
206data addr 2: 0x0
207data size 3: 0
208data addr 3: 0x0
209----------
210
211Rankings at 0x90000003
212next: 0x90000002
213prev: 0x90000004
214entry: 0xa0010005
215dirty: 0
216pointer: 0x0
217----------
218
219Entry at 0xa0010006
220hash: 0x9d910c3c
221next entry: 0xa0010002
222rankings: 0x90000004
223key length: 13
224key: "The fifth key"
225key addr: 0x0
226reuse count: 0
227refetch count: 0
228state: 0
229data size 0: 0
230data addr 0: 0x0
231data size 1: 0
232data addr 1: 0x0
233data size 2: 0
234data addr 2: 0x0
235data size 3: 0
236data addr 3: 0x0
237----------
238
239Rankings at 0x90000004
240next: 0x90000003
241prev: 0x90000004
242entry: 0xa0010006
243dirty: 1
244pointer: 0x0
245
246================================
247
248Generated with:
249
250  SetMask(0x1);  // 2-entry table.
251  SetMaxSize(0x3000);  // 12 kB.
252  InitCache();
253
254  disk_cache::Entry* entry;
255
256  ASSERT_EQ(net::OK, CreateEntry("The first key", &entry));
257  entry->Close();
258  ASSERT_EQ(net::OK, CreateEntry("The Second key", &entry));
259  entry->Close();
260  ASSERT_EQ(net::OK, CreateEntry("The third key", &entry));
261  entry->Close();
262  ASSERT_EQ(net::OK, CreateEntry("The Fouth key", &entry));
263  entry->Close();
264  ASSERT_EQ(net::OK, CreateEntry("The fifth key", &entry));  <---- Loop it to the first one.
265  entry->Close();
266