Make expand_buffer() a non-inline function, so that we can add debug messages. Expandable buffers now don't *always* round up to the next power of two. This allows e.g. loading a 137MB ISO image on a machine with only 256MB RAM...tags/v0.9.3
|
|
||
159 |
|
159 |
|
160 |
|
160 |
|
161 |
|
161 |
|
162 |
|
|
|
163 |
|
|
|
164 |
|
|
|
165 |
|
|
|
166 |
|
|
|
|
162 |
|
|
|
163 |
|
|
|
164 |
|
|
|
165 |
|
|
|
166 |
|
|
167 |
|
167 |
|
168 |
|
168 |
|
169 |
|
169 |
|
170 |
|
|
|
171 |
|
|
|
172 |
|
|
|
|
170 |
|
|
173 |
|
171 |
|
174 |
|
|
|
175 |
|
|
|
176 |
|
|
|
177 |
|
|
|
178 |
|
172 |
|
179 |
|
173 |
|
180 |
|
174 |
|
|
|
||
200 |
|
194 |
|
201 |
|
195 |
|
202 |
|
196 |
|
203 |
|
|
|
204 |
|
|
|
205 |
|
|
|
206 |
|
|
|
207 |
|
|
|
|
197 |
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
|
|
|
201 |
|
|
208 |
|
202 |
|
209 |
|
203 |
|
210 |
|
204 |
|
211 |
|
205 |
|
212 |
|
206 |
|
213 |
|
|
|
214 |
|
|
|
|
207 |
|
|
|
208 |
|
|
215 |
|
209 |
|
216 |
|
210 |
|
217 |
|
211 |
|
|
|
||
221 |
|
215 |
|
222 |
|
216 |
|
223 |
|
217 |
|
224 |
|
|
|
225 |
|
|
|
|
218 |
|
|
|
219 |
|
|
226 |
|
220 |
|
227 |
|
221 |
|
228 |
|
222 |
|
|
|
||
233 |
|
227 |
|
234 |
|
228 |
|
235 |
|
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 |
|
|
|
||
40 |
|
40 |
|
41 |
|
41 |
|
42 |
|
42 |
|
43 |
|
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
44 |
|
46 |
|
45 |
|
|
|
46 |
|
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
47 |
|
53 |
|
48 |
|
54 |
|
49 |
|
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
50 |
|
58 |
|
51 |
|
59 |
|
52 |
|
60 |
|
|
|
||
101 |
|
101 |
|
102 |
|
102 |
|
103 |
|
103 |
|
104 |
|
|
|
105 |
|
|
|
106 |
|
|
|
107 |
|
|
|
108 |
|
|
|
109 |
|
|
|
110 |
|
|
|
111 |
|
|
|
112 |
|
|
|
113 |
|
|
|
114 |
|
|
|
115 |
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
|
|
|
121 |
|
|
|
122 |
|
|
|
123 |
|
|
|
|
104 |
|
|
124 |
|
105 |
|
125 |
|
106 |
|