- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for newOff (0.11 sec)
-
src/cmd/compile/internal/ssa/op.go
return ValAndOff(int64(val)<<32 + int64(uint32(off))) } func (x ValAndOff) canAdd32(off int32) bool { newoff := x.Off64() + int64(off) return newoff == int64(int32(newoff)) } func (x ValAndOff) canAdd64(off int64) bool { newoff := x.Off64() + off return newoff == int64(int32(newoff)) } func (x ValAndOff) addOffset32(off int32) ValAndOff { if !x.canAdd32(off) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 15:29:10 UTC 2024 - 18.7K bytes - Viewed (0) -
pkg/adsc/adsc.go
continue } newCfg, err := a.mcpToPilot(m) if err != nil { adscLog.Warnf("Invalid data: %v (%v)", err, string(rsc.Value)) continue } if newCfg == nil { continue } received[newCfg.Namespace+"/"+newCfg.Name] = newCfg newCfg.GroupVersionKind = groupVersionKind oldCfg := a.Store.Get(newCfg.GroupVersionKind, newCfg.Name, newCfg.Namespace)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 05 22:18:49 UTC 2024 - 35K bytes - Viewed (0) -
internal/config/storageclass/storage-class.go
} // Update update storage-class with new config func (sCfg *Config) Update(newCfg Config) { ConfigLock.Lock() defer ConfigLock.Unlock() sCfg.RRS = newCfg.RRS sCfg.Standard = newCfg.Standard sCfg.Optimize = newCfg.Optimize sCfg.inlineBlock = newCfg.inlineBlock sCfg.initialized = true } // Enabled returns if storageClass is enabled is enabled.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.8K bytes - Viewed (0) -
src/crypto/cipher/example_test.go
panic(err) } stream := cipher.NewOFB(block, iv) stream.XORKeyStream(ciphertext[aes.BlockSize:], plaintext) // It's important to remember that ciphertexts must be authenticated // (i.e. by using crypto/hmac) as well as being encrypted in order to // be secure. // OFB mode is the same for both encryption and decryption, so we can // also decrypt that ciphertext with NewOFB.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 30 16:23:44 UTC 2018 - 11.8K bytes - Viewed (0) -
pkg/controller/garbagecollector/graph_builder.go
isUnblocked := c.newRef.BlockOwnerDeletion == nil || (c.newRef.BlockOwnerDeletion != nil && !*c.newRef.BlockOwnerDeletion) if wasBlocked && isUnblocked { node, found := gb.uidToNode.Read(c.newRef.UID) if !found { logger.V(5).Info("cannot find uid in uidToNode", "uid", c.newRef.UID) continue } gb.attemptToDelete.Add(node) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 36.9K bytes - Viewed (0) -
src/encoding/json/stream.go
dec.buf = dec.buf[:n] dec.scanp = 0 } // Grow buffer if not large enough. const minRead = 512 if cap(dec.buf)-len(dec.buf) < minRead { newBuf := make([]byte, len(dec.buf), 2*cap(dec.buf)+minRead) copy(newBuf, dec.buf) dec.buf = newBuf } // Read. Delay error for next iteration (after scan). n, err := dec.r.Read(dec.buf[len(dec.buf):cap(dec.buf)]) dec.buf = dec.buf[0 : len(dec.buf)+n]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 12.9K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/staticpods_test.go
t.Fatalf("couldn't read temp file: %v", err) } newcfg, err := getConfig(constants.CurrentKubernetesVersion.String(), tempCertsDir, tmpEtcdDataDir) if err != nil { t.Fatalf("couldn't create config: %v", err) } // create the kubeadm etcd certs caCert, caKey, err := certsphase.KubeadmCertEtcdCA().CreateAsCA(newcfg) if err != nil { t.Fatalf("couldn't create new CA certificate: %v", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 32K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
// Create new `mhlo.if` op with extra token operands and result. auto new_if = builder.create<IfOp>(region_if.getLoc(), new_result_types, region_if.getPred()); // Move all regions from the old `mhlo.if` op to its replacement. new_if.getTrueBranch().takeBody(region_if.getTrueBranch()); new_if.getFalseBranch().takeBody(region_if.getFalseBranch());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 40.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/controller_test.go
if testDebugLogs { for _, newPL := range newPLs { t.Logf("For %s, digesting newPL=%s", trialStep, fcfmt.Fmt(newPL)) } for _, newFS := range newFSs { t.Logf("For %s, digesting newFS=%s", trialStep, fcfmt.Fmt(newFS)) } } _ = ctlr.lockAndDigestConfigObjects(newPLs, newFSs) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 18.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go
func PtraceSingleStep(pid int) (err error) { return ptrace(PT_STEP, pid, 1, 0) } func Dup3(oldfd, newfd, flags int) error { if oldfd == newfd || flags&^O_CLOEXEC != 0 { return EINVAL } how := F_DUP2FD if flags&O_CLOEXEC != 0 { how = F_DUP2FD_CLOEXEC } _, err := fcntl(oldfd, how, newfd) return err } /* * Exposed directly */ //sys Access(path string, mode uint32) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 05:26:45 UTC 2024 - 15.6K bytes - Viewed (0)