Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 6,622 for stringy (0.31 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-string.h

    #endif
    
      // Compares two C strings.  Returns true iff they have the same content.
      //
      // Unlike strcmp(), this function can handle NULL argument(s).  A
      // NULL C string is considered different to any non-NULL C string,
      // including the empty string.
      static bool CStringEquals(const char* lhs, const char* rhs);
    
      // Converts a wide C string to a String using the UTF-8 encoding.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. src/net/netip/netip.go

    // splitAddrPort splits s into an IP address string and a port
    // string. It splits strings shaped like "foo:bar" or "[foo]:bar",
    // without further validating the substrings. v6 indicates whether the
    // ip string should parse as an IPv6 address or an IPv4 address, in
    // order for s to be a valid ip:port string.
    func splitAddrPort(s string) (ip, port string, v6 bool, err error) {
    	i := bytealg.LastIndexByteString(s, ':')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  3. clause/where.go

    					if e, ok := v.Exprs[0].(Expr); ok {
    						sql := strings.ToUpper(e.SQL)
    						wrapInParentheses = strings.Contains(sql, AndWithSpace) || strings.Contains(sql, OrWithSpace)
    					}
    				}
    			case AndConditions:
    				if len(v.Exprs) == 1 {
    					if e, ok := v.Exprs[0].(Expr); ok {
    						sql := strings.ToUpper(e.SQL)
    						wrapInParentheses = strings.Contains(sql, AndWithSpace) || strings.Contains(sql, OrWithSpace)
    					}
    				}
    			case Expr:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go

    			// incorrectly flag "comments" inside multiline
    			// string constants or anything else (this might
    			// not even be a Go program). So stop.
    			break
    		}
    	}
    }
    
    func (check *checker) comment(pos token.Pos, text string) {
    	if strings.HasPrefix(text, "//") {
    		if strings.Contains(text, "+build") {
    			check.plusBuildLine(pos, text)
    		}
    		if strings.Contains(text, "//go:build") {
    			check.goBuildLine(pos, text)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. istioctl/pkg/proxystatus/proxystatus_test.go

    type execTestCase struct {
    	args     []string
    	revision string
    	noIstiod bool
    
    	// Typically use one of the three
    	expectedOutput string // Expected constant output
    	expectedString string // String output is expected to contain
    
    	wantException bool
    }
    
    func TestProxyStatus(t *testing.T) {
    	cases := []execTestCase{
    		{ // case 0, with no Isitod instance
    			args:           []string{},
    			noIstiod:       true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go

    		}
    	}
    	return nil
    }
    
    func checkArguments(fields []string) error {
    	for _, arg := range fields[1:] {
    		for _, elem := range strings.Split(arg, ",") {
    			if strings.HasPrefix(elem, "!!") {
    				return fmt.Errorf("invalid double negative in build constraint: %s", arg)
    			}
    			elem = strings.TrimPrefix(elem, "!")
    			for _, c := range elem {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/crypto/purego_test.go

    	}
    	pkgs := strings.Split(strings.TrimSpace(string(out)), "\n")
    
    	cmd = exec.Command(testenv.GoToolPath(t), "tool", "dist", "list")
    	cmd.Stderr = os.Stderr
    	out, err = cmd.Output()
    	if err != nil {
    		log.Fatalf("loading architecture list: %v\n%s", err, out)
    	}
    	allGOARCH := make(map[string]bool)
    	for _, pair := range strings.Split(strings.TrimSpace(string(out)), "\n") {
    		GOARCH := strings.Split(pair, "/")[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/profile/encode.go

    }
    
    func addString(strings map[string]int, s string) int64 {
    	i, ok := strings[s]
    	if !ok {
    		i = len(strings)
    		strings[s] = i
    	}
    	return int64(i)
    }
    
    func getString(strings []string, strng *int64, err error) (string, error) {
    	if err != nil {
    		return "", err
    	}
    	s := int(*strng)
    	if s < 0 || s >= len(strings) {
    		return "", errMalformed
    	}
    	*strng = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedDecoder.java

                String string = null;
                if (idx >= strings.length) {
                    String[] grow = new String[strings.length * 3 / 2];
                    System.arraycopy(strings, 0, grow, 0, strings.length);
                    strings = grow;
                } else {
                    string = strings[idx];
                }
                if (string == null) {
                    string = input.readString();
                    strings[idx] = string;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/proginfo.go

    // special characters.
    func ProgramInfo(info *debug.BuildInfo) (goVers, progPath, progVers string) {
    	goVers = info.GoVersion
    	if strings.Contains(goVers, "devel") || strings.Contains(goVers, "-") {
    		goVers = "devel"
    	}
    
    	progPath = info.Path
    	if progPath == "" {
    		progPath = strings.TrimSuffix(filepath.Base(os.Args[0]), ".exe")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:09:33 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top