Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of about 10,000 for stringy (0.13 sec)

  1. tests/integration/pilot/analyze_test.go

    }
    
    func istioctlWithStderr(t test.Failer, i istioctl.Instance, ns string, useKube bool, extraArgs ...string) (string, string, error) {
    	t.Helper()
    
    	args := []string{"analyze"}
    	if ns != "" {
    		args = append(args, "--namespace", ns)
    	}
    	// Suppress some cluster-wide checks. This ensures we do not fail tests when running on clusters that trigger
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/validation/objectmeta_test.go

    		}
    	}
    
    	nameErrorCases := []struct {
    		annotations map[string]string
    		expect      string
    	}{
    		{map[string]string{"nospecialchars^=@": "bar"}, namePartErrMsg},
    		{map[string]string{"cantendwithadash-": "bar"}, namePartErrMsg},
    		{map[string]string{"only/one/slash": "bar"}, nameErrMsg},
    		{map[string]string{strings.Repeat("a", 254): "bar"}, maxLengthErrMsg},
    	}
    	for i := range nameErrorCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 07 03:12:31 UTC 2022
    - 17.8K bytes
    - Viewed (0)
  3. src/crypto/ecdh/ecdh_test.go

    	for _, match := range regexp.MustCompile(`(?m)T (crypto/.*)$`).FindAllStringSubmatch(nm, -1) {
    		symbol := strings.ToLower(match[1])
    		if strings.Contains(symbol, "p384") {
    			consistent = true
    		}
    		if strings.Contains(symbol, "p224") || strings.Contains(symbol, "p256") || strings.Contains(symbol, "p521") {
    			t.Errorf("unexpected symbol in program using only ecdh.P384: %s", match[1])
    		}
    	}
    	if !consistent {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 18K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/util.go

    		validServingNames = append(validServingNames, ip.String())
    	}
    	validServingNames = append(validServingNames, certificate.DNSNames...)
    	servingString := ""
    	if len(validServingNames) > 0 {
    		servingString = fmt.Sprintf(" validServingFor=[%s]", strings.Join(validServingNames, ","))
    	}
    
    	groupString := ""
    	if len(certificate.Subject.Organization) > 0 {
    		groupString = fmt.Sprintf(" groups=[%s]", strings.Join(certificate.Subject.Organization, ","))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 21 07:29:30 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/example_test.go

    	// 	if tv.Value != nil {
    	// 		tvstr += " = " + tv.Value.String()
    	// 	}
    	// 	// line:col | expr | mode : type = value
    	// 	fmt.Fprintf(&buf, "%2d:%2d | %-19s | %-7s : %s",
    	// 		posn.Line(), posn.Col(), types2.ExprString(expr),
    	// 		mode(tv), tvstr)
    	// 	items = append(items, buf.String())
    	// }
    	// sort.Strings(items)
    	// fmt.Println(strings.Join(items, "\n"))
    
    	// Output:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/resource/v1alpha2/namedresources.go

    	// +listType=atomic
    	Ints []int64 `json:"ints" protobuf:"bytes,1,opt,name=ints"`
    }
    
    // NamedResourcesStringSlice contains a slice of strings.
    type NamedResourcesStringSlice struct {
    	// Strings is the slice of strings.
    	//
    	// +listType=atomic
    	Strings []string `json:"strings" protobuf:"bytes,1,opt,name=strings"`
    }
    
    // NamedResourcesRequest is used in ResourceRequestModel.
    type NamedResourcesRequest struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/gover/mod_test.go

    		mvl(`a v1.1; a v1.2; go 1.2; go 1.3; toolchain 1.2; toolchain 1.3; z v1.1`),
    	},
    }
    
    func mvl(s string) []module.Version {
    	var list []module.Version
    	for _, f := range strings.Split(s, ";") {
    		f = strings.TrimSpace(f)
    		path, vers, _ := strings.Cut(f, " ")
    		list = append(list, module.Version{Path: path, Version: vers})
    	}
    	return list
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 17:51:28 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/authentication/request/bearertoken/bearertoken.go

    func (a *Authenticator) AuthenticateRequest(req *http.Request) (*authenticator.Response, bool, error) {
    	auth := strings.TrimSpace(req.Header.Get("Authorization"))
    	if auth == "" {
    		return nil, false, nil
    	}
    	parts := strings.SplitN(auth, " ", 3)
    	if len(parts) < 2 || strings.ToLower(parts[0]) != "bearer" {
    		return nil, false, nil
    	}
    
    	token := parts[1]
    
    	// Empty bearer tokens aren't valid
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 25 13:22:28 UTC 2022
    - 2K bytes
    - Viewed (0)
  9. src/crypto/internal/hpke/hpke_test.go

    		vals[fields[0]] = fields[1]
    	}
    	return vals
    }
    
    func parseVectorEncryptions(vector string) []map[string]string {
    	vals := []map[string]string{}
    	for _, section := range strings.Split(vector, "\n\n") {
    		e := map[string]string{}
    		for _, l := range strings.Split(section, "\n") {
    			fields := strings.Split(l, ": ")
    			e[fields[0]] = fields[1]
    		}
    		vals = append(vals, e)
    	}
    	return vals
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. test/typeparam/ordered.go

    var strings = []string{"", "Hello", "foo", "bar", "foo", "f00", "%*&^*&^&", "***"}
    
    func TestSortOrderedInts() bool {
    	return testOrdered("ints", ints, sort.Ints)
    }
    
    func TestSortOrderedFloat64s() bool {
    	return testOrdered("float64s", float64s, sort.Float64s)
    }
    
    func TestSortOrderedStrings() bool {
    	return testOrdered("strings", strings, sort.Strings)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 2.2K bytes
    - Viewed (0)
Back to top