Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CS (0.16 sec)

  1. src/bytes/bytes_test.go

    	cs := "你好世界, hello world. 你好世界, hello world. 你好世界, hello world."
    	for k := 1; k <= 2048; k <<= 4 {
    		for j := 1; j <= 64; j <<= 1 {
    			b.Run(fmt.Sprintf("%d:%d", k, j), func(b *testing.B) {
    				for i := 0; i < b.N; i++ {
    					LastIndexAny(x[:k], cs[:j])
    				}
    			})
    		}
    	}
    }
    
    func BenchmarkTrimASCII(b *testing.B) {
    	cs := "0123456789abcdef"
    	for k := 1; k <= 4096; k <<= 4 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. istioctl/pkg/describe/describe.go

    				return true
    			}
    		}
    	}
    
    	clusterName := ""
    	switch cs := vhRoute.GetRoute().GetClusterSpecifier().(type) {
    	case *route.RouteAction_Cluster:
    		clusterName = cs.Cluster
    	case *route.RouteAction_WeightedClusters:
    		clusterName = cs.WeightedClusters.Clusters[0].GetName()
    	}
    
    	// If this is an ingress gateway, the Domains will be something like *:80, so check routes
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top