Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 151 for splitLine (0.59 sec)

  1. pilot/test/util/diff.go

    	data := strings.TrimSpace(string(content))
    	expected := strings.TrimSpace(string(golden))
    
    	if data != expected {
    		diff := difflib.UnifiedDiff{
    			A:       difflib.SplitLines(expected),
    			B:       difflib.SplitLines(data),
    			Context: 2,
    		}
    		text, err := difflib.GetUnifiedDiffString(diff)
    		if err != nil {
    			return err
    		}
    		return errors.New(text)
    	}
    
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 05 08:53:20 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/valid/traffic-splitting/traffic-split-3.yaml

    #$ Used in:
    #$ - site-src/guides/traffic-splitting.md
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: foo-route
      labels:
        gateway: prod-web-gw
    spec:
      hostnames:
      - foo.example.com
      rules:
      - backendRefs:
        - name: foo-v1
          port: 8080
          weight: 0
        - name: foo-v2
          port: 8080
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 348 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/valid/traffic-splitting/traffic-split-1.yaml

    #$ Used in:
    #$ - site-src/guides/traffic-splitting.md
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: foo-route
      labels:
        gateway: prod-web-gw
    spec:
      hostnames:
      - foo.example.com
      rules:
      - backendRefs:
        - name: foo-v1
          port: 8080
      - matches:
        - headers:
          - name: traffic
            value: test
        backendRefs:
        - name: foo-v2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 403 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/ifrt/tf_restore_splitting.mlir

    // RUN: tf-tfrt-opt %s -tf-restore-splitting | FileCheck %s
    
    // CHECK-LABEL: func @single_restore
    // CHECK-SAME:    (%[[ARG0:.*]]: {{.*}})
    func.func @single_restore(%arg0: tensor<!tf_type.string>) -> (tensor<*xf32>, tensor<*xi32>) {
      %0 = "tf.Const"() {value = dense<["foo", "bar"]> : tensor<2x!tf_type.string>} : () -> tensor<2x!tf_type.string>
      %1 = "tf.Const"() {value = dense<""> : tensor<2x!tf_type.string>} : () -> tensor<2x!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 05 23:51:03 UTC 2024
    - 1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy_handler.go

    		h.addSVToMap(newSV)
    	}
    }
    
    func (h *peerProxyHandler) deleteSVFromMap(sv *v1alpha1.StorageVersion) {
    	// The name of storageversion is <group>.<resource>
    	splitInd := strings.LastIndex(sv.Name, ".")
    	group := sv.Name[:splitInd]
    	resource := sv.Name[splitInd+1:]
    
    	gvr := schema.GroupVersionResource{Group: group, Resource: resource}
    	for _, gr := range sv.Status.StorageVersions {
    		for _, version := range gr.ServedVersions {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 00:36:22 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/critical.go

    			if phi != nil {
    				argID := phi.Args[i].ID
    				// find or record the block that we used to split
    				// critical edges for this argument
    				if d = blocks[argID]; d == nil {
    					// splitting doesn't necessarily remove the critical edge,
    					// since we're iterating over len(f.Blocks) above, this forces
    					// the new blocks to be re-examined.
    					d = f.NewBlock(BlockPlain)
    					d.Pos = p.Pos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 21:40:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/Escaper.java

     * {@code escape(s.substring(0, n)) + escape(s.substring(n))} for arbitrary {@code n}. This is
     * because of the possibility of splitting a surrogate pair. The only case in which it is safe to
     * escape strings and concatenate the results is if you can rule out this possibility, either by
     * splitting an existing long string into short strings adaptively around {@linkplain
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 16:02:17 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/escape/Escaper.java

     * {@code escape(s.substring(0, n)) + escape(s.substring(n))} for arbitrary {@code n}. This is
     * because of the possibility of splitting a surrogate pair. The only case in which it is safe to
     * escape strings and concatenate the results is if you can rule out this possibility, either by
     * splitting an existing long string into short strings adaptively around {@linkplain
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 16:02:17 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

        }
    
        public void setImageExtention(final String imageExtention) {
            this.imageExtention = imageExtention;
        }
    
        public void setSplitSize(final int splitSize) {
            this.splitSize = splitSize;
        }
    
        public void setThumbnailTaskQueueSize(final int thumbnailTaskQueueSize) {
            this.thumbnailTaskQueueSize = thumbnailTaskQueueSize;
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/upgrade/diff.go

    		existingManifest, err := os.ReadFile(path)
    		if err != nil {
    			return err
    		}
    
    		// Populated and write out the diff
    		diff := difflib.UnifiedDiff{
    			A:        difflib.SplitLines(string(existingManifest)),
    			B:        difflib.SplitLines(string(newManifest)),
    			FromFile: path,
    			ToFile:   "new manifest",
    			Context:  cmdutil.ValueFromFlagsOrConfig(fs, "context-lines", upgradeCfg.Diff.DiffContextLines, flags.contextLines).(int),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top