Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 362 for Patches (0.27 sec)

  1. pkg/config/analysis/analyzers/webhook/webhook.go

    	}
    
    	// For each permutation, we check which webhooks it matches. It must match exactly 0 or 1!
    	for _, nl := range namespaceLabels {
    		for _, ol := range objectLabels {
    			matches := sets.New[string]()
    			for name, whs := range webhooks {
    				for _, wh := range whs {
    					if selectorMatches(wh.NamespaceSelector, nl) && selectorMatches(wh.ObjectSelector, ol) {
    						matches.Insert(fmt.Sprintf("%v/%v", name, wh.Name))
    					}
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/dynamic_serving_content.go

    	}
    	key, err := os.ReadFile(c.keyFile)
    	if err != nil {
    		return err
    	}
    	if len(cert) == 0 || len(key) == 0 {
    		return fmt.Errorf("missing content for serving cert %q", c.Name())
    	}
    
    	// Ensure that the key matches the cert and both are valid
    	_, err = tls.X509KeyPair(cert, key)
    	if err != nil {
    		return err
    	}
    
    	newCertKey := &certKeyContent{
    		cert: cert,
    		key:  key,
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. src/path/filepath/match_test.go

    			result = Clean(result)
    		}
    		matches, err := Glob(pattern)
    		if err != nil {
    			t.Errorf("Glob error for %q: %s", pattern, err)
    			continue
    		}
    		if !slices.Contains(matches, result) {
    			t.Errorf("Glob(%#q) = %#v want %v", pattern, matches, result)
    		}
    	}
    	for _, pattern := range []string{"no_match", "../*/no_match"} {
    		matches, err := Glob(pattern)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/fake/fake_customresourcedefinition.go

    	for _, item := range obj.(*v1beta1.CustomResourceDefinitionList).Items {
    		if label.Matches(labels.Set(item.Labels)) {
    			list.Items = append(list.Items, item)
    		}
    	}
    	return list, err
    }
    
    // Watch returns a watch.Interface that watches the requested customResourceDefinitions.
    func (c *FakeCustomResourceDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/writer/PgpEntry.java

            if (!trustedKeys.contains(trustedKey.getKeyId())) {
                return false;
            }
            boolean matches = trustedKey.matches(id);
            if (matches) {
                keyDeclaredGlobally(trustedKey.getKeyId());
            }
            return matches;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/cmd/internal/buildid/buildid_test.go

    				}
    				h := sha256.Sum256(buf2)
    
    				matches, hash, err := FindAndHash(bytes.NewReader(buf), string(id), bufSize)
    				if err != nil {
    					errorf("bufSize=%d j=%d k=%d: findAndHash: %v", bufSize, j, k, err)
    					continue
    				}
    				if !reflect.DeepEqual(matches, m) {
    					errorf("bufSize=%d j=%d k=%d: findAndHash: matches=%v, want %v", bufSize, j, k, matches, m)
    					continue
    				}
    				if hash != h {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/CrossBuildPerformanceResults.groovy

            buildResults.keySet()
        }
    
        MeasuredOperationList buildResult(String displayName) {
            def matches = builds.findAll { it.displayName == displayName }
            if (matches.empty) {
                return new MeasuredOperationList(name: displayName)
            }
            assert matches.size() == 1
            buildResult(matches.first())
        }
    
        List<Exception> getFailures() {
            List.cast(buildResults.values().collect() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        // to the server certificate.
        //   www.android.com  matches www.android.com
        //   www.android.com  matches www.android.com.
        //   www.android.com. matches www.android.com.
        //   www.android.com. matches www.android.com
        if (!hostname.endsWith(".")) {
          hostname += "."
        }
        if (!pattern.endsWith(".")) {
          pattern += "."
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/UrlValidator.groovy

            assert url.text != null
        }
    
        /**
         * Asserts that the content at the specified url matches the content in the provided String
         */
        static void assertUrlContentContains(URL url, String contents) {
            assert url.text.contains(contents)
        }
    
        /**
         * Asserts that the content at the specified url matches the content in the provided String
         */
        static void assertUrlContent(URL url, String contents) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/fake/fake_customresourcedefinition.go

    	for _, item := range obj.(*v1.CustomResourceDefinitionList).Items {
    		if label.Matches(labels.Set(item.Labels)) {
    			list.Items = append(list.Items, item)
    		}
    	}
    	return list, err
    }
    
    // Watch returns a watch.Interface that watches the requested customResourceDefinitions.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top