Show More
@@ -248,3 +248,97 b' print "non-reserved names, just not hitt' | |||||
248 | show('data/123456789-123456789-123456789-123456789-123456789-' |
|
248 | show('data/123456789-123456789-123456789-123456789-123456789-' | |
249 | '/com/com0/lpt/lpt0/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' |
|
249 | '/com/com0/lpt/lpt0/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |
250 | '123456789-12345') |
|
250 | '123456789-12345') | |
|
251 | ||||
|
252 | print "hashed path with largest untruncated 1st dir" | |||
|
253 | show('data/12345678/-123456789-123456789-123456789-123456789-' | |||
|
254 | 'hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
255 | '123456789-123456') | |||
|
256 | ||||
|
257 | print "hashed path with smallest truncated 1st dir" | |||
|
258 | show('data/123456789/123456789-123456789-123456789-123456789-' | |||
|
259 | 'hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
260 | '123456789-123456') | |||
|
261 | ||||
|
262 | print "hashed path with largest untruncated two dirs" | |||
|
263 | show('data/12345678/12345678/9-123456789-123456789-123456789-' | |||
|
264 | 'hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
265 | '123456789-123456') | |||
|
266 | ||||
|
267 | print "hashed path with smallest truncated two dirs" | |||
|
268 | show('data/123456789/123456789/123456789-123456789-123456789-' | |||
|
269 | 'hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
270 | '123456789-123456') | |||
|
271 | ||||
|
272 | print "hashed path with largest untruncated three dirs" | |||
|
273 | show('data/12345678/12345678/12345678/89-123456789-123456789-' | |||
|
274 | 'hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
275 | '123456789-123456') | |||
|
276 | ||||
|
277 | print "hashed path with smallest truncated three dirs" | |||
|
278 | show('data/123456789/123456789/123456789/123456789-123456789-' | |||
|
279 | 'hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
280 | '123456789-123456') | |||
|
281 | ||||
|
282 | print "hashed path with largest untruncated four dirs" | |||
|
283 | show('data/12345678/12345678/12345678/12345678/789-123456789-' | |||
|
284 | 'hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
285 | '123456789-123456') | |||
|
286 | ||||
|
287 | print "hashed path with smallest truncated four dirs" | |||
|
288 | show('data/123456789/123456789/123456789/123456789/123456789-' | |||
|
289 | 'hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
290 | '123456789-123456') | |||
|
291 | ||||
|
292 | print "hashed path with largest untruncated five dirs" | |||
|
293 | show('data/12345678/12345678/12345678/12345678/12345678/6789-' | |||
|
294 | 'hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
295 | '123456789-123456') | |||
|
296 | ||||
|
297 | print "hashed path with smallest truncated five dirs" | |||
|
298 | show('data/123456789/123456789/123456789/123456789/123456789/' | |||
|
299 | 'hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
300 | '123456789-123456') | |||
|
301 | ||||
|
302 | print "hashed path with largest untruncated six dirs" | |||
|
303 | show('data/12345678/12345678/12345678/12345678/12345678/12345' | |||
|
304 | '678/ed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
305 | '123456789-123456') | |||
|
306 | ||||
|
307 | print "hashed path with smallest truncated six dirs" | |||
|
308 | show('data/123456789/123456789/123456789/123456789/123456789/' | |||
|
309 | '123456789/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
310 | '123456789-123456') | |||
|
311 | ||||
|
312 | print "hashed path with largest untruncated seven dirs" | |||
|
313 | show('data/12345678/12345678/12345678/12345678/12345678/12345' | |||
|
314 | '678/12345678/xxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
315 | '123456789-123456') | |||
|
316 | ||||
|
317 | print "hashed path with smallest truncated seven dirs" | |||
|
318 | show('data/123456789/123456789/123456789/123456789/123456789/' | |||
|
319 | '123456789/123456789/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
320 | '123456789-123456') | |||
|
321 | ||||
|
322 | print "hashed path with largest untruncated eight dirs" | |||
|
323 | print "(directory 8 is dropped because it hits _maxshortdirslen)" | |||
|
324 | show('data/12345678/12345678/12345678/12345678/12345678/12345' | |||
|
325 | '678/12345678/12345678/xxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
326 | '123456789-123456') | |||
|
327 | ||||
|
328 | print "hashed path with smallest truncated eight dirs" | |||
|
329 | print "(directory 8 is dropped because it hits _maxshortdirslen)" | |||
|
330 | show('data/123456789/123456789/123456789/123456789/123456789/' | |||
|
331 | '123456789/123456789/123456789/xxxxxxxxx-xxxxxxxxx-' | |||
|
332 | '123456789-123456') | |||
|
333 | ||||
|
334 | print "hashed path with largest non-dropped directory 8" | |||
|
335 | print "(just not hitting the _maxshortdirslen boundary)" | |||
|
336 | show('data/12345678/12345678/12345678/12345678/12345678/12345' | |||
|
337 | '678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
338 | '123456789-123456') | |||
|
339 | ||||
|
340 | print "hashed path with shortest dropped directory 8" | |||
|
341 | print "(just hitting the _maxshortdirslen boundary)" | |||
|
342 | show('data/12345678/12345678/12345678/12345678/12345678/12345' | |||
|
343 | '678/12345678/123456/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
344 | '123456789-123456') |
@@ -261,3 +261,79 b' non-reserved names, just not hitting lim' | |||||
261 | A = 'data/123456789-123456789-123456789-123456789-123456789-/com/com0/lpt/lpt0/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345' |
|
261 | A = 'data/123456789-123456789-123456789-123456789-123456789-/com/com0/lpt/lpt0/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345' | |
262 | B = 'data/123456789-123456789-123456789-123456789-123456789-/com/com0/lpt/lpt0/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345' |
|
262 | B = 'data/123456789-123456789-123456789-123456789-123456789-/com/com0/lpt/lpt0/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345' | |
263 |
|
263 | |||
|
264 | hashed path with largest untruncated 1st dir | |||
|
265 | A = 'data/12345678/-123456789-123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
266 | B = 'dh/12345678/-123456789-123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxx4e9e9e384d00929a93b6835fbf976eb32321ff3c' | |||
|
267 | ||||
|
268 | hashed path with smallest truncated 1st dir | |||
|
269 | A = 'data/123456789/123456789-123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
270 | B = 'dh/12345678/123456789-123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxx1f4e4ec5f2be76e109bfaa8e31c062fe426d5490' | |||
|
271 | ||||
|
272 | hashed path with largest untruncated two dirs | |||
|
273 | A = 'data/12345678/12345678/9-123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
274 | B = 'dh/12345678/12345678/9-123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxx3332d8329d969cf835542a9f2cbcfb385b6cf39d' | |||
|
275 | ||||
|
276 | hashed path with smallest truncated two dirs | |||
|
277 | A = 'data/123456789/123456789/123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
278 | B = 'dh/12345678/12345678/123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxxx9699559798247dffa18717138859be5f8874840e' | |||
|
279 | ||||
|
280 | hashed path with largest untruncated three dirs | |||
|
281 | A = 'data/12345678/12345678/12345678/89-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
282 | B = 'dh/12345678/12345678/12345678/89-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxf0a2b053bb1369cce02f78c217d6a7aaea18c439' | |||
|
283 | ||||
|
284 | hashed path with smallest truncated three dirs | |||
|
285 | A = 'data/123456789/123456789/123456789/123456789-123456789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
286 | B = 'dh/12345678/12345678/12345678/123456789-123456789-hashed----xxxxxxxxx-xxxxxxxxx-1c6f8284967384ec13985a046d3553179d9d03cd' | |||
|
287 | ||||
|
288 | hashed path with largest untruncated four dirs | |||
|
289 | A = 'data/12345678/12345678/12345678/12345678/789-123456789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
290 | B = 'dh/12345678/12345678/12345678/12345678/789-123456789-hashed----xxxxxxxxx-xxxxxxx0d30c99049d8f0ff97b94d4ef302027e8d54c6fd' | |||
|
291 | ||||
|
292 | hashed path with smallest truncated four dirs | |||
|
293 | A = 'data/123456789/123456789/123456789/123456789/123456789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
294 | B = 'dh/12345678/12345678/12345678/12345678/123456789-hashed----xxxxxxxxx-xxxxxxxxx-x46162779e1a771810b37a737f82ae7ed33771402' | |||
|
295 | ||||
|
296 | hashed path with largest untruncated five dirs | |||
|
297 | A = 'data/12345678/12345678/12345678/12345678/12345678/6789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
298 | B = 'dh/12345678/12345678/12345678/12345678/12345678/6789-hashed----xxxxxxxxx-xxxxxxxbfe752ddc8b003c2790c66a9f2eb1ea75c114390' | |||
|
299 | ||||
|
300 | hashed path with smallest truncated five dirs | |||
|
301 | A = 'data/123456789/123456789/123456789/123456789/123456789/hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
302 | B = 'dh/12345678/12345678/12345678/12345678/12345678/hashed----xxxxxxxxx-xxxxxxxxx-xxb94c27b3532fa880cdd572b1c514785cab7b6ff2' | |||
|
303 | ||||
|
304 | hashed path with largest untruncated six dirs | |||
|
305 | A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/ed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
306 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/ed----xxxxxxxxx-xxxxxxxcd8cc5483a0f3be409e0e5d4bf9e36e113c59235' | |||
|
307 | ||||
|
308 | hashed path with smallest truncated six dirs | |||
|
309 | A = 'data/123456789/123456789/123456789/123456789/123456789/123456789/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
310 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/xxxxxxxxx-xxxxxxxxx-xxx47dd6f616f833a142da00701b334cebbf640da06' | |||
|
311 | ||||
|
312 | hashed path with largest untruncated seven dirs | |||
|
313 | A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/xxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
314 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/xxxxxx-xxxxxxx1c8ed635229fc22efe51035feeadeb4c8a0ecb82' | |||
|
315 | ||||
|
316 | hashed path with smallest truncated seven dirs | |||
|
317 | A = 'data/123456789/123456789/123456789/123456789/123456789/123456789/123456789/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
318 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/xxxxxxxxx-xxxx298ff7d33f8ce6db57930837ffea2fb2f48bb926' | |||
|
319 | ||||
|
320 | hashed path with largest untruncated eight dirs | |||
|
321 | (directory 8 is dropped because it hits _maxshortdirslen) | |||
|
322 | A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345678/xxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
323 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/xxxxxxx-xxxxxxc8996ccd41b471f768057181a4d59d2febe7277d' | |||
|
324 | ||||
|
325 | hashed path with smallest truncated eight dirs | |||
|
326 | (directory 8 is dropped because it hits _maxshortdirslen) | |||
|
327 | A = 'data/123456789/123456789/123456789/123456789/123456789/123456789/123456789/123456789/xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
328 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/xxxxxxxxx-xxxx4fa04a839a6bda93e1c21c713f2edcbd16e8890d' | |||
|
329 | ||||
|
330 | hashed path with largest non-dropped directory 8 | |||
|
331 | (just not hitting the _maxshortdirslen boundary) | |||
|
332 | A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
333 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxx4d43d1ccaa20efbfe99ec779dc063611536ff2c5' | |||
|
334 | ||||
|
335 | hashed path with shortest dropped directory 8 | |||
|
336 | (just hitting the _maxshortdirslen boundary) | |||
|
337 | A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/123456/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
338 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/xxxxxxxxx-xxxx11fa9873cc6c3215eae864528b5530a04efc6cfe' | |||
|
339 |
General Comments 0
You need to be logged in to leave comments.
Login now