- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 442 for bufs (0.02 seconds)
-
internal/disk/type_linux.go
var fsType2StringMap = map[string]string{ "1021994": "TMPFS", "137d": "EXT", "4244": "HFS", "4d44": "MSDOS", "52654973": "REISERFS", "5346544e": "NTFS", "58465342": "XFS", "61756673": "AUFS", "6969": "NFS", "ef51": "EXT2OLD", "ef53": "EXT4", "f15f": "ecryptfs", "794c7630": "overlayfs", "2fc12fc1": "zfs", "ff534d42": "cifs", "53464846": "wslfs", }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 1.6K bytes - Click Count (0) -
cmd/xl-storage.go
stat, err := f.Stat() if err != nil { buf, err = io.ReadAll(f) return buf, dmTime, osErrToFileErr(err) } if stat.IsDir() { return nil, dmTime, errFileNotFound } // Read into appropriate buffer. sz := stat.Size() if sz <= metaDataReadDefault { buf = metaDataPoolGet() buf = buf[:sz] } else { buf = make([]byte, sz) } // Read file...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 91.7K bytes - Click Count (0) -
cmd/api-headers.go
} // Encodes the response headers into XML format. func encodeResponse(response any) []byte { var buf bytes.Buffer buf.WriteString(xml.Header) if err := xml.NewEncoder(&buf).Encode(response); err != nil { bugLogIf(GlobalContext, err) return nil } return buf.Bytes() } // Use this encodeResponseList() to support control characters // this function must be used by only ListObjects() for objects
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.6K bytes - Click Count (0) -
internal/disk/stat_linux_32bit.go
var fsType2StringMap = map[string]string{ "1021994": "TMPFS", "137d": "EXT", "4244": "HFS", "4d44": "MSDOS", "52654973": "REISERFS", "5346544e": "NTFS", "58465342": "XFS", "61756673": "AUFS", "6969": "NFS", "ef51": "EXT2OLD", "ef53": "EXT4", "f15f": "ecryptfs", "794c7630": "overlayfs", "2fc12fc1": "zfs", "ff534d42": "cifs", "53464846": "wslfs", }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 2.6K bytes - Click Count (0) -
cmd/erasure-object.go
// We use 2 buffers, so we always have a full buffer of input. pool := globalBytePoolCap.Load() bufA := pool.Get() bufB := pool.Get() defer pool.Put(bufA) defer pool.Put(bufB) ra, err := readahead.NewReaderBuffer(data, [][]byte{bufA[:fi.Erasure.BlockSize], bufB[:fi.Erasure.BlockSize]}) if err == nil { toEncode = ra defer ra.Close() } bugLogIf(ctx, err) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 80.4K bytes - Click Count (0) -
cmd/storage-rest-server.go
bufp := poolBuf8k.Get() buf := *bufp defer poolBuf8k.Put(bufp) for { _, err := io.ReadFull(respBody, tmp[:]) if err != nil { return err } // Check if we have a response ready or a filler byte. switch tmp[0] { case 0: // 0 is unbuffered, copy the rest. _, err := io.CopyBuffer(w, respBody, buf) if err == io.EOF { return nil
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 45.7K bytes - Click Count (0) -
src/archive/zip/writer.go
// https://bugs.openjdk.org/browse/JDK-7073588. // The approach here is to write 8 byte sizes if needed without // adding a zip64 extra in the local header (too late anyway). var buf []byte if w.isZip64() { buf = make([]byte, dataDescriptor64Len) } else { buf = make([]byte, dataDescriptorLen) } b := writeBuf(buf)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Jan 28 04:20:09 GMT 2025 - 19.4K bytes - Click Count (0) -
src/bytes/buffer_test.go
} // Verify that contents of buf match the string s. func check(t *testing.T, testname string, buf *Buffer, s string) { bytes := buf.Bytes() str := buf.String() if buf.Len() != len(bytes) { t.Errorf("%s: buf.Len() == %d, len(buf.Bytes()) == %d", testname, buf.Len(), len(bytes)) } if buf.Len() != len(str) { t.Errorf("%s: buf.Len() == %d, len(buf.String()) == %d", testname, buf.Len(), len(str)) }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0) -
cmd/data-usage-cache_gen_test.go
v := allTierStats{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeallTierStats Msgsize() is inaccurate") } vn := allTierStats{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) } }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcMessage.java
} void encode_header(final NdrBuffer buf) { buf.enc_ndr_small(5); /* RPC version */ buf.enc_ndr_small(0); /* minor version */ buf.enc_ndr_small(this.ptype); buf.enc_ndr_small(this.flags); buf.enc_ndr_long(0x00000010); /* Little-endian / ASCII / IEEE */ buf.enc_ndr_short(this.length); buf.enc_ndr_short(0); /* length of auth_value */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.3K bytes - Click Count (0)