Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,726 for reason2 (0.34 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

            NodeBuilder maybeByReason(String reason) {
                ignoreReasons.add(reason)
                this
            }
    
            NodeBuilder byConstraint(String reason = null) {
                if (reason == null) {
                    reasons << ComponentSelectionCause.CONSTRAINT.defaultReason
                } else {
                    reasons << "${ComponentSelectionCause.CONSTRAINT.defaultReason}: $reason".toString()
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  2. pkg/webhooks/monitoring.go

    )
    
    var (
    	// webhookConfigNameTag holds the target webhook config name for the context.
    	webhookConfigNameTag = monitoring.CreateLabel("name")
    
    	// reasonTag holds the error reason for the context.
    	reasonTag = monitoring.CreateLabel("reason")
    )
    
    var (
    	metricWebhookPatchAttempts = monitoring.NewSum(
    		"webhook_patch_attempts_total",
    		"Webhook patching attempts",
    	)
    
    	metricWebhookPatchRetries = monitoring.NewSum(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolutionResultApiIntegrationTest.groovy

        def "resolution result API gives access to dependency reasons in case of conflict"() {
            given:
            mavenRepo.with {
                def leaf1 = module('org.test', 'leaf', '1.0').publish()
                def leaf2 = module('org.test', 'leaf', '1.1').publish()
                module('org.test', 'a', '1.0')
                    .dependsOn(leaf1, reason: 'first reason')
                    .withModuleMetadata()
                    .publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/appendixa_test.go

    				}
    				t.Logf("expecting the following differences from the example encoding on re-encode:\n%s", diff)
    				t.Logf("reasons for encoding differences:")
    				for _, reason := range tc.reasons {
    					t.Logf("- %s", reason)
    				}
    
    			}
    
    			if diff := cmp.Diff(expected, actual); diff != "" {
    				t.Errorf("re-encoded object differs from expected:\n%s", diff)
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 18:59:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. pkg/kubelet/reason_cache.go

    		}
    	}
    }
    
    // Remove removes error reason from the cache
    func (c *ReasonCache) Remove(uid types.UID, name string) {
    	c.lock.Lock()
    	defer c.lock.Unlock()
    	c.cache.Remove(c.composeKey(uid, name))
    }
    
    // Get gets error reason from the cache. The return values are error reason, error message and
    // whether an error reason is found in the cache. If no error reason is found, empty string will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/HealthExpirationStrategy.java

            List<String> reasons = new ArrayList<>();
    
            GarbageCollectionStats heapStats = stats.getHeapStats();
            if (heapStats.isValid() && heapStats.getEventCount() >= 5
                && strategy.isAboveHeapUsageThreshold(heapStats.getUsedPercent())
            ) {
                if (strategy.isAboveGcThrashingThreshold(heapStats.getGcRate())) {
                    reasons.add("since the JVM garbage collector is thrashing");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheFixture.groovy

            def reasons = []
            invalidationDetails.changedFiles.each { file ->
                reasons.add("file '${file.replace('/', File.separator)}'")
            }
            if (invalidationDetails.changedGradleProperty) {
                reasons.add("the set of Gradle properties")
            }
            if (invalidationDetails.changedSystemProperty != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/RejectedModuleMessageBuilder.java

                    if (next.hasCustomDescription()) {
                        reasons.add(next.getDescription());
                    }
                }
                if (reasons.size() == 1) {
                    sb.append(": ").append(reasons.get(0));
                } else {
                    sb.append("s: ");
                    Joiner.on(", ").appendTo(sb, reasons);
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportTaskIntegrationTest.groovy

                module('org.test', 'a', '1.0')
                    .dependsOn(leaf, reason: 'first reason')
                    .withModuleMetadata()
                    .publish()
                module('org.test', 'b', '1.0')
                    .dependsOn('org.test', 'c', '1.0').publish()
                module('org.test', 'c')
                    .dependsOn(leaf, reason: 'transitive reason')
                    .withModuleMetadata()
                    .publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 15:15:56 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  10. pkg/kubelet/preemption/preemption.go

    		return failureReasons, nil
    	}
    	// InsufficientResourceError is not a reason to reject a critical pod.
    	// Instead of rejecting, we free up resources to admit it, if no other reasons for rejection exist.
    	nonResourceReasons := []lifecycle.PredicateFailureReason{}
    	resourceReasons := []*admissionRequirement{}
    	for _, reason := range failureReasons {
    		if r, ok := reason.(*lifecycle.InsufficientResourceError); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 16:53:19 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top