Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for lookupAll (0.08 sec)

  1. src/index/suffixarray/suffixarray.go

    func (x *Index) Bytes() []byte {
    	return x.data
    }
    
    func (x *Index) at(i int) []byte {
    	return x.data[x.sa.get(i):]
    }
    
    // lookupAll returns a slice into the matching region of the index.
    // The runtime is O(log(N)*len(s)).
    func (x *Index) lookupAll(s []byte) ints {
    	// find matching suffix index range [i:j]
    	// find the first index where s would be the prefix
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. pkg/credentialprovider/keyring_test.go

    func TestKeyringMiss(t *testing.T) {
    	tests := []struct {
    		globURL   string
    		lookupURL string
    	}{
    		{
    			globURL:   "https://hello.kubernetes.io",
    			lookupURL: "world.mesos.org/foo/bar",
    		},
    		{
    			globURL:   "https://*.docker.com",
    			lookupURL: "prefix.docker.io",
    		},
    		{
    			globURL:   "https://suffix.*.io",
    			lookupURL: "prefix.docker.io",
    		},
    		{
    			globURL:   "https://prefix.docker.c*",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 15 10:47:22 UTC 2023
    - 15.1K bytes
    - Viewed (0)
Back to top