Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for patchTail (0.12 sec)

  1. src/vendor/golang.org/x/text/unicode/norm/normalize.go

    			return false
    		}
    		bp, _ = rb.f.quickSpan(rb.src, bp, len(s), true)
    	}
    	return true
    }
    
    // patchTail fixes a case where a rune may be incorrectly normalized
    // if it is followed by illegal continuation bytes. It returns the
    // patched buffer and whether the decomposition is still in progress.
    func patchTail(rb *reorderBuffer) bool {
    	info, p := lastRuneStart(&rb.f, rb.out)
    	if p == -1 || info.size == 0 {
    		return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:26:23 UTC 2022
    - 14.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/unicode/norm/normalize.go

    			return false
    		}
    		bp, _ = rb.f.quickSpan(rb.src, bp, len(s), true)
    	}
    	return true
    }
    
    // patchTail fixes a case where a rune may be incorrectly normalized
    // if it is followed by illegal continuation bytes. It returns the
    // patched buffer and whether the decomposition is still in progress.
    func patchTail(rb *reorderBuffer) bool {
    	info, p := lastRuneStart(&rb.f, rb.out)
    	if p == -1 || info.size == 0 {
    		return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. pkg/test/util/yml/apply.go

    	if err != nil {
    		return "", fmt.Errorf("yamlToJSON error in base: %s\n%s", err, mainYaml)
    	}
    
    	patchYaml := tmpl.MustEvaluate(`
    spec:
      template:
        spec:
          imagePullSecrets:
          - name: {{.pullSecret}}  	
    `, map[string]string{"pullSecret": pullSecret})
    
    	overlayYaml, err := yaml.YAMLToJSON([]byte(patchYaml))
    	if err != nil {
    		return "", fmt.Errorf("yamlToJSON error in overlay: %s\n%s", err, overlayYaml)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 07:02:38 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. pkg/kube/inject/webhook.go

    func StrategicMergePatchYAML(originalJSON []byte, patchYAML []byte, dataStruct any) ([]byte, error) {
    	schema, err := strategicpatch.NewPatchMetaFromStruct(dataStruct)
    	if err != nil {
    		return nil, err
    	}
    
    	originalMap, err := patchHandleUnmarshal(originalJSON, json.Unmarshal)
    	if err != nil {
    		return nil, err
    	}
    	patchMap, err := patchHandleUnmarshal(patchYAML, func(data []byte, v any) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    }
    
    // preprocessDeletionListForMerging preprocesses the deletion list.
    // it returns shouldContinue, isDeletionList, noPrefixKey
    func preprocessDeletionListForMerging(key string, original map[string]interface{},
    	patchVal interface{}, mergeDeletionList bool) (bool, bool, string, error) {
    	// If found a parallel list for deletion and we are going to merge the list,
    	// overwrite the key to the original key and set flag isDeleteList
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
Back to top