?? test.irel
字號:
## This is the test script for the inode relocation table.## Copyright 1997 by Theodore Ts'o. This file may be redistributed # under the terms of the GNU Public License.##irel_dumpirel_put 2 11 3irel_put 1 10 2irel_put 3 9 1irel_add_ref 1 4 128irel_add_ref 1 5 64## Check to see what happens if we add too many references#irel_add_ref 1 6 512## Try resizing the number of references and retry the add#irel_put 1 8 3irel_add_ref 1 6 512#irel_add_ref 2 4 64## Test boundary cases of irel_put#irel_put 23 12 1irel_put 24 13 1## Test other boundary cases....#irel_get 24irel_delete 24## Test retrivals#irel_get 3irel_get 1## Test the iterator functions#irel_start_iterirel_nextirel_nextirel_nextirel_next## Now try the delete function, on existing and non-existent entries#irel_delete 2irel_delete 2irel_delete 4## Move tests...#irel_move 1 2irel_dumpirel_delete 4irel_move 1 4irel_move 2 4## Get by orig tests#irel_dumpirel_get_by_orig 3irel_get_by_orig 1irel_get_by_orig 5irel_get_by_orig 2
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -