Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 939 for oldR (1.03 sec)

  1. src/internal/godebugs/godebugs_test.go

    		}
    		last = info.Name
    
    		if info.Package == "" {
    			t.Errorf("Name=%s missing Package", info.Name)
    		}
    		if info.Changed != 0 && info.Old == "" {
    			t.Errorf("Name=%s has Changed, missing Old", info.Name)
    		}
    		if info.Old != "" && info.Changed == 0 {
    			t.Errorf("Name=%s has Old, missing Changed", info.Name)
    		}
    		if !strings.Contains(doc, "`"+info.Name+"`") {
    			t.Errorf("Name=%s not documented in doc/godebug.md", info.Name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/net/tcpconn_keepalive_conf_windows_test.go

    func maybeSkipKeepAliveTest(t *testing.T) {
    	// TODO(panjf2000): Unlike Unix-like OS's, old Windows (prior to Windows 10, version 1709)
    	// 	doesn't provide any ways to retrieve the current TCP keep-alive settings, therefore
    	// 	we're not able to run the test suite similar to Unix-like OS's on Windows.
    	//  Try to find another proper approach to test the keep-alive settings on old Windows.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:35 UTC 2024
    - 987 bytes
    - Viewed (0)
  3. pkg/kube/multicluster/component.go

    	comp := m.constructor(cluster)
    	old, f := m.clusters[cluster.ID]
    	m.mu.Lock()
    	m.clusters[cluster.ID] = comp
    	m.mu.Unlock()
    	// Close outside of the lock, in case its slow
    	if f {
    		old.Close()
    	}
    	return comp
    }
    
    func (m *Component[T]) clusterDeleted(cluster cluster.ID) {
    	m.mu.Lock()
    	defer m.mu.Unlock()
    	// If there is an old one, close it
    	if old, f := m.clusters[cluster]; f {
    		old.Close()
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. docs/en/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"}
    ```
    
    Here, `new_dict` will contain all the key-value pairs from `old_dict` plus the new key-value pair:
    
    ```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: Sat May 18 23:43:13 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. docs/de/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"}
    ```
    
    Hier wird `new_dict` alle Schlüssel-Wert-Paare von `old_dict` plus das neue Schlüssel-Wert-Paar enthalten:
    
    ```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: Sat Mar 30 20:19:26 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top