- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 79 for IOUtil (0.03 seconds)
-
internal/ioutil/ioutil.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. // Package ioutil implements some I/O utility functions which are not covered // by the standard library. package ioutil import ( "context" "errors" "io" "os" "runtime/debug" "time" "github.com/dustin/go-humanize" "github.com/minio/minio/internal/bpool"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 11.1K bytes - Click Count (0) -
internal/hash/reader_test.go
err: ioutil.ErrOverread, }, 7: { desc: "Correct sha256, nested, truncated, swapped", src: mustReader(t, bytes.NewReader([]byte("abcd-more-stuff-to-be ignored")), 4, "", "", -1), size: 4, actualSize: -1, sha256hex: "88d4266fd4e6338d13b845fcf289579d209c897823b9217da3e161936f031589", err: ioutil.ErrOverread, }, {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 10.2K bytes - Click Count (0) -
cmd/bitrot-streaming.go
package cmd import ( "bytes" "context" "errors" "hash" "io" "sync" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/ringbuffer" ) // Calculates bitrot in chunks and writes the hash into the stream. type streamingBitrotWriter struct { iow io.WriteCloser closeWithErr func(err error)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jan 17 19:19:30 GMT 2025 - 6.2K bytes - Click Count (0) -
internal/ioutil/hardlimitreader.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. // Package ioutil implements some I/O utility functions which are not covered // by the standard library. package ioutil import ( "errors" "io" ) // ErrOverread is returned to the reader when the hard limit of HardLimitReader is exceeded.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 2K bytes - Click Count (0) -
api/go1.19.txt
pkg go/doc, func ToText //deprecated #51082 pkg io/ioutil, func NopCloser //deprecated #42026 pkg io/ioutil, func ReadAll //deprecated #42026 pkg io/ioutil, func ReadDir //deprecated #42026 pkg io/ioutil, func ReadFile //deprecated #42026 pkg io/ioutil, func TempDir //deprecated #42026 pkg io/ioutil, func TempFile //deprecated #42026 pkg io/ioutil, func WriteFile //deprecated #42026
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Dec 02 16:29:41 GMT 2022 - 17.9K bytes - Click Count (0) -
internal/hash/checker.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jan 20 14:49:07 GMT 2025 - 1.8K bytes - Click Count (0) -
internal/crypto/sse.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package crypto import ( "context" "errors" "fmt" "io" "net/http" "github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/logger" "github.com/minio/sio" ) const ( // SealAlgorithm is the encryption/sealing algorithm used to derive & seal // the key-encryption-key and to en/decrypt the object data.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.3K bytes - Click Count (0) -
internal/ioutil/read_file_noatime_supported.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 937 bytes - Click Count (0) -
internal/ioutil/wait_pipe.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package ioutil import ( "io" "sync" ) // PipeWriter is similar to io.PipeWriter with wait group type PipeWriter struct { *io.PipeWriter once sync.Once done func() }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Apr 27 14:55:36 GMT 2023 - 1.7K bytes - Click Count (0) -
internal/hash/reader.go
} r.checksum = MD5 r.contentSHA256 = SHA256 if r.size < 0 && size >= 0 { r.src = etag.Wrap(ioutil.HardLimitReader(r.src, size), r.src) r.size = size } if r.actualSize <= 0 && actualSize >= 0 { r.actualSize = actualSize } return r, nil } if size >= 0 { r := ioutil.HardLimitReader(src, size) if !disableMD5 { if _, ok := src.(etag.Tagger); !ok {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 11.8K bytes - Click Count (0)