Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 6,622 for stringy (0.08 sec)

  1. pkg/config/analysis/analyzers/gateway/conflictinggateway.go

    func initGatewaysMap(ctx analysis.Context) map[string]map[string][]string {
    	gwConflictingMap := make(map[string]map[string][]string)
    	ctx.ForEach(gvk.Gateway, func(r *resource.Instance) bool {
    		gw := r.Message.(*v1alpha3.Gateway)
    		gwName := r.Metadata.FullName.String()
    
    		gwSelector := klabels.SelectorFromSet(gw.GetSelector())
    		sGWSelector := gwSelector.String()
    		for _, server := range gw.GetServers() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/module/module.go

    func PathMajorPrefix(pathMajor string) string {
    	if pathMajor == "" {
    		return ""
    	}
    	if pathMajor[0] != '/' && pathMajor[0] != '.' {
    		panic("pathMajor suffix " + pathMajor + " passed to PathMajorPrefix lacks separator")
    	}
    	if strings.HasPrefix(pathMajor, ".v") && strings.HasSuffix(pathMajor, "-unstable") {
    		pathMajor = strings.TrimSuffix(pathMajor, "-unstable")
    	}
    	m := pathMajor[1:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  3. src/internal/trace/raw/textreader.go

    		}
    	}
    	return args, nil
    }
    
    func readArg(s string) (arg string, value uint64, rest string, err error) {
    	var tok string
    	tok, rest = readToken(s)
    	if len(tok) == 0 {
    		return "", 0, s, fmt.Errorf("no argument")
    	}
    	parts := strings.SplitN(tok, "=", 2)
    	if len(parts) < 2 {
    		return "", 0, s, fmt.Errorf("malformed argument: %q", tok)
    	}
    	arg = parts[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. fastapi/param_functions.py

        min_length: Annotated[
            Optional[int],
            Doc(
                """
                Minimum length for strings.
                """
            ),
        ] = None,
        max_length: Annotated[
            Optional[int],
            Doc(
                """
                Maximum length for strings.
                """
            ),
        ] = None,
        pattern: Annotated[
            Optional[str],
            Doc(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/net/http/httpproxy/proxy.go

    		port = portMap[url.Scheme]
    	}
    	return net.JoinHostPort(addr, port)
    }
    
    // Given a string of the form "host", "host:port", or "[ipv6::address]:port",
    // return true if the string includes a port.
    func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") }
    
    func idnaASCII(v string) (string, error) {
    	// TODO: Consider removing this check after verifying performance is okay.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. src/strconv/doc.go

    // license that can be found in the LICENSE file.
    
    // Package strconv implements conversions to and from string representations
    // of basic data types.
    //
    // # Numeric Conversions
    //
    // The most common numeric conversions are [Atoi] (string to int) and [Itoa] (int to string).
    //
    //	i, err := strconv.Atoi("-42")
    //	s := strconv.Itoa(-42)
    //
    // These assume decimal and the Go int type.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. pkg/security/security.go

    func SdsCertificateConfigFromResourceName(resource string) (SdsCertificateConfig, bool) {
    	if strings.HasPrefix(resource, "file-cert:") {
    		filesString := strings.TrimPrefix(resource, "file-cert:")
    		split := strings.Split(filesString, ResourceSeparator)
    		if len(split) != 2 {
    			return SdsCertificateConfig{}, false
    		}
    		return SdsCertificateConfig{split[0], split[1], ""}, true
    	} else if strings.HasPrefix(resource, "file-root:") {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  8. pkg/kube/inject/validate.go

    }
    
    func splitPorts(portsString string) []string {
    	return strings.Split(portsString, ",")
    }
    
    func parsePort(portStr string) (int, error) {
    	port, err := strconv.ParseUint(strings.TrimSpace(portStr), 10, 16)
    	if err != nil {
    		return 0, fmt.Errorf("failed parsing port '%s': %v", portStr, err)
    	}
    	return int(port), nil
    }
    
    func parsePorts(portsString string) ([]int, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/codehost/git.go

    			return
    		}
    
    		refs := make(map[string]string)
    		for _, line := range strings.Split(string(out), "\n") {
    			f := strings.Fields(line)
    			if len(f) != 2 {
    				continue
    			}
    			if f[1] == "HEAD" || strings.HasPrefix(f[1], "refs/heads/") || strings.HasPrefix(f[1], "refs/tags/") {
    				refs[f[1]] = f[0]
    			}
    		}
    		for ref, hash := range refs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/op_stat_pass.cc

    #include <algorithm>
    #include <cstdint>
    #include <memory>
    #include <string>
    #include <vector>
    
    #include "absl/container/flat_hash_map.h"
    #include "absl/log/log.h"
    #include "absl/strings/ascii.h"
    #include "absl/strings/match.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/str_format.h"
    #include "absl/strings/str_split.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/STLExtras.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top