Show More
@@ -337,6 +337,29 b" show('data/12345678/12345678/12345678/12" | |||||
337 | '678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' |
|
337 | '678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |
338 | '123456789-123456') |
|
338 | '123456789-123456') | |
339 |
|
339 | |||
|
340 | print "...adding one truncated char to dir 1..7 won't drop dir 8" | |||
|
341 | show('data/12345678x/12345678/12345678/12345678/12345678/12345' | |||
|
342 | '678/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
343 | '123456789-123456') | |||
|
344 | show('data/12345678/12345678x/12345678/12345678/12345678/12345' | |||
|
345 | '678/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
346 | '123456789-123456') | |||
|
347 | show('data/12345678/12345678/12345678x/12345678/12345678/12345' | |||
|
348 | '678/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
349 | '123456789-123456') | |||
|
350 | show('data/12345678/12345678/12345678/12345678x/12345678/12345' | |||
|
351 | '678/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
352 | '123456789-123456') | |||
|
353 | show('data/12345678/12345678/12345678/12345678/12345678x/12345' | |||
|
354 | '678/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
355 | '123456789-123456') | |||
|
356 | show('data/12345678/12345678/12345678/12345678/12345678/12345' | |||
|
357 | '678x/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
358 | '123456789-123456') | |||
|
359 | show('data/12345678/12345678/12345678/12345678/12345678/12345' | |||
|
360 | '678/12345678x/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
361 | '123456789-123456') | |||
|
362 | ||||
340 | print "hashed path with shortest dropped directory 8" |
|
363 | print "hashed path with shortest dropped directory 8" | |
341 | print "(just hitting the _maxshortdirslen boundary)" |
|
364 | print "(just hitting the _maxshortdirslen boundary)" | |
342 | show('data/12345678/12345678/12345678/12345678/12345678/12345' |
|
365 | show('data/12345678/12345678/12345678/12345678/12345678/12345' |
@@ -332,6 +332,28 b' hashed path with largest non-dropped dir' | |||||
332 | A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' |
|
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' |
|
333 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxx4d43d1ccaa20efbfe99ec779dc063611536ff2c5' | |
334 |
|
334 | |||
|
335 | ...adding one truncated char to dir 1..7 won't drop dir 8 | |||
|
336 | A = 'data/12345678x/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
337 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxx0f9efce65189cc60fd90fe4ffd49d7b58bbe0f2e' | |||
|
338 | ||||
|
339 | A = 'data/12345678/12345678x/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
340 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxx945ca395708cafdd54a94501859beabd3e243921' | |||
|
341 | ||||
|
342 | A = 'data/12345678/12345678/12345678x/12345678/12345678/12345678/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
343 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxxac62bf6898c4fd0502146074547c11caa751a327' | |||
|
344 | ||||
|
345 | A = 'data/12345678/12345678/12345678/12345678x/12345678/12345678/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
346 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxx2ae5a2baed7983fae8974d0ca06c6bf08b9aee92' | |||
|
347 | ||||
|
348 | A = 'data/12345678/12345678/12345678/12345678/12345678x/12345678/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
349 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxx214aba07b6687532a43d1e9eaf6e88cfca96b68c' | |||
|
350 | ||||
|
351 | A = 'data/12345678/12345678/12345678/12345678/12345678/12345678x/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
352 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxxe7a022ae82f0f55cf4e0498e55ba59ea4ebb55bf' | |||
|
353 | ||||
|
354 | A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678x/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
355 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxxb51ce61164996a80f36ce3cfe64b62d519aedae3' | |||
|
356 | ||||
335 | hashed path with shortest dropped directory 8 |
|
357 | hashed path with shortest dropped directory 8 | |
336 | (just hitting the _maxshortdirslen boundary) |
|
358 | (just hitting the _maxshortdirslen boundary) | |
337 | A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/123456/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' |
|
359 | A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/123456/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' |
General Comments 0
You need to be logged in to leave comments.
Login now