?? test.icount
字號:
## This is the test script for the icount abstraction## Copyright 1997 by Theodore Ts'o. This file may be redistributed # under the terms of the GNU Public License.### First let's test the boundary cases for illegal arguments#validatestore 0fetch 0increment 0decrement 0store 20001fetch 20001increment 20001decrement 20001validate## OK, now let's test fetch and store. We also test the boundary cases# for legal inodes here.#fetch 1store 1 1fetch 1store 1 2fetch 1store 1 3fetch 1store 1 1fetch 1store 1 0fetch 1fetch 20000store 20000 0fetch 20000store 20000 3fetch 20000store 20000 0fetch 20000store 20000 42fetch 20000store 20000 1fetch 20000store 20000 0fetch 20000get_size## Time to test increment. First increment from 0 (previously unreferenced)#decrement 2increment 2fetch 2increment 2fetch 2increment 2fetch 2increment 2fetch 2decrement 2fetch 2decrement 2fetch 2decrement 2fetch 2decrement 2decrement 2## Store 1 then test...#store 3 1increment 3fetch 3decrement 3fetch 3decrement 3## Store 0 then test# store 4 0fetch 4increment 4increment 4fetch 4decrement 4decrement 4## Store something, then store 0, then test...#store 4 42store 4 0increment 4increment 4increment 4decrement 4decrement 4decrement 4decrement 4decrement 4## store something, then decrement to zero#store 5 4decrement 5decrement 5decrement 5decrement 5decrement 5## Test insert#get_sizevalidatestore 10 10store 20 20store 30 30store 40 40store 50 50store 60 60store 70 70store 80 80store 90 90store 100 100store 15 15store 25 25store 35 35store 45 45store 55 55store 65 65store 75 75store 85 85store 95 95dumpget_sizevalidate
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -