summaryrefslogtreecommitdiff
path: root/chromium/net/data/cache_tests/list_loop3/contents.txt
blob: f359067a3b69350c8158a8343389aa6fec8581b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
Index file:
magic: c103cac3
version: 2.0
entries: 5
total bytes: 66
last file number: 0
current id: 1
table length: 65536
last crash: 1
experiment: 0
head 0: 0x90000004
tail 0: 0x90000000
size 0: 0x0
head 1: 0x0
tail 1: 0x0
size 1: 0x0
head 2: 0x0
tail 2: 0x0
size 2: 0x0
head 3: 0x0
tail 3: 0x0
size 3: 0x0
head 4: 0x0
tail 4: 0x0
size 4: 0x0
transaction: 0x0
operation: 0
operation list: 0
-------------------------

Block file: data_0
magic: c104cac3
version: 2.0
file id: 0
next file id: 0
entry size: 36
current entries: 5
max entries: 1024
updating: 0
empty sz 1: 0
empty sz 2: 0
empty sz 3: 1
empty sz 4: 254
user 0: 0x0
user 1: 0x0
user 2: 0x0
user 3: 0x0
-------------------------

Block file: data_1
magic: c104cac3
version: 2.0
file id: 1
next file id: 0
entry size: 256
current entries: 6
max entries: 1024
updating: 0
empty sz 1: 1
empty sz 2: 0
empty sz 3: 0
empty sz 4: 254
user 0: 0x0
user 1: 0x0
user 2: 0x0
user 3: 0x0
-------------------------

Block file: data_2
magic: c104cac3
version: 2.0
file id: 2
next file id: 0
entry size: 1024
current entries: 0
max entries: 0
updating: 0
empty sz 1: 0
empty sz 2: 0
empty sz 3: 0
empty sz 4: 0
user 0: 0x0
user 1: 0x0
user 2: 0x0
user 3: 0x0
-------------------------

Block file: data_3
magic: c104cac3
version: 2.0
file id: 3
next file id: 0
entry size: 4096
current entries: 0
max entries: 0
updating: 0
empty sz 1: 0
empty sz 2: 0
empty sz 3: 0
empty sz 4: 0
user 0: 0x0
user 1: 0x0
user 2: 0x0
user 3: 0x0
-------------------------

Entry at 0xa0010002
hash: 0xc24ac438
next entry: 0xa0010003
rankings: 0x90000000
key length: 13
key: "The first key"
key addr: 0x0
reuse count: 0
refetch count: 0
state: 0
data size 0: 0
data addr 0: 0x0
data size 1: 0
data addr 1: 0x0
data size 2: 0
data addr 2: 0x0
data size 3: 0
data addr 3: 0x0
----------

Rankings at 0x90000000
next: 0x90000000
prev: 0x90000001
entry: 0xa0010002
dirty: 0
pointer: 0x0
----------

Entry at 0xa0010003
hash: 0xb16af282
next entry: 0xa0010004
rankings: 0x90000001
key length: 14
key: "The Second key"
key addr: 0x0
reuse count: 0
refetch count: 0
state: 0
data size 0: 0
data addr 0: 0x0
data size 1: 0
data addr 1: 0x0
data size 2: 0
data addr 2: 0x0
data size 3: 0
data addr 3: 0x0
----------

Rankings at 0x90000001
next: 0x90000000
prev: 0x90000002
entry: 0xa0010003
dirty: 0
pointer: 0x0
----------

Entry at 0xa0010004
hash: 0x90efd732
next entry: 0xa0010005
rankings: 0x90000002
key length: 13
key: "The third key"
key addr: 0x0
reuse count: 0
refetch count: 0
state: 0
data size 0: 0
data addr 0: 0x0
data size 1: 0
data addr 1: 0x0
data size 2: 0
data addr 2: 0x0
data size 3: 0
data addr 3: 0x0
----------

Rankings at 0x90000002
next: 0x90000001
prev: 0x90000003
entry: 0xa0010004
dirty: 0
pointer: 0x0
----------

Entry at 0xa0010005
hash: 0x147cc398
next entry: 0xa0010006
rankings: 0x90000003
key length: 13
key: "The Fouth key"
key addr: 0x0
reuse count: 0
refetch count: 0
state: 0
data size 0: 0
data addr 0: 0x0
data size 1: 0
data addr 1: 0x0
data size 2: 0
data addr 2: 0x0
data size 3: 0
data addr 3: 0x0
----------

Rankings at 0x90000003
next: 0x90000002
prev: 0x90000004
entry: 0xa0010005
dirty: 0
pointer: 0x0
----------

Entry at 0xa0010006
hash: 0x9d910c3c
next entry: 0xa0010002
rankings: 0x90000004
key length: 13
key: "The fifth key"
key addr: 0x0
reuse count: 0
refetch count: 0
state: 0
data size 0: 0
data addr 0: 0x0
data size 1: 0
data addr 1: 0x0
data size 2: 0
data addr 2: 0x0
data size 3: 0
data addr 3: 0x0
----------

Rankings at 0x90000004
next: 0x90000003
prev: 0x90000004
entry: 0xa0010006
dirty: 1
pointer: 0x0

================================

Generated with:

  SetMask(0x1);  // 2-entry table.
  SetMaxSize(0x3000);  // 12 kB.
  InitCache();

  disk_cache::Entry* entry;

  ASSERT_EQ(net::OK, CreateEntry("The first key", &entry));
  entry->Close();
  ASSERT_EQ(net::OK, CreateEntry("The Second key", &entry));
  entry->Close();
  ASSERT_EQ(net::OK, CreateEntry("The third key", &entry));
  entry->Close();
  ASSERT_EQ(net::OK, CreateEntry("The Fouth key", &entry));
  entry->Close();
  ASSERT_EQ(net::OK, CreateEntry("The fifth key", &entry));  <---- Loop it to the first one.
  entry->Close();