Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for LastIndexRabinKarp (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/bytes/bytes.go

    	case n == 1:
    		return bytealg.LastIndexByte(s, sep[0])
    	case n == len(s):
    		if Equal(s, sep) {
    			return 0
    		}
    		return -1
    	case n > len(s):
    		return -1
    	}
    	return bytealg.LastIndexRabinKarp(s, sep)
    }
    
    // LastIndexByte returns the index of the last instance of c in s, or -1 if c is not present in s.
    func LastIndexByte(s []byte, c byte) int {
    	return bytealg.LastIndexByte(s, c)
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 12 17:56:55 GMT 2026
    - 36.3K bytes
    - Click Count (0)
Back to Top