Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,005 for patched (0.18 sec)

  1. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java

            boolean matched = false;
            for (Iterator<String> i = patterns.iterator(); i.hasNext() & !matched; ) {
                // TODO what about wildcards? Just specifying groups? versions?
                if (id.equals(i.next())) {
                    matched = true;
                }
            }
            return matched;
        }
    
        public List<String> getPatterns() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. pkg/auth/authorizer/abac/abac.go

    	if len(p.Spec.Group) > 0 {
    		if p.Spec.Group == "*" {
    			matched = true
    		} else {
    			matched = false
    			for _, group := range groups {
    				if p.Spec.Group == group {
    					matched = true
    					break
    				}
    			}
    			if !matched {
    				return false
    			}
    		}
    	}
    
    	return matched
    }
    
    func verbMatches(p abac.Policy, a authorizer.Attributes) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 11 03:11:30 UTC 2021
    - 7.4K bytes
    - Viewed (0)
  3. src/regexp/example_test.go

    	// Output:
    	// true
    	// true
    	// false
    	// false
    }
    
    func ExampleMatch() {
    	matched, err := regexp.Match(`foo.*`, []byte(`seafood`))
    	fmt.Println(matched, err)
    	matched, err = regexp.Match(`bar.*`, []byte(`seafood`))
    	fmt.Println(matched, err)
    	matched, err = regexp.Match(`a(b`, []byte(`seafood`))
    	fmt.Println(matched, err)
    
    	// Output:
    	// true <nil>
    	// false <nil>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:22:53 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.conversion.go

    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*Patches)(nil), (*kubeadm.Patches)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta4_Patches_To_kubeadm_Patches(a.(*Patches), b.(*kubeadm.Patches), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*kubeadm.Patches)(nil), (*Patches)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/selection_predicate.go

    		return false, err
    	}
    	matched := s.Label.Matches(labels)
    	if matched && s.Field != nil {
    		matched = matched && s.Field.Matches(fields)
    	}
    	return matched, nil
    }
    
    // MatchesObjectAttributes returns true if the given labels and fields
    // match s.Label and s.Field.
    func (s *SelectionPredicate) MatchesObjectAttributes(l labels.Set, f fields.Set) bool {
    	if s.Label.Empty() && s.Field.Empty() {
    		return true
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. pkg/kube/krt/krttest/helpers.go

    	return krt.NewStatic(slices.First(t))
    }
    
    func extractType[T any](items *[]any) []T {
    	var matched []T
    	var unmatched []any
    	arr := *items
    	for _, val := range arr {
    		if c, ok := val.(T); ok {
    			matched = append(matched, c)
    		} else {
    			unmatched = append(unmatched, val)
    		}
    	}
    
    	*items = unmatched
    	return matched
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 19:33:01 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_get_nopkgs.txt

    go get ./...
    stderr -count=1 'matched no packages'
    
    go get ./...
    stderr -count=1 'matched no packages'
    
    # 'go get' on patterns that could conceivably match nested modules
    # should report a module resolution error.
    
    go get example.net/emptysubdir/... # control case
    
    ! go get example.net/emptysubdir/subdir/...
    ! stderr 'matched no packages'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  8. pilot/pkg/keycertbundle/watcher_test.go

    			t.Errorf("got wrong keyCertBundle %v", keyCertBundle)
    		}
    	default:
    		t.Errorf("watcher2 watched non keyCertBundle")
    	}
    }
    
    func TestWatcherFromFile(t *testing.T) {
    	watcher := NewWatcher()
    
    	// 1. no key cert bundle
    	_, watch1 := watcher.AddWatcher()
    	select {
    	case bundle := <-watch1:
    		t.Errorf("watched unexpected keyCertBundle: %v", bundle)
    		return
    	default:
    	}
    
    	tmpDir := t.TempDir()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 28 17:46:00 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  9. tensorflow/c/eager/gradients.h

      // Adds this tensor to the list of watched tensors.
      //
      // This is a no-op if the tensor is already being watched either from an
      // earlier call to `GradientTape::Watch` or being an output of an op with
      // watched inputs.
      void Watch(const AbstractTensorHandle*);
      // Records an operation with given inputs and outputs
      // on the tape and marks all its outputs as watched if at
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 26 10:27:05 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  10. operator/cmd/mesh/testdata/manifest-generate/input/pilot_override_kubernetes.yaml

              - kind: Service
                name: istiod
                patches:
                  - path: spec.ports.[name:https-dns].port
                    value: 11111 # OVERRIDDEN
              # Cluster scope resource
              - kind: MutatingWebhookConfiguration
                name: istio-sidecar-injector-istio-control
                patches:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 22:07:45 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top