- Sort Score
- Result 10 results
- Languages All
Results 121 - 123 of 123 for iota (0.05 sec)
-
src/crypto/rc4/rc4.go
type Cipher struct { s [256]uint32 i, j uint8 } type KeySizeError int func (k KeySizeError) Error() string { return "crypto/rc4: invalid key size " + strconv.Itoa(int(k)) } // NewCipher creates and returns a new [Cipher]. The key argument should be the // RC4 key, at least 1 byte and at most 256 bytes. func NewCipher(key []byte) (*Cipher, error) { k := len(key)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 1.9K bytes - Viewed (0) -
src/log/slog/record_test.go
} // Currently, pc(2) takes over 400ns, which is too expensive // to call it for every log message. func BenchmarkPC(b *testing.B) { for depth := 0; depth < 5; depth++ { b.Run(strconv.Itoa(depth), func(b *testing.B) { b.ReportAllocs() var x uintptr for i := 0; i < b.N; i++ { x = callerPC(depth) } _ = x }) } } func BenchmarkRecord(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 15:10:55 UTC 2023 - 4K bytes - Viewed (0) -
src/os/fifo_test.go
} if err := f.Close(); err != nil { t.Error(err) return } } }() dir := t.TempDir() <-start for i := 0; i < attempts; i++ { name := filepath.Join(dir, strconv.Itoa(i)) if err := syscall.Mkfifo(name, 0o600); err != nil { t.Fatal(err) } // The problem only occurs if we use O_NONBLOCK here. rd, err := os.OpenFile(name, os.O_RDONLY|syscall.O_NONBLOCK, 0o600)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:47:23 UTC 2024 - 6.1K bytes - Viewed (0)