// returns the length of the overlapped prefix between sub and of
returns the length of the overlapped prefix between sub and of
// returns the length of the overlapped prefix between sub and of
func matchPrefix(sub []byte, of []byte) int {
	i := 0
	for ; i < len(sub) && i < len(of); i++ {
		if sub[i] != of[i] {
			break
		}
	}
	return i
}
func matchPrefix ( sub [ ] byte , of [ ] byte ) int { i := 0 for ; i < len ( sub ) && i < len ( of ) ; i ++ { if sub [ i ] != of [ i ] { break } } return i }
returns the length of the overlapped prefix between sub and of
returns the length of the overlapped prefix between sub and of