Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 681 for SplitV (0.13 sec)

  1. src/strings/strings_test.go

    	for _, tt := range splittests {
    		a := SplitN(tt.s, tt.sep, tt.n)
    		if !eq(a, tt.a) {
    			t.Errorf("Split(%q, %q, %d) = %v; want %v", tt.s, tt.sep, tt.n, a, tt.a)
    			continue
    		}
    		if tt.n == 0 {
    			continue
    		}
    		s := Join(a, tt.sep)
    		if s != tt.s {
    			t.Errorf("Join(Split(%q, %q, %d), %q) = %q", tt.s, tt.sep, tt.n, tt.sep, s)
    		}
    		if tt.n < 0 {
    			b := Split(tt.s, tt.sep)
    			if !reflect.DeepEqual(a, b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  2. pkg/config/validation/agent/validation.go

    func ValidateWildcardDomain(domain string) error {
    	if err := CheckDNS1123Preconditions(domain); err != nil {
    		return err
    	}
    	// We only allow wildcards in the first label; split off the first label (parts[0]) from the rest of the host (parts[1])
    	parts := strings.SplitN(domain, ".", 2)
    	if !labels.IsWildcardDNS1123Label(parts[0]) {
    		return fmt.Errorf("domain name %q invalid (label %q invalid)", domain, parts[0])
    	} else if len(parts) > 1 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. operator/pkg/compare/compare.go

    	rm := make(map[string]string)
    	if len(rs) == 0 {
    		return rm
    	}
    	for _, r := range strings.Split(rs, ",") {
    		split := strings.Split(r, ":")
    		if len(split) < 4 {
    			rm[r] = ""
    			continue
    		}
    		kind, namespace, name, path := split[0], split[1], split[2], split[3]
    		obj := fmt.Sprintf("%v:%v:%v", kind, namespace, name)
    		rm[obj] = path
    	}
    	return rm
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/ops/gen/common/path_config.cc

                           const string& api_dir_list,
                           const std::vector<string> op_names)
        : output_path(output_dir), op_names(op_names) {
      api_dirs = str_util::Split(api_dir_list, ",", str_util::SkipEmpty());
    
      // Decompose the directory components given the output/source directories.
      //
      // Be flexible; accept any path string with a "tensorflow" directory name.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/init_mlir.cc

      int pass_remainder = 1;
      bool split = false;
      for (int i = 0; i < *argc; ++i) {
        if (llvm::StringRef((*argv)[i]) == kSeparator) {
          pass_remainder = i;
          *argc -= (i + 1);
          split = true;
          break;
        }
      }
    
      tensorflow::port::InitMain((*argv)[0], &pass_remainder, argv);
      if (split) {
        *argc += pass_remainder;
        (*argv)[1] = (*argv)[0];
        ++*argv;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 10:03:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/crypto/internal/hpke/hpke_test.go

    	vals := map[string]string{}
    	for _, l := range strings.Split(vector, "\n") {
    		fields := strings.Split(l, ": ")
    		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, ": ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. pilot/pkg/xds/sds_test.go

    					Key:  string(genericMtlsCertSplit.Data[credentials.GenericScrtKey]),
    					Cert: string(genericMtlsCertSplit.Data[credentials.GenericScrtCert]),
    				},
    				"kubernetes://generic-mtls-split-cacert": {
    					CaCert: string(genericMtlsCertSplitCa.Data[credentials.GenericScrtCaCert]),
    				},
    			},
    		},
    		{
    			name:      "incremental push with updates - mtls split ca update",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/post-quantize.mlir

      func.return %2, %3 : tensor<2xf32>, tensor<2xf32>
    
    // CHECK-NEXT: %[[split:.*]]:4 = "tfl.split"(%arg1, %arg0)
    // CHECK-NEXT: return %[[split]]#0, %[[split]]#1
    
    // QDQ-NEXT: %[[q:.*]] = "tfl.quantize"(%arg0) <{qtype = tensor<4x!quant.uniform<u8:f32, 1.000000e+00>>}> : (tensor<4xf32>) -> tensor<4x!quant.uniform<u8:f32, 1.000000e+00>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultIgnoredConfigurationInputs.kt

            fun String.runIfNotEmpty(action: String.() -> String): String =
                if (this.isEmpty()) this else action()
    
            return pathWithWildcards.split("**").joinToString(separator = ".*", prefix = "^", postfix = "$") { outerPart ->
                outerPart.runIfNotEmpty {
                    split("*").joinToString("[^/]*") { innerPart ->
                        innerPart.runIfNotEmpty(Regex::escape)
                    }
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. tools/istio-iptables/pkg/capture/run.go

    	HasLoopBackIP bool
    }
    
    func split(s string) []string {
    	return config.Split(s)
    }
    
    func (cfg *IptablesConfigurator) separateV4V6(cidrList string) (NetworkRange, NetworkRange, error) {
    	if cidrList == "*" {
    		return NetworkRange{IsWildcard: true}, NetworkRange{IsWildcard: true}, nil
    	}
    	ipv6Ranges := NetworkRange{}
    	ipv4Ranges := NetworkRange{}
    	for _, ipRange := range split(cidrList) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 35.4K bytes
    - Viewed (0)
Back to top