- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 240 for seas (0.05 sec)
-
internal/crypto/sse_test.go
Metadata: map[string]string{ "X-Minio-Internal-Server-Side-Encryption-Sealed-Key": "IAAfAMBdYor5tf/UlVaQvwYlw5yKbPBeQqfygqsfHqhu1wHD9KDAP4bw38AhL12prFTS23JbbR9Re5Qv26ZnlQ==", "X-Minio-Internal-Server-Side-Encryption-Seal-Algorithm": "DAREv2-HMAC-SHA256", "X-Minio-Internal-Server-Side-Encryption-Iv": "coVfGS3I/CTrqexX5vUN+PQPoP9aUFiPYYrSzqTWfBA=", }, ExpectedErr: nil, },
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 8.4K bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/chacha20poly1305/xchacha20poly1305.go
return NonceSizeX } func (*xchacha20poly1305) Overhead() int { return Overhead } func (x *xchacha20poly1305) Seal(dst, nonce, plaintext, additionalData []byte) []byte { if len(nonce) != NonceSizeX { panic("chacha20poly1305: bad nonce length passed to Seal") } // XChaCha20-Poly1305 technically supports a 64-bit counter, so there is no
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 09 20:10:44 UTC 2021 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/seat_seconds_test.go
testCases := []struct { ss SeatSeconds seats float64 expect time.Duration }{ {ss: SeatsTimesDuration(10, time.Second), seats: 1, expect: 10 * time.Second}, {ss: SeatsTimesDuration(1, time.Second), seats: 10, expect: 100 * time.Millisecond}, {ss: SeatsTimesDuration(13, 5*time.Millisecond), seats: 5, expect: 13 * time.Millisecond}, {ss: SeatsTimesDuration(12, 0), seats: 10, expect: 0}, } for _, testCase := range testCases {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 29 20:20:16 UTC 2021 - 2.5K bytes - Viewed (0) -
test/fixedbugs/bug447.go
for _, typ := range []string{"int", "uint"} { var segs bytes.Buffer itype := fmt.Sprintf("%s%d", typ, iWidth) names.WriteString("\ttest" + itype + ",\n") for _, fWidth := range floatWidths { ftype := fmt.Sprintf("float%d", fWidth) seg := strings.Replace(testSegment, "$F", ftype, -1) seg = strings.Replace(seg, "$I", itype, -1) segs.WriteString(seg) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 2K bytes - Viewed (0) -
cmd/storage-datatypes_test.go
42tymK0szRgGvAxBNcXyHXYooe9dQpeeEJWgKUa/8R61oCy1mFwIg==", "X-Minio-Internal-Server-Side-Encryption-S3-Sealed-Key": "IAAfAPFYRDkHVirJBJxBixNj3PLWt78dFuUTyTLIdLG820J7XqLPBO4gpEEEWw/DoTsJIb+apnaem+rKtQ1h3Q==", "X-Minio-Internal-Server-Side-Encryption-Seal-Algorithm": "DAREv2-HMAC-SHA256", "content-type": "application/octet-stream", "etag": "20000f00e2c3709dc94905c6ce31e1cadbd1c064e14acdcd44cf0ac2db777eeedd88d639fcd64de16851ade8b21a9a1a"}, Parts: []ObjectPartInfo{{ETag: "", Number: 1, Size: 3430, ActualSize:...
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 9.4K bytes - Viewed (0) -
src/crypto/cipher/gcm_test.go
return err } nonce := make([]byte, 12) if _, err := io.ReadFull(rand.Reader, nonce); err != nil { return err } want := generic.Seal(nil, nonce, pt, ad) got := asm.Seal(nil, nonce, pt, ad) if !bytes.Equal(want, got) { return errors.New("incorrect Seal output") } got, err = asm.Open(nil, nonce, want, ad) if err != nil { return errors.New("authentication failed") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 25 15:27:49 UTC 2023 - 35K bytes - Viewed (0) -
src/net/tcpsockopt_solaris.go
} if d == 0 { d = defaultTCPKeepAliveIdle } else if d < 0 { return nil } // The kernel expects seconds so round to next highest second. secs := int(roundDurationUp(d, time.Second)) err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, sysTCP_KEEPIDLE, secs) runtime.KeepAlive(fd) return wrapSyscallError("setsockopt", err) } func setKeepAliveInterval(fd *netFD, d time.Duration) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 3.3K bytes - Viewed (0) -
src/crypto/cipher/benchmark_test.go
for i := 0; i < b.N; i++ { out = aesgcm.Seal(out[:0], nonce[:], buf, ad[:]) } } func benchmarkAESGCMOpen(b *testing.B, buf []byte, keySize int) { b.ReportAllocs() b.SetBytes(int64(len(buf))) var key = make([]byte, keySize) var nonce [12]byte var ad [13]byte aes, _ := aes.NewCipher(key[:]) aesgcm, _ := cipher.NewGCM(aes) var out []byte ct := aesgcm.Seal(nil, nonce[:], buf[:], ad[:]) b.ResetTimer()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 28 19:13:50 UTC 2021 - 3.3K bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_noasm.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !amd64 || !gc || purego package chacha20poly1305 func (c *chacha20poly1305) seal(dst, nonce, plaintext, additionalData []byte) []byte { return c.sealGeneric(dst, nonce, plaintext, additionalData) } func (c *chacha20poly1305) open(dst, nonce, ciphertext, additionalData []byte) ([]byte, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 534 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/max_seats_test.go
"k8s.io/apiserver/pkg/util/flowcontrol/metrics" "k8s.io/client-go/informers" clientsetfake "k8s.io/client-go/kubernetes/fake" "k8s.io/utils/ptr" ) // Test_GetMaxSeats tests max seats retrieved from MaxSeatsTracker func Test_GetMaxSeats(t *testing.T) { testcases := []struct { name string nominalCL int handSize int32 expectedMaxSeats uint64 }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 4.2K bytes - Viewed (0)