Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for split3 (0.14 sec)

  1. pkg/config/validation/validation.go

    func validateGatewayNames(gatewayNames []string, gatewaySemantics bool) (errs Validation) {
    	for _, gatewayName := range gatewayNames {
    		parts := strings.SplitN(gatewayName, "/", 2)
    		if len(parts) != 2 {
    			if strings.Contains(gatewayName, ".") {
    				// Legacy FQDN style
    				parts := strings.Split(gatewayName, ".")
    				recommended := fmt.Sprintf("%s/%s", parts[1], parts[0])
    				errs = AppendValidation(errs, WrapWarning(fmt.Errorf(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/pkg.go

    func (p *Package) exeFromImportPath() string {
    	_, elem := pathpkg.Split(p.ImportPath)
    	if cfg.ModulesEnabled {
    		// If this is example.com/mycmd/v2, it's more useful to
    		// install it as mycmd than as v2. See golang.org/issue/24667.
    		if elem != p.ImportPath && isVersionElement(elem) {
    			_, elem = pathpkg.Split(pathpkg.Dir(p.ImportPath))
    		}
    	}
    	return elem
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

        rewriter.replaceOpWithNewOp<TFL::QConstOp>(
            op, /*qtype=*/TypeAttr::get(op.getOutput().getType()),
            /*value=*/op.getValue());
      }
    };
    
    // Splits hybrid quantized `stablehlo.dot_general` into `tfl.dequantize` and
    // float `stablehlo.dot_general` op. Legalization of float
    // `stablehlo.dot_general` op relies on existing passes for conversion of
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  4. cluster/gce/util.sh

      declare -a pairs # indexed array
      declare -A map # associative array
      IFS="${item_sep}" read -ra pairs <<<"${encoded}" # split on item_sep
      for pair in "${pairs[@]}"; do
        declare key
        declare value
        IFS="${kv_sep}" read -r key value <<<"${pair}" # split on kv_sep
        map[$key]="${map[$key]+${map[$key]}${item_sep}}${value}" # append values from duplicate keys
      done
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/data.go

    	return strings.HasPrefix(pkg, "runtime/internal/") && !strings.HasSuffix(pkg, "_test")
    }
    
    // Estimate the max size needed to hold any new trampolines created for this function. This
    // is used to determine when the section can be split if it becomes too large, to ensure that
    // the trampolines are in the same section as the function that uses them.
    func maxSizeTrampolines(ctxt *Link, ldr *loader.Loader, s loader.Sym, isTramp bool) uint64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (1)
  6. cmd/bucket-replication.go

    		return
    	}
    
    	// if already replicated, return true if a new reset was requested.
    	splits := strings.SplitN(rs, ";", 2)
    	if len(splits) != 2 {
    		return
    	}
    	newReset := splits[1] != resetID
    	if !newReset && tgtStatus == replication.Completed {
    		// already replicated and no reset requested
    		return
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  7. pkg/kubelet/eviction/eviction_manager_test.go

    			dedicatedImageFs:              ptr.To(true),
    			kubeletSeparateDiskFeature:    false,
    			writeableSeparateFromReadOnly: true,
    			expectErr:                     "KubeletSeparateDiskGC is turned off but we still have a split filesystem",
    			nodeFsStats:                   "1Gi",
    			imageFsStats:                  "100Gi",
    			containerFsStats:              "10Gi",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    substring(String, int); public static String substring(String, int, int); public static String left(String, int); public static String right(String, int); public static String mid(String, int, int); public static String[] split(String); public static String[] split(String, String); public static String[] split(String, String, int); public static String concatenate(Object[]); public static String join(Object[], String); public static String join(java.util.Iterator, String); public static String replaceOnce(String,...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 164.6K bytes
    - Viewed (0)
  9. pkg/apis/batch/validation/validation_test.go

    	for k, v := range errorCases {
    		t.Run(k, func(t *testing.T) {
    			errs := ValidateJob(&v.job, v.opts)
    			if len(errs) == 0 {
    				t.Errorf("expected failure for %s", k)
    			} else {
    				s := strings.SplitN(k, ":", 2)
    				err := errs[0]
    				if err.Field != s[0] || !strings.Contains(err.Error(), s[1]) {
    					t.Errorf("unexpected error: %v, expected: %s", err, k)
    				}
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"self.val1.indexOf('o', 2) == 2",
    				"self.val1.replace(' ', 'x') == 'Rookxtakesx๐Ÿ‘‘'",
    				"self.val1.replace(' ', 'x', 1) == 'Rookxtakes ๐Ÿ‘‘'",
    				"self.val1.split(' ') == ['Rook', 'takes', '๐Ÿ‘‘']",
    				"self.val1.split(' ', 2) == ['Rook', 'takes ๐Ÿ‘‘']",
    				"self.val1.substring(5) == 'takes ๐Ÿ‘‘'",
    				"self.val1.substring(0, 4) == 'Rook'",
    				"self.val1.substring(4, 10).trim() == 'takes'",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
Back to top