- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 87 for newOff (0.12 sec)
-
src/vendor/golang.org/x/net/dns/dnsmessage/message.go
} func (h *header) unpack(msg []byte, off int) (int, error) { newOff := off var err error if h.id, newOff, err = unpackUint16(msg, newOff); err != nil { return off, &nestedError{"id", err} } if h.bits, newOff, err = unpackUint16(msg, newOff); err != nil { return off, &nestedError{"bits", err} } if h.questions, newOff, err = unpackUint16(msg, newOff); err != nil { return off, &nestedError{"questions", err} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 00:09:40 UTC 2024 - 69K bytes - Viewed (0) -
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) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source_test.go
return nil } func (fp *FakePolicy) DeepCopyObject() runtime.Object { // totally fudged deepcopy newFP := &FakePolicy{} *newFP = *fp return newFP } func (fb *FakeBinding) DeepCopyObject() runtime.Object { // totally fudged deepcopy newFB := &FakeBinding{} *newFB = *fb return newFB
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 6.2K bytes - Viewed (0) -
cmd/config-migrate.go
} // Move to latest. cfg.Version = "33" newCfg := newServerConfig() config.SetRegion(newCfg, cfg.Region) storageclass.SetStorageClass(newCfg, cfg.StorageClass) for k, loggerArgs := range cfg.Logger.HTTP { logger.SetLoggerHTTP(newCfg, k, loggerArgs) } for k, auditArgs := range cfg.Logger.AuditWebhook { logger.SetLoggerHTTPAudit(newCfg, k, auditArgs) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0) -
internal/config/browser/browser.go
} // Update Updates browser with new config func (browseCfg *Config) Update(newCfg Config) { configLock.Lock() defer configLock.Unlock() browseCfg.CSPPolicy = newCfg.CSPPolicy browseCfg.HSTSSeconds = newCfg.HSTSSeconds browseCfg.HSTSIncludeSubdomains = newCfg.HSTSIncludeSubdomains browseCfg.HSTSPreload = newCfg.HSTSPreload browseCfg.ReferrerPolicy = newCfg.ReferrerPolicy }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.8K bytes - Viewed (1) -
cmd/erasure-decode.go
newBuf := dst if len(dst) != len(p.readers) { newBuf = make([][]byte, len(p.readers)) } else { for i := range newBuf { newBuf[i] = newBuf[i][:0] } } var newBufLK sync.RWMutex if p.offset+p.shardSize > p.shardFileSize { p.shardSize = p.shardFileSize - p.offset } if p.shardSize == 0 { return newBuf, nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 21 14:36:21 UTC 2024 - 9.4K bytes - Viewed (0) -
src/crypto/cipher/ofb.go
cipher []byte out []byte outUsed int } // NewOFB returns a [Stream] that encrypts or decrypts using the block cipher b // in output feedback mode. The initialization vector iv's length must be equal // to b's block size. func NewOFB(b Block, iv []byte) Stream { blockSize := b.BlockSize() if len(iv) != blockSize { panic("cipher.NewOFB: IV length must equal block size") } bufSize := streamBufferSize
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 1.6K bytes - Viewed (0) -
src/crypto/cipher/cfb.go
// size. func NewCFBEncrypter(block Block, iv []byte) Stream { return newCFB(block, iv, false) } // NewCFBDecrypter returns a [Stream] which decrypts with cipher feedback mode, // using the given [Block]. The iv must be the same length as the [Block]'s block // size. func NewCFBDecrypter(block Block, iv []byte) Stream { return newCFB(block, iv, true) } func newCFB(block Block, iv []byte, decrypt bool) Stream {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 2K 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)