- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 127 for newOff (0.21 sec)
-
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) -
staging/src/k8s.io/apimachinery/pkg/runtime/allocator_test.go
} for i := initialSize; i > 0; i = i / 10 { newBuff := target.Allocate(uint64(i)) if cap(newBuff) < initialSize { t.Fatalf("allocator is now allowed to shrink memory") } if len(newBuff) != i { t.Fatalf("unexpected length of the buffer, expected: %v, got: %v", i, len(newBuff)) } } } func TestAllocatorZero(t *testing.T) { target := &Allocator{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 23 13:38:29 UTC 2022 - 2.4K bytes - Viewed (0) -
pkg/registry/core/configmap/strategy_test.go
} newCfg := &api.ConfigMap{ ObjectMeta: metav1.ObjectMeta{ Name: "valid-config-data-2", Namespace: metav1.NamespaceDefault, ResourceVersion: "4", }, Data: map[string]string{ "invalidKey": "updatedValue", }, } Strategy.PrepareForUpdate(ctx, newCfg, cfg) errs = Strategy.ValidateUpdate(ctx, newCfg, cfg) if len(errs) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 09 11:14:08 UTC 2017 - 1.7K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/libgo2/dup2.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 374 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) -
src/internal/poll/fd_unixjs.go
// set its O_CLOEXEC bit, using two system calls. func dupCloseOnExecOld(fd int) (int, string, error) { syscall.ForkLock.RLock() defer syscall.ForkLock.RUnlock() newfd, err := syscall.Dup(fd) if err != nil { return -1, "dup", err } syscall.CloseOnExec(newfd) return newfd, "", nil } // Fchdir wraps syscall.Fchdir. func (fd *FD) Fchdir() error { if err := fd.incref(); err != nil { return err } defer fd.decref()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 00:12:41 UTC 2023 - 2K bytes - Viewed (0) -
src/crypto/cipher/ofb_test.go
if err != nil { t.Errorf("%s: NewCipher(%d bytes) = %s", test, len(tt.key), err) continue } for j := 0; j <= 5; j += 5 { plaintext := tt.in[0 : len(tt.in)-j] ofb := cipher.NewOFB(c, tt.iv) ciphertext := make([]byte, len(plaintext)) ofb.XORKeyStream(ciphertext, plaintext) if !bytes.Equal(ciphertext, tt.out[:len(plaintext)]) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 3K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/libgo2/dup3.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 341 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/encoding/xml/typeinfo.go
if oldf.parents[p] != newf.parents[p] { continue Loop } } if len(oldf.parents) > len(newf.parents) { if oldf.parents[len(newf.parents)] == newf.name { conflicts = append(conflicts, i) } } else if len(oldf.parents) < len(newf.parents) { if newf.parents[len(oldf.parents)] == oldf.name { conflicts = append(conflicts, i) } } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:23:29 UTC 2023 - 9.6K bytes - Viewed (0)