Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of about 10,000 for String2 (0.33 sec)

  1. src/runtime/string_test.go

    		if string(b) != s {
    			t.Fatalf("strings are not equal: '%v' and '%v'", string(b), s)
    		}
    		if string(b) < s {
    			t.Fatalf("strings are not equal: '%v' and '%v'", string(b), s)
    		}
    		if string(b) > s {
    			t.Fatalf("strings are not equal: '%v' and '%v'", string(b), s)
    		}
    		if string(b) == s {
    		} else {
    			t.Fatalf("strings are not equal: '%v' and '%v'", string(b), s)
    		}
    		if string(b) <= s {
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 13 14:05:23 UTC 2022
    - 13.3K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/cc_op_gen_util.cc

          }
        }
      }
    
      if (!aliases.empty()) {
        strings::StrAppend(&comment, "\nAliases:\n");
        for (const auto& alias : aliases) {
          strings::StrAppend(&comment, "* ", alias, "\n");
        }
      }
      comment = MakeComment(comment, "");
    }
    
    string OpInfo::GetOpAttrStruct() const {
      string struct_fields;
      string setters;
      string defaults_static_storage;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/cc_op_gen.cc

      string class_def;
      strings::StrAppend(
          &class_def,
          GetConstructorDecl(op_info, strings::StrCat(op_info.op_name, "::"),
                             /* include_attr */ true),
          " {\n");
      strings::StrAppend(&class_def, GetConstructorBody(op_info));
      strings::StrAppend(&class_def, "}\n\n");
    
      if (op_info.has_optional_attrs) {
        strings::StrAppend(
            &class_def,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 17:22:47 UTC 2023
    - 17K bytes
    - Viewed (0)
  4. src/cmd/go/internal/load/godebug.go

    		m = defaults
    	}
    
    	var keys []string
    	for k := range m {
    		keys = append(keys, k)
    	}
    	sort.Strings(keys)
    	var b strings.Builder
    	for _, k := range keys {
    		if b.Len() > 0 {
    			b.WriteString(",")
    		}
    		b.WriteString(k)
    		b.WriteString("=")
    		b.WriteString(m[k])
    	}
    	return b.String()
    }
    
    func godebugForGoVersion(v string) map[string]string {
    	if strings.Count(v, ".") >= 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. src/mime/mediatype.go

    // attribute to the attribute value with its case preserved.
    func ParseMediaType(v string) (mediatype string, params map[string]string, err error) {
    	base, _, _ := strings.Cut(v, ";")
    	mediatype = strings.TrimSpace(strings.ToLower(base))
    
    	err = checkMediaTypeDisposition(mediatype)
    	if err != nil {
    		return "", nil, err
    	}
    
    	params = make(map[string]string)
    
    	// Map of base parameter name -> parameter name -> value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. src/cmd/go/internal/str/str.go

    		if 'A' <= r && r <= 'Z' {
    			r += 'a' - 'A'
    		}
    		b.WriteRune(r)
    	}
    	return b.String()
    }
    
    // FoldDup reports a pair of strings from the list that are
    // equal according to strings.EqualFold.
    // It returns "", "" if there are no such strings.
    func FoldDup(list []string) (string, string) {
    	clash := map[string]string{}
    	for _, s := range list {
    		fold := ToFold(s)
    		if t := clash[fold]; t != "" {
    			if s > t {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 20:08:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen.cc

                        }));
    }
    
    string FuzzerFileStart() {
      const string fuzz_namespace_begin = R"namespace(
    namespace tensorflow {
    namespace fuzzing {
    
    )namespace";
    
      const string fuzz_header = strings::StrCat(
          R"include(// This file is MACHINE GENERATED! Do not edit.
    
    #include "tensorflow/cc/ops/const_op.h"
    #include "tensorflow/cc/ops/standard_ops.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 27 16:26:51 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/gnu.go

    			return strings.ToLower("b." + inst.Args[0].String() + " " + inst.Args[1].String())
    		}
    	case SYSL:
    		result := strings.ToLower(inst.String())
    		return strings.Replace(result, "c", "C", -1)
    	case DCPS1, DCPS2, DCPS3, CLREX:
    		return strings.ToLower(strings.TrimSpace(inst.String()))
    	case ISB:
    		if strings.Contains(inst.String(), "SY") {
    			result := strings.TrimSuffix(inst.String(), " SY")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 17:57:48 UTC 2017
    - 1K bytes
    - Viewed (0)
  9. pilot/pkg/networking/telemetry/telemetry.go

    func BuildStatPrefix(statPattern string, host string, subset string, port *model.Port, targetPort int, attributes *model.ServiceAttributes) string {
    	prefix := strings.ReplaceAll(statPattern, serviceStatPattern, shortHostName(host, attributes))
    	prefix = strings.ReplaceAll(prefix, serviceFQDNStatPattern, host)
    	prefix = strings.ReplaceAll(prefix, subsetNameStatPattern, subset)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 02:38:43 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. cmd/signature-v4-parser.go

    func parseCredentialHeader(credElement string, region string, stype serviceType) (ch credentialHeader, aec APIErrorCode) {
    	creds := strings.SplitN(strings.TrimSpace(credElement), "=", 2)
    	if len(creds) != 2 {
    		return ch, ErrMissingFields
    	}
    	if creds[0] != "Credential" {
    		return ch, ErrMissingCredTag
    	}
    	credElements := strings.Split(strings.TrimSpace(creds[1]), SlashSeparator)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top