Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for oldKeys (0.22 sec)

  1. pkg/registry/discovery/endpointslice/strategy.go

    	newEPS := obj.(*discovery.EndpointSlice)
    	oldEPS := old.(*discovery.EndpointSlice)
    
    	// Increment generation if anything other than meta changed
    	// This needs to be changed if a status attribute is added to EndpointSlice
    	ogNewMeta := newEPS.ObjectMeta
    	ogOldMeta := oldEPS.ObjectMeta
    	newEPS.ObjectMeta = metav1.ObjectMeta{}
    	oldEPS.ObjectMeta = metav1.ObjectMeta{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 02 10:00:01 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceentry/util_test.go

    	}
    	got := getWorkloadServiceEntries(ses, wle)
    	if !reflect.DeepEqual(got, expected) {
    		t.Errorf("recv unexpected se: %v", got)
    	}
    }
    
    func TestCompareServiceEntries(t *testing.T) {
    	oldSes := map[types.NamespacedName]*config.Config{
    		{Namespace: "default", Name: "se-1"}: {},
    		{Namespace: "default", Name: "se-2"}: {},
    		{Namespace: "default", Name: "se-3"}: {},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 17 22:32:10 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java

          if (oldValue != null) {
            throw conflictException("key", e.getKey() + "=" + oldValue, entryArray[i]);
          }
          K oldKey = backwardDelegate.putIfAbsent(e.getValue(), e.getKey());
          if (oldKey != null) {
            throw conflictException("value", oldKey + "=" + e.getValue(), entryArray[i]);
          }
        }
        ImmutableList<Entry<K, V>> entryList = ImmutableList.asImmutableList(entryArray, n);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/modfile/work.go

    		}
    	}
    	return nil
    }
    
    func (f *WorkFile) AddReplace(oldPath, oldVers, newPath, newVers string) error {
    	return addReplace(f.Syntax, &f.Replace, oldPath, oldVers, newPath, newVers)
    }
    
    func (f *WorkFile) DropReplace(oldPath, oldVers string) error {
    	for _, r := range f.Replace {
    		if r.Old.Path == oldPath && r.Old.Version == oldVers {
    			r.Syntax.markRemoved()
    			*r = Replace{}
    		}
    	}
    	return nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. pkg/config/schema/codegen/templates/crdclient.go.tmpl

    	case gvk.{{.Resource.Identifier}}:
    		oldRes := &{{ .IstioAwareClientImport }}.{{ .Resource.Kind }}{
    				ObjectMeta: origMeta,
    				Spec:       *(orig.Spec.(*{{ .ClientImport }}.{{.SpecType}})),
    		}
    		modRes := &{{ .IstioAwareClientImport }}.{{ .Resource.Kind }}{
    			ObjectMeta: modMeta,
    			Spec:       *(mod.Spec.(*{{ .ClientImport }}.{{.SpecType}})),
    		}
    		patchBytes, err := genPatchBytes(oldRes, modRes, typ)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 13:57:51 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. cmd/xl-storage-meta-inline.go

    	}
    
    	// Reserialize...
    	x.serialize(plSize, keys, vals)
    }
    
    // rename will rename a key.
    // Returns whether the key was found.
    func (x *xlMetaInlineData) rename(oldKey, newKey string) bool {
    	in := x.afterVersion()
    	sz, buf, _ := msgp.ReadMapHeaderBytes(in)
    	keys := make([][]byte, 0, sz)
    	vals := make([][]byte, 0, sz)
    
    	// Version plus header...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top