Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 991 for oldR (0.06 sec)

  1. pkg/apis/batch/validation/validation_test.go

    	}
    	ignoreValueAndDetail := cmpopts.IgnoreFields(field.Error{}, "BadValue", "Detail")
    	for k, tc := range cases {
    		t.Run(k, func(t *testing.T) {
    			tc.old.ResourceVersion = "1"
    			update := tc.old.DeepCopy()
    			tc.update(update)
    			errs := ValidateJobUpdate(update, &tc.old, tc.opts)
    			var wantErrs field.ErrorList
    			if tc.err != nil {
    				wantErrs = append(wantErrs, tc.err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  2. pkg/registry/core/service/strategy_test.go

    	}
    	for _, tc := range testCases {
    		func() {
    			old := tc.oldSvc.DeepCopy()
    
    			// to test against user using IPFamily not set on cluster
    			dropServiceDisabledFields(tc.svc, tc.oldSvc)
    
    			// old node should never be changed
    			if !reflect.DeepEqual(tc.oldSvc, old) {
    				t.Errorf("%v: old svc changed: %v", tc.name, cmp.Diff(tc.oldSvc, old))
    			}
    
    			if !reflect.DeepEqual(tc.svc, tc.compareSvc) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  3. docs/fr/docs/advanced/additional-responses.md

    ```Python
    old_dict = {
        "old key": "old value",
        "second old key": "second old value",
    }
    new_dict = {**old_dict, "new key": "new value"}
    ```
    
    Ici, `new_dict` contiendra toutes les paires clé-valeur de `old_dict` plus la nouvelle paire clé-valeur :
    
    ```Python
    {
        "old key": "old value",
        "second old key": "second old value",
        "new key": "new value",
    }
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. pkg/registry/resource/resourceclassparameters/strategy.go

    }
    
    func (resourceClassParametersStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList {
    	return validation.ValidateResourceClassParametersUpdate(obj.(*resource.ResourceClassParameters), old.(*resource.ResourceClassParameters))
    }
    
    func (resourceClassParametersStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string {
    	return nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/runtime/sys_openbsd2.go

    //go:nosplit
    //go:cgo_unsafe_args
    func sigaction(sig uint32, new *sigactiont, old *sigactiont) {
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(sigaction_trampoline)), unsafe.Pointer(&sig))
    	KeepAlive(new)
    	KeepAlive(old)
    }
    func sigaction_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func sigprocmask(how uint32, new *sigset, old *sigset) {
    	// sigprocmask is called from sigsave, which is called from needm.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. src/sync/map.go

    	m.mu.Unlock()
    	return previous, loaded
    }
    
    // CompareAndSwap swaps the old and new values for key
    // if the value stored in the map is equal to old.
    // The old value must be of a comparable type.
    func (m *Map) CompareAndSwap(key, old, new any) (swapped bool) {
    	read := m.loadReadOnly()
    	if e, ok := read.m[key]; ok {
    		return e.tryCompareAndSwap(old, new)
    	} else if !read.amended {
    		return false // No existing value for key.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/strategy.go

    }
    
    func generateWarningsFromObj(obj, old runtime.Object) []string {
    	var allWarnings []string
    	fldPath := field.NewPath("metadata", "finalizers")
    	newObjAccessor, err := meta.Accessor(obj)
    	if err != nil {
    		return allWarnings
    	}
    
    	newAdded := sets.NewString(newObjAccessor.GetFinalizers()...)
    	if old != nil {
    		oldObjAccessor, err := meta.Accessor(old)
    		if err != nil {
    			return allWarnings
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 21:22:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime_test.go

    		if x := recover(); x == nil {
    			t.Errorf("Expected a panic to recover from")
    		}
    	}()
    	defer HandleCrash()
    	panic("Test Panic")
    }
    
    func TestCustomHandleCrash(t *testing.T) {
    	old := PanicHandlers
    	defer func() { PanicHandlers = old }()
    	var result interface{}
    	PanicHandlers = []func(context.Context, interface{}){
    		func(_ context.Context, r interface{}) {
    			result = r
    		},
    	}
    	func() {
    		defer func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/GraphsBridgeMethods.java

    package com.google.common.graph;
    
    import com.google.common.annotations.Beta;
    import java.util.Set;
    
    /**
     * Supertype for {@link Graphs}, containing the old signatures of methods whose signatures we've
     * changed. This provides binary compatibility for users who compiled against the old signatures.
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    abstract class GraphsBridgeMethods {
    
      @SuppressWarnings("PreferredInterfaceType")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 14 19:31:40 UTC 2024
    - 707 bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/nonstructuralschema/nonstructuralschema_controller.go

    		return nil
    	}
    
    	// check old condition
    	cond := calculateCondition(inCustomResourceDefinition)
    	old := apiextensionshelpers.FindCRDCondition(inCustomResourceDefinition, apiextensionsv1.NonStructuralSchema)
    
    	if cond == nil && old == nil {
    		return nil
    	}
    	if cond != nil && old != nil && old.Status == cond.Status && old.Reason == cond.Reason && old.Message == cond.Message {
    		return nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top