Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for abyxcdeyx (0.4 sec)

  1. src/strings/search_test.go

    		},
    		// From https://www.cs.utexas.edu/~moore/publications/fstrpos.pdf
    		{
    			"abcxxxabc",
    			[256]int{'a': 2, 'b': 1, 'c': 6, 'x': 3},
    			[]int{14, 13, 12, 11, 10, 9, 11, 10, 1},
    		},
    		{
    			"abyxcdeyx",
    			[256]int{'a': 8, 'b': 7, 'c': 4, 'd': 3, 'e': 2, 'y': 1, 'x': 5},
    			[]int{17, 16, 15, 14, 13, 12, 7, 10, 1},
    		},
    	}
    
    	for _, tc := range testCases {
    		bad, good := DumpTables(tc.pattern)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 01 21:52:00 UTC 2018
    - 1.9K bytes
    - Viewed (0)
Back to top