00000110 needle offset 14
00001010 needle offset 0
00001101 needle offset 15
00010100 needle offset 1
00011010 needle offset 16
00101001 needle offset 2
00101010 needle offset 7
01000001 needle offset 12
01001010 needle offset 5
01010000 needle offset 10
01010010 needle offset 3
01010100 needle offset 8
10000011 needle offset 13
10010101 needle offset 6
10100000 needle offset 11
10100101 needle offset 4
10101000 needle offset 9
The first group to inspect is at position (needle_len - 8): 10111011.
That does not appear in the needle, so apply the maximum shift, which
+is 17 (needle_len - 8 + 1).
Were it present in the needle, then the shift would've been (needle_le
+n - 8 - offset), followed by compare.
???????? ???????? ???????? ???
+????? ???????? ???????? ???????? ????????
0000111010011100101110110111000111101011110011111011111110000000100010
+0100001010010101000001101000110010011000101101010110011011000000
+
000010100101010000011010 Not there; max. shift 17
000010100101010000011010 Not there +17
000010100101010000011010 Not there +
+17
0000101001010100000
+11010 Not there +17
00
+0010100101010000011010 In table +12
+ 000010100101010000011010 Not there +17
+ 000010100101010000011010 Not there +17
+ 000010100101010000011010
+Not there +17
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
code |