Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for SplitV (0.28 sec)

  1. configure.py

      python_paths = []
      if environ_cp.get('PYTHONPATH'):
        python_paths = environ_cp.get('PYTHONPATH').split(':')
      try:
        stderr = open(os.devnull, 'wb')
        library_paths = run_shell([
            python_bin_path, '-c',
            'import site; print("\\n".join(site.getsitepackages()))'
        ],
                                  stderr=stderr).split('\n')
      except subprocess.CalledProcessError:
        library_paths = [
            run_shell([
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      // There should be two ops: the split and add in the original model.
      EXPECT_THAT(*readonly_subgraph->operators(), SizeIs(2));
      EXPECT_THAT(subgraph->operators, SizeIs(2));
      const auto& split = subgraph->operators[0];
      const auto& add = subgraph->operators[1];
      EXPECT_THAT(GetBuiltinCode(model_.operator_codes[split->opcode_index].get()),
                  Eq(BuiltinOperator_SPLIT));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	encodedResource := req.URL.RawPath
    	encodedQuery := req.URL.RawQuery
    	if encodedResource == "" {
    		splits := strings.SplitN(req.URL.Path, "?", 2)
    		encodedResource = splits[0]
    		if len(splits) == 2 {
    			encodedQuery = splits[1]
    		}
    	}
    
    	unescapedQueries, err := unescapeQueries(encodedQuery)
    	if err != nil {
    		return err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/debug.go

    // whether the slot was found in the table already (TRUE => found).
    func (sc *slotCanonicalizer) lookup(ls LocalSlot) (SlKeyIdx, bool) {
    	split := noSlot
    	if ls.SplitOf != nil {
    		split, _ = sc.lookup(*ls.SplitOf)
    	}
    	k := slotKey{
    		name: ls.N, offset: ls.Off, width: ls.Type.Size(),
    		splitOf: split, splitOffset: ls.SplitOffset,
    	}
    	if idx, ok := sc.slmap[k]; ok {
    		return idx, true
    	}
    	rv := SlKeyIdx(len(sc.slkeys))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

        private static int compareModelVersions(String first, String second) {
            // we use a dedicated comparator because we control our model version scheme.
            String[] firstSegments = first.split("\\.");
            String[] secondSegments = second.split("\\.");
            for (int i = 0; i < Math.max(firstSegments.length, secondSegments.length); i++) {
                int result = Long.valueOf(i < firstSegments.length ? firstSegments[i] : "0")
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/gateway/conversion.go

    	type conversionResult struct {
    		error  *ConfigError
    		routes []*istio.HTTPRoute
    	}
    	convertRules := func(mesh bool) conversionResult {
    		res := conversionResult{}
    		for n, r := range route.Rules {
    			// split the rule to make sure each rule has up to one match
    			matches := slices.Reference(r.Matches)
    			if len(matches) == 0 {
    				matches = append(matches, nil)
    			}
    			for _, m := range matches {
    				if m != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    		},
    		{
    			name:   "filter returns two items split across multiple pages",
    			prefix: "/pods",
    			pred: storage.SelectionPredicate{
    				Field: fields.OneTermEqualSelector("metadata.name", "foo"),
    				Label: labels.Everything(),
    				Limit: 2,
    			},
    			expectedOut: []example.Pod{*preset[2], *preset[4]},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    		opts.VersionID = ""
    	}
    	if crypto.S3.IsEncrypted(srcObjInfo.UserDefined) {
    		opts.ServerSideEncryption = encrypt.NewSSE()
    	}
    	slc := strings.Split(srcObjInfo.ETag, "-")
    	if len(slc) == 2 {
    		partsCount, err := strconv.Atoi(slc[1])
    		if err != nil {
    			return err
    		}
    		return r.copyWithMultipartfromSource(ctx, api, core, srcObjInfo, opts, partsCount)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/sidecar_simulation_test.go

    	}
    	if variant == "httproute" {
    		if args.GwMatches == nil {
    			args.GwMatches = make([]types.NamespacedName, 0, len(args.Matches))
    			for _, m := range args.Matches {
    				spl := strings.Split(m, ".")
    				if len(spl) != 5 {
    					t.Skipf("unsupported match: %v", spl)
    				}
    				if spl[0] == "*" {
    					t.Skipf("unsupported match: %v", spl)
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    		return true
    	})
    	return policies
    }
    
    // converts a mapped policy into a slice of distinct policies
    func (mp MappedPolicy) toSlice() []string {
    	var policies []string
    	for _, policy := range strings.Split(mp.Policies, ",") {
    		if strings.TrimSpace(policy) == "" {
    			continue
    		}
    		policies = append(policies, policy)
    	}
    	return policies
    }
    
    func (mp MappedPolicy) policySet() set.StringSet {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
Back to top