Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,217 for Patches (0.23 sec)

  1. src/internal/profile/prune.go

    package profile
    
    import (
    	"fmt"
    	"regexp"
    )
    
    // Prune removes all nodes beneath a node matching dropRx, and not
    // matching keepRx. If the root node of a Sample matches, the sample
    // will have an empty stack.
    func (p *Profile) Prune(dropRx, keepRx *regexp.Regexp) {
    	prune := make(map[uint64]bool)
    	pruneBeneath := make(map[uint64]bool)
    
    	for _, loc := range p.Location {
    		var i int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 17 19:35:56 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/plugin/pkg/audit/buffered/buffered.go

    	// MaxBatchSize defines maximum size of a batch.
    	MaxBatchSize int
    	// MaxBatchWait indicates the maximum interval between two batches.
    	MaxBatchWait time.Duration
    
    	// ThrottleEnable defines whether throttling will be applied to the batching process.
    	ThrottleEnable bool
    	// ThrottleQPS defines the allowed rate of batches per second sent to the delegate backend.
    	ThrottleQPS float32
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  3. pkg/kube/namespace/filter.go

    		AddFunc: func(ns *corev1.Namespace) {
    			f.lock.Lock()
    			defer f.lock.Unlock()
    			// In rare cases, a namespace may be created after objects in the namespace, because there is no synchronization between watches
    			// So we need to notify if we started selecting namespace
    			if f.namespaceCreatedLocked(ns.ObjectMeta) {
    				f.notifyHandlersLocked(sets.New(ns.Name), nil)
    			}
    		},
    		UpdateFunc: func(old, new *corev1.Namespace) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 17:12:52 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java

            assertFalse(auth.matches("ftp://hostname:111/"));
            assertFalse(auth.matches("ftp://hostname:xx/"));
            assertFalse(auth.matches("ftp://hoge/test/aaa.html"));
            assertFalse(auth.matches("ftp://hoge/test"));
            assertFalse(auth.matches("ftp://hoge/"));
            assertFalse(auth.matches("ftp://hoge"));
            assertFalse(auth.matches("ftp://"));
            assertFalse(auth.matches("http://hostname/"));
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/escaping.go

    	"for", "function", "if", "import", "let",
    	"loop", "package", "namespace", "return", // !! 'namespace' is used heavily in Kubernetes
    	"var", "void", "while",
    )
    
    // expandMatcher matches the escape sequence, characters that are escaped, and characters that are unsupported
    var expandMatcher = regexp.MustCompile(`(__|[-./]|[^a-zA-Z0-9-./_])`)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/util/internal/NameMatcherTest.groovy

            matches("NA", "name")
            matches("somena", "someName")
            matches("somena", "SomeName")
            matches("somena", "SomeName")
            matches("some na", "Some Name")
        }
    
        def "selects item with matching camel case prefix"() {
            expect:
            matches("sN", "someName")
            matches("soN", "someName")
            matches("SN", "someName")
            matches("SN", "SomeName")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 05 22:49:56 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java

            RequirementMatcher matcher;
            matcher = RequirementMatcherFactory.createVersionMatcher("1.5.2");
            assertFalse(matcher.matches("1.5"));
            assertTrue(matcher.matches("1.5.2"));
            assertFalse(matcher.matches("[1.4,1.5)"));
            assertFalse(matcher.matches("[1.5,1.5.2)"));
            assertFalse(matcher.matches("(1.5.2,1.6)"));
            assertTrue(matcher.matches("(1.4,1.5.2]"));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/initialization/AbstractProjectSpec.java

            List<ProjectIdentifier> matches = new ArrayList<ProjectIdentifier>();
            select(registry, matches);
            return !matches.isEmpty();
        }
    
        @Override
        public <T extends ProjectIdentifier> T selectProject(String settingsDescription, ProjectRegistry<? extends T> registry) {
            checkPreconditions(registry);
            List<T> matches = new ArrayList<T>();
            select(registry, matches);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 10:39:11 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/testdata/allow-full.yaml

    groups:
    - rules:
      - matches:
        - notPrincipals:
          - exact: not-principal
          - prefix: not-principal-prefix-
          - suffix: -suffix-not-principal
          - presence: {}
          principals:
          - exact: principal
          - prefix: principal-prefix-
          - suffix: -suffix-principal
          - presence: {}
    - rules:
      - matches:
        - namespaces:
          - exact: ns
          - prefix: ns-prefix-
          - suffix: -ns-suffix
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/HasPrefixAndSuffixPatternStepTest.groovy

            !step.matches("e-suf")
            !step.matches("Pre-Suf")
            !step.matches("")
            !step.matches("something else")
        }
    
        def "matches name case insensitive"() {
            def step = new HasPrefixAndSuffixPatternStep("pre", "suf", CASE_INSENSITIVE)
    
            expect:
            step.matches("pre-suf")
            step.matches("PRE-SUF")
            step.matches("Pre-Suf")
            !step.matches("PRE")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top