Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for wildcardHostsMap (0.17 sec)

  1. pilot/pkg/model/config_test.go

    	}
    
    	for _, bm := range benchmarks {
    		bm.specificHostsMap = sets.NewWithLength[host.Name](bm.time)
    		bm.wildcardHostsMap = sets.NewWithLength[host.Name](bm.time)
    
    		for i := 1; i <= bm.time; i++ {
    			h := host.Name(bm.baseHost + "." + strconv.Itoa(i))
    			if h.IsWildCarded() {
    				bm.wildcardHostsMap.Insert(h)
    			} else {
    				bm.specificHostsMap.Insert(h)
    			}
    		}
    
    		b.Run(bm.name, func(b *testing.B) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 20 12:54:10 UTC 2023
    - 19K bytes
    - Viewed (0)
Back to top