Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,195 for SplitV (0.22 sec)

  1. guava/src/com/google/common/cache/CacheBuilderSpec.java

      /** Parses a single value. */
      private interface ValueParser {
        void parse(CacheBuilderSpec spec, String key, @CheckForNull String value);
      }
    
      /** Splits each key-value pair. */
      private static final Splitter KEYS_SPLITTER = Splitter.on(',').trimResults();
    
      /** Splits the key from the value. */
      private static final Splitter KEY_VALUE_SPLITTER = Splitter.on('=').trimResults();
    
      /** Map of names to ValueParser. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 22 14:27:44 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig_test.go

    		},
    		{ // clusters invalid
    			args:           strings.Split("clusters invalid", " "),
    			expectedString: "unable to retrieve Pod: pods \"invalid\" not found",
    			wantException:  true, // "istioctl proxy-config clusters invalid" should fail
    		},
    		{ // listeners invalid
    			args:           strings.Split("listeners invalid", " "),
    			expectedString: "unable to retrieve Pod: pods \"invalid\" not found",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/locking/LockEntryFilterFactory.java

            for (String lockExcludes : dependencyNotations) {
                for (String lockExclude : lockExcludes.split(",")) {
                    String[] split = lockExclude.split(MODULE_SEPARATOR);
                    validateNotation(lockExclude, split, allowFullWildcard, context);
    
                    lockEntryFilters.add(createFilter(split[0], split[1]));
                }
                if (lockEntryFilters.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. istioctl/pkg/dashboard/dashboard_test.go

    		{ // case 0
    			Args:           strings.Split("--browser=false", " "),
    			ExpectedRegexp: regexp.MustCompile("Access to Istio web UIs"),
    		},
    		{ // case 1
    			Args:           strings.Split("invalid --browser=false", " "),
    			ExpectedRegexp: regexp.MustCompile(`unknown dashboard "invalid"`),
    			WantException:  true,
    		},
    		{ // case 2
    			Args:           strings.Split("controlz --browser=false", " "),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 21 01:17:24 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/generate/generate_test.go

    	for _, test := range splitTests {
    		// First with newlines.
    		got := g.split("//go:generate " + test.in + "\n")
    		if !reflect.DeepEqual(got, test.out) {
    			t.Errorf("split(%q): got %q expected %q", test.in, got, test.out)
    		}
    		// Then with CRLFs, thank you Windows.
    		got = g.split("//go:generate " + test.in + "\r\n")
    		if !reflect.DeepEqual(got, test.out) {
    			t.Errorf("split(%q): got %q expected %q", test.in, got, test.out)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 20 14:09:12 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  6. operator/pkg/util/path.go

    func RemoveBrackets(pe string) (string, bool) {
    	if !strings.HasPrefix(pe, "[") || !strings.HasSuffix(pe, "]") {
    		return "", false
    	}
    	return pe[1 : len(pe)-1], true
    }
    
    // splitEscaped splits a string using the rune r as a separator. It does not split on r if it's prefixed by \.
    func splitEscaped(s string, r rune) []string {
    	var prev rune
    	if len(s) == 0 {
    		return []string{}
    	}
    	prevIdx := 0
    	var out []string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 17:12:54 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. src/debug/dwarf/const.go

    	opBra        = 0x28 /* 1 op, signed 2-byte constant */
    	opEq         = 0x29
    	opGe         = 0x2A
    	opGt         = 0x2B
    	opLe         = 0x2C
    	opLt         = 0x2D
    	opNe         = 0x2E
    	opLit0       = 0x30
    	/* OpLitN = OpLit0 + N for N = 0..31 */
    	opReg0 = 0x50
    	/* OpRegN = OpReg0 + N for N = 0..31 */
    	opBreg0 = 0x70 /* 1 op, signed LEB128 constant */
    	/* OpBregN = OpBreg0 + N for N = 0..31 */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/tests/import_quant_stats.mlir

      %0:2 = "tfl.split"(%cst, %arg0) {num_splits = 2 : i32} : (tensor<i32>, tensor<4xf32>) -> (tensor<2xf32>, tensor<2xf32>)
        loc(fused["skip1.cc":10:8, "op", callsite("skip2" at "skip3.cc":10:8)])
      func.return %0#0, %0#1 : tensor<2xf32>, tensor<2xf32>
    
    // CHECK-NEXT: %[[split:.*]]:2 = "tfl.split"
    // CHECK-NEXT: %[[stats1:.*]] = "quantfork.stats"(%[[split]]#0) <{layerStats = dense<[-1.000000e+00, 1.000000e+00]>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 06:25:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/driver_focus.go

    }
    
    func compileTagFilter(name, value string, numLabelUnits map[string]string, ui plugin.UI, err error) (func(*profile.Sample) bool, error) {
    	if value == "" || err != nil {
    		return nil, err
    	}
    
    	tagValuePair := strings.SplitN(value, "=", 2)
    	var wantKey string
    	if len(tagValuePair) == 2 {
    		wantKey = tagValuePair[0]
    		value = tagValuePair[1]
    	}
    
    	if numFilter := parseTagFilterRange(value); numFilter != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 22 23:33:06 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  10. pkg/bootstrap/platform/azure.go

    		}
    		return tags
    	}
    	// fall back to tags if tagsList is not available
    	if at, ok := e.computeMetadata["tags"]; ok && len(at.(string)) > 0 {
    		for _, tag := range strings.Split(at.(string), ";") {
    			kv := strings.SplitN(tag, ":", 2)
    			switch len(kv) {
    			case 2:
    				tags[e.prefixName(kv[0])] = kv[1]
    			case 1:
    				tags[e.prefixName(kv[0])] = ""
    			}
    		}
    	}
    	return tags
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top