Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 209 for Yield (0.05 sec)

  1. pkg/scheduler/framework/runtime/framework.go

    	// filters fail, we don't run the second pass.
    	// We consider only equal or higher priority pods in the first pass, because
    	// those are the current "pod" must yield to them and not take a space opened
    	// for running them. It is ok if the current "pod" take resources freed for
    	// lower priority pods.
    	// Requiring that the new pod is schedulable in both circumstances ensures that
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof_test.go

    		var churn func(i int)
    		churn = func(i int) {
    			SetGoroutineLabels(WithLabels(ctx, Labels(t.Name()+"-churn-i", fmt.Sprint(i))))
    			if i == 0 {
    				ready.Done()
    			} else if i%16 == 0 {
    				// Yield on occasion so this sequence of goroutine launches
    				// doesn't monopolize a P. See issue #52934.
    				runtime.Gosched()
    			}
    			if ctx.Err() == nil {
    				go churn(i + 1)
    			}
    		}
    		go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    - `removeContainer` is a dependency of `dockerStop` so it must be run before `dockerStop`;
    - `createContainer` must run after `removeContainer`;
    
    Prior to Gradle 7.5, `gradle dockerTest` would yield the following order of execution, in violation of the `mustRunAfter` constraint between `:createContainer` and `:removeContainer`:
    
    ```
    > Task :createContainer UP-TO-DATE
    > Task :dockerUp UP-TO-DATE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    	if value == "" {
    		if required {
    			return field.ErrorList{field.Required(fldPath, "")}
    		}
    		return field.ErrorList{}
    	}
    	for _, a := range accepted {
    		if a == value {
    			return field.ErrorList{}
    		}
    	}
    	return field.ErrorList{field.NotSupported(fldPath, value, accepted)}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  5. pkg/apis/admissionregistration/validation/validation.go

    	var allErrors field.ErrorList
    	if len(resources) == 0 {
    		allErrors = append(allErrors, field.Required(fldPath, ""))
    	}
    	for i, resource := range resources {
    		if resource == "" {
    			allErrors = append(allErrors, field.Required(fldPath.Index(i), ""))
    		}
    		if strings.Contains(resource, "/") {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  6. pkg/apis/batch/validation/validation.go

    		}
    	}
    	if !isOrdered {
    		allErrs = append(allErrs, field.Invalid(valuesPath, onExitCode.Values, "must be ordered"))
    	}
    
    	return allErrs
    }
    
    func validateSuccessPolicy(spec *batch.JobSpec, fldPath *field.Path) field.ErrorList {
    	var allErrs field.ErrorList
    	rulesPath := fldPath.Child("rules")
    	if len(spec.SuccessPolicy.Rules) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    					"change field to an invalid string",
    					myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    						"field": "asd",
    					}}},
    				applyPatchOperation{
    					"change field to a valid byte string",
    					myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    						"field": "dGhpcyBpcyBwYXNzd29yZA==",
    					}},
    				patchMyCRDV1Beta1Schema{
    					"change `field`'s format to date-time",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  8. pkg/apis/flowcontrol/validation/validation_test.go

    		expectedErrors: field.ErrorList{
    			field.Invalid(field.NewPath("spec").Child("type"), flowcontrol.PriorityLevelEnablementLimited, "type must be 'Exempt' if and only if name is 'exempt'"),
    			field.Forbidden(field.NewPath("spec").Child("exempt"), "must be nil if the type is Limited"),
    			field.Invalid(field.NewPath("spec"), exemptTypeRepurposed.Spec, "spec of 'exempt' except the 'spec.exempt' field must equal the fixed value"),
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 54.7K bytes
    - Viewed (0)
  9. pkg/apis/networking/validation/validation_test.go

    		ingressClass *networking.IngressClass
    		expectedErrs field.ErrorList
    	}{
    		"valid name, valid controller": {
    			ingressClass: makeValidIngressClass("test123", "foo.co/bar"),
    			expectedErrs: field.ErrorList{},
    		},
    		"invalid name, valid controller": {
    			ingressClass: makeValidIngressClass("test*123", "foo.co/bar"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 73.3K bytes
    - Viewed (0)
  10. okhttp/api/okhttp.api

    	public static final field TLS_KRB5_WITH_RC4_128_SHA Lokhttp3/CipherSuite;
    	public static final field TLS_PSK_WITH_3DES_EDE_CBC_SHA Lokhttp3/CipherSuite;
    	public static final field TLS_PSK_WITH_AES_128_CBC_SHA Lokhttp3/CipherSuite;
    	public static final field TLS_PSK_WITH_AES_256_CBC_SHA Lokhttp3/CipherSuite;
    	public static final field TLS_PSK_WITH_RC4_128_SHA Lokhttp3/CipherSuite;
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top