Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,217 for Patches (0.41 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/meta/priority.go

    // when multiple matches are possible
    type PriorityRESTMapper struct {
    	// Delegate is the RESTMapper to use to locate all the Kind and Resource matches
    	Delegate RESTMapper
    
    	// ResourcePriority is a list of priority patterns to apply to matching resources.
    	// The list of all matching resources is narrowed based on the patterns until only one remains.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  2. tests/fuzz/regression_test.go

    		bytes, err := os.ReadFile(path)
    		if err != nil {
    			return err
    		}
    		matched := pattern.FindAllString(string(bytes), -1)
    		for _, m := range matched {
    			// Add the match, with trailing ( and previous `func ` stripped
    			matches = append(matches, m[5:len(m)-1])
    		}
    		return nil
    	})
    	if err != nil {
    		return nil, err
    	}
    	return matches, nil
    }
    
    func TestFuzzers(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 10 16:43:09 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. pkg/quota/v1/evaluator/core/services.go

    	return admission.Create == operation || admission.Update == operation
    }
    
    // Matches returns true if the evaluator matches the specified quota with the provided input item
    func (p *serviceEvaluator) Matches(resourceQuota *corev1.ResourceQuota, item runtime.Object) (bool, error) {
    	return generic.Matches(resourceQuota, item, p.MatchingResources, generic.MatchesNoScopeFunc)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 7K bytes
    - Viewed (0)
  4. pkg/quota/v1/evaluator/core/persistent_volume_claims.go

    		return true
    	}
    	if op == admission.Update {
    		return true
    	}
    	return false
    }
    
    // Matches returns true if the evaluator matches the specified quota with the provided input item
    func (p *pvcEvaluator) Matches(resourceQuota *corev1.ResourceQuota, item runtime.Object) (bool, error) {
    	return generic.Matches(resourceQuota, item, p.MatchingResources, generic.MatchesNoScopeFunc)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:36:24 UTC 2022
    - 9.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/internal/match.go

    )
    
    // TODO: consider if (some of the) matching algorithm needs to be public after
    // getting some feel about what is generic and what is specific.
    
    // NewInheritanceMatcher returns a matcher that matches based on the inheritance
    // chain.
    //
    // The matcher uses canonicalization and the parent relationship to find a
    // match. The resulting match will always be either Und or a language with the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/interpodaffinity/plugin_test.go

    	}{
    		{
    			name:         "add a new node with matched pod affinity topologyKey",
    			pod:          st.MakePod().Name("p").PodAffinityIn("service", "zone", []string{"securityscan", "value2"}, st.PodAffinityWithRequiredReq).Obj(),
    			newNode:      st.MakeNode().Name("node-a").Label("zone", "zone1").Obj(),
    			expectedHint: framework.Queue,
    		},
    		{
    			name:         "add a new node with matched pod anti-affinity topologyKey",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 03:08:44 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/name_flags_test.go

    			outputFormat:   "name",
    			operation:      "patched",
    			expectedOutput: "pod/foo",
    		},
    		{
    			name:          "operation and no valid \"name\" output does not match a printer",
    			operation:     "patched",
    			outputFormat:  "invalid",
    			dryRun:        true,
    			expectNoMatch: true,
    		},
    		{
    			name:           "operation and empty output still matches name printer",
    			expectedOutput: "pod/foo patched",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 21 15:08:30 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  8. src/net/http/server_test.go

    		}
    	}
    }
    
    func TestEscapedPathsAndPatterns(t *testing.T) {
    	matches := []struct {
    		pattern  string
    		paths    []string // paths that match the pattern
    		paths121 []string // paths that matched the pattern in Go 1.21.
    	}{
    		{
    			"/a", // this pattern matches a path that unescapes to "/a"
    			[]string{"/a", "/%61"},
    			[]string{"/a", "/%61"},
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 13:54:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/driver_focus.go

    // parseTagFilterRange returns a function to checks if a value is
    // contained on the range described by a string. It can recognize
    // strings of the form:
    // "32kb" -- matches values == 32kb
    // ":64kb" -- matches values <= 64kb
    // "4mb:" -- matches values >= 4mb
    // "12kb:64mb" -- matches values between 12kb and 64mb (both included).
    func parseTagFilterRange(filter string) func(int64, string) bool {
    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. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/configuration/DaemonParametersTest.groovy

        }
    
        @Issue("20611")
        def "defaults for Java 9+ contain the --add-opens args in the form that can be matched by a user's GRADLE_OPTS"() {
            when:
            parameters.applyDefaultsFor(JavaLanguageVersion.of(9))
    
            then: "The --add-opens arguments should be in the form that can be matched by user-provided GRADLE_OPTS: --add-opens=x.y/z.a=..."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top