- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for oldKeys (0.21 sec)
-
src/cmd/vendor/golang.org/x/mod/modfile/rule.go
} return nil } func (f *File) AddReplace(oldPath, oldVers, newPath, newVers string) error { return addReplace(f.Syntax, &f.Replace, oldPath, oldVers, newPath, newVers) } func addReplace(syntax *FileSyntax, replace *[]*Replace, oldPath, oldVers, newPath, newVers string) error { need := true old := module.Version{Path: oldPath, Version: oldVers} new := module.Version{Path: newPath, Version: newVers}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 46.5K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/helpers_test.go
UID: "test_pod_uid", }, Spec: v1.PodSpec{ Containers: []v1.Container{*container}, }, } oldKey := getStableKey(pod, container) // Updating the container image should change the key. container.Image = "foo/image:v2" newKey := getStableKey(pod, container) assert.NotEqual(t, oldKey, newKey) } func TestToKubeContainer(t *testing.T) { c := &runtimeapi.Container{ Id: "test-id",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 11.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
int entryForValue = findEntryByValue(value, valueHash); if (entryForValue != ABSENT) { K oldKey = keys[entryForValue]; if (Objects.equal(oldKey, key)) { return key; } else { replaceKeyInEntry(entryForValue, key, force); return oldKey; } } int predecessor = lastInInsertionOrder; int keyHash = Hashing.smearedHash(key);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 36.4K bytes - Viewed (0) -
cmd/encryption-v1.go
if err != nil { return err } oldKey, err := GlobalKMS.Decrypt(ctx, &kms.DecryptRequest{ Name: keyID, Ciphertext: kmsKey, AssociatedData: kms.Context{bucket: path.Join(bucket, object)}, }) if err != nil { return err } var objectKey crypto.ObjectKey if err = objectKey.Unseal(oldKey, sealedKey, crypto.S3.String(), bucket, object); err != nil { return err
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 06:56:12 UTC 2024 - 37.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashBiMap.java
} @Override @ParametricNullness public K setValue(@ParametricNullness K key) { K oldKey = delegate.key; int keyHash = smearedHash(key); if (keyHash == delegate.keyHash && Objects.equal(key, oldKey)) { return key; } checkArgument(seekByKey(key, keyHash) == null, "value already present: %s", key);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 24.5K bytes - Viewed (0) -
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) -
pilot/pkg/config/kube/crdclient/client.go
ResourceVersion: config.ResourceVersion, OwnerReferences: config.OwnerReferences, UID: types.UID(config.UID), } } func genPatchBytes(oldRes, modRes runtime.Object, patchType types.PatchType) ([]byte, error) { oldJSON, err := json.Marshal(oldRes) if err != nil { return nil, fmt.Errorf("failed marhsalling original resource: %v", err) } newJSON, err := json.Marshal(modRes) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 00:12:28 UTC 2024 - 13.7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller.go
var oldSes map[types.NamespacedName]*config.Config if oldWle != nil { if labels.Instance(oldWle.Labels).Equals(curr.Labels) { oldSes = currSes } else { // labels update should trigger proxy update s.XdsUpdater.ProxyUpdate(s.Cluster(), wle.Address) oldSes = getWorkloadServiceEntries(cfgs, oldWle) } } unSelected := difference(oldSes, currSes)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 36.8K bytes - Viewed (0) -
src/cmd/go/internal/modget/get.go
for _, q := range queries { if q.matchesPackages { pkgPatterns = append(pkgPatterns, q.pattern) } } r.checkPackageProblems(ctx, pkgPatterns) // Everything succeeded. Update go.mod. oldReqs := reqsFromGoMod(modload.ModFile()) if err := modload.WriteGoMod(ctx, opts); err != nil { // A TooNewError can happen for 'go get go@newversion' // when all the required modules are old enough
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:26:32 UTC 2024 - 66.5K bytes - Viewed (0) -
src/runtime/syscall_windows_test.go
func TestStdcallAndCDeclCallbacks(t *testing.T) { if _, err := exec.LookPath("gcc"); err != nil { t.Skip("skipping test: gcc is missing") } tmp := t.TempDir() oldRegs := runtime.SetIntArgRegs(abi.IntArgRegs) defer runtime.SetIntArgRegs(oldRegs) for _, dll := range cbDLLs { t.Run(dll.name, func(t *testing.T) { dllPath := dll.build(t, tmp) dll := syscall.MustLoadDLL(dllPath) defer dll.Release()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 16:31:35 UTC 2023 - 32.5K bytes - Viewed (0)