Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for patchTail (0.1 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/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)
Back to top