- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 475 for readLen (0.06 sec)
-
cmd/encryption-v1_test.go
decryptedRangeRef := func(s []int64, skipLen, readLen int64, isFromEnd bool) (o, l, skip int64, sn uint32, ps int) { oSize := lsum(s) if isFromEnd { skipLen = oSize - readLen } if skipLen < 0 || readLen < 0 || oSize < 0 || skipLen+readLen > oSize { t.Fatalf("Impossible read specified: %d %d %d", skipLen, readLen, oSize) } var cumulativeSum, cumulativeEncSum int64
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 19.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
// When assigned to a long field, it gets sign-extended int readLen = response.readParameterWordsWireFormat(bytes, 0); long expectedOffset = expectedInt; // Sign extension happens here for negative values assertEquals(expectedOffset, response.getOffset(), "Offset should match decoded value"); assertEquals(4, readLen, "Byte count returned should be 4"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
cmd/erasure-decode_test.go
for range iterations { offset := r.Int63n(length) readLen := r.Int63n(length - offset) expected := data[offset : offset+readLen] // Get the checksums of the current part. bitrotReaders := make([]io.ReaderAt, len(disks)) for index, disk := range disks { if disk == OfflineDisk { continue } tillOffset := erasure.ShardFileOffset(offset, readLen, length)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 21K bytes - Viewed (0) -
src/bytes/reader.go
import ( "errors" "io" "unicode/utf8" ) // A Reader implements the [io.Reader], [io.ReaderAt], [io.WriterTo], [io.Seeker], // [io.ByteScanner], and [io.RuneScanner] interfaces by reading from // a byte slice. // Unlike a [Buffer], a Reader is read-only and supports seeking. // The zero value for Reader operates like a Reader of an empty slice. type Reader struct { s []byte i int64 // current reading index
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jul 16 18:17:37 UTC 2024 - 3.9K bytes - Viewed (0) -
README.md
### Translations - [日本語 (Japanese)](docs/ja/README.md) - [简体中文 (Simplified Chinese)](docs/zh-CN/README.md) - [Español (Spanish)](docs/es/README.md) - [Português (Brazilian Portuguese)](docs/pt-BR/README.md) - [Français (French)](docs/fr/README.md) - [Deutsch (German)](docs/de/README.md) - [한국어 (Korean)](docs/ko/README.md) ## Powered By
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 06:34:32 UTC 2025 - 7.2K bytes - Viewed (2) -
src/archive/zip/reader.go
// the [ErrInsecurePath] error and use the returned reader. func NewReader(r io.ReaderAt, size int64) (*Reader, error) { if size < 0 { return nil, errors.New("zip: size cannot be negative") } zr := new(Reader) var err error if err = zr.init(r, size); err != nil && err != ErrInsecurePath { return nil, err } return zr, err } func (r *Reader) init(rdr io.ReaderAt, size int64) error {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 28.4K bytes - Viewed (0) -
src/cmd/README.vendor
See src/README.vendor for information on loading vendored packages
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu May 09 17:11:16 UTC 2019 - 102 bytes - Viewed (0) -
api/README
that will be preserved when next/*.txt is concatenated into go1.XX.txt.) When you add a file to the api/next directory, you must add at least one file
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 31 19:22:50 UTC 2024 - 1.2K bytes - Viewed (0) -
docs/metrics/README.md
- Cluster probe available at `/minio/health/cluster` Read more on how to use these endpoints in [MinIO healthcheck guide](https://github.com/minio/minio/blob/master/docs/metrics/healthcheck/README.md). ## Prometheus Probe
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Feb 29 18:35:20 UTC 2024 - 1.9K bytes - Viewed (0) -
src/archive/tar/reader.go
"strconv" "strings" "time" ) // Reader provides sequential access to the contents of a tar archive. // Reader.Next advances to the next file in the archive (including the first), // and then Reader can be treated as an io.Reader to access the file's data. type Reader struct { r io.Reader pad int64 // Amount of padding (ignored) after current file entry curr fileReader // Reader for current file entry
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0)