- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for readDir (0.16 sec)
-
cmd/xl-storage.go
// to verify for legacy version. if formatLegacy { // We only need this code if we are moving // from `xl.json` to `xl.meta`, we can avoid // one extra readdir operation here for all // new deployments. entries, err := readDir(currentDataPath) if err != nil && err != errFileNotFound { return res, osErrToFileErr(err) } for _, entry := range entries {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0) -
src/archive/zip/reader_test.go
t.Errorf("Opening %q with fs.FS API succeeded", "") } if _, err := r.Open("test.txt"); err != nil { t.Errorf("Error opening %q with fs.FS API: %v", "test.txt", err) } dirEntries, err := fs.ReadDir(r, ".") if err != nil { t.Fatalf("Error reading the root directory: %v", err) } if len(dirEntries) != 1 || dirEntries[0].Name() != "test.txt" { t.Errorf("Unexpected directory entries")
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 55.6K bytes - Viewed (0) -
cmd/xl-storage-format-v2_gen.go
zb0001-- field, err = dc.ReadMapKeyPtr() if err != nil { err = msgp.WrapError(err) return } switch msgp.UnsafeString(field) { case "V2Obj": if dc.IsNil() { err = dc.ReadNil() if err != nil { err = msgp.WrapError(err, "ObjectV2") return } z.ObjectV2 = nil } else { if z.ObjectV2 == nil { z.ObjectV2 = new(struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 55.5K bytes - Viewed (0) -
cmd/bucket-stats_gen.go
z.CurrentBandwidthInBytesPerSecond, err = dc.ReadFloat64() if err != nil { err = msgp.WrapError(err, "CurrentBandwidthInBytesPerSecond") return } case "lt": if dc.IsNil() { err = dc.ReadNil() if err != nil { err = msgp.WrapError(err, "XferRateLrg") return } z.XferRateLrg = nil } else { if z.XferRateLrg == nil { z.XferRateLrg = new(XferStats) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 57.5K bytes - Viewed (0) -
cmd/data-usage-cache_gen.go
z.ObjVersions[za0002], err = dc.ReadUint64() if err != nil { err = msgp.WrapError(err, "ObjVersions", za0002) return } } case "ats": if dc.IsNil() { err = dc.ReadNil() if err != nil { err = msgp.WrapError(err, "AllTierStats") return } z.AllTierStats = nil } else { if z.AllTierStats == nil { z.AllTierStats = new(allTierStats)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 75K bytes - Viewed (0) -
src/bufio/bufio_test.go
type bufReader struct { name string fn func(*Reader) string } var bufreaders = []bufReader{ {"1", func(b *Reader) string { return reads(b, 1) }}, {"2", func(b *Reader) string { return reads(b, 2) }}, {"3", func(b *Reader) string { return reads(b, 3) }}, {"4", func(b *Reader) string { return reads(b, 4) }}, {"5", func(b *Reader) string { return reads(b, 5) }}, {"7", func(b *Reader) string { return reads(b, 7) }},
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
* * @param reader * リーダー * @return ラップされたリーダー */ protected static Reader wrap(final Reader reader) { if (reader instanceof BufferedReader) { return reader; } if (reader instanceof StringReader) { return reader; } return new BufferedReader(reader, DEFAULT_BUF_SIZE); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 52.4K bytes - Viewed (0) -
cmd/bucket-handlers.go
apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, err) writeErrorResponse(ctx, w, apiErr, r.URL) return } const mapEntryOverhead = 200 var ( reader io.Reader actualSize int64 = -1 fileName string fanOutEntries = make([]minio.PutObjectFanOutEntry, 0, 100) ) maxParts := 1000 // Canonicalize the form values into http.Header.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 12:24:04 UTC 2024 - 63.4K bytes - Viewed (0) -
cmd/bucket-replication-utils_gen.go
import ( "github.com/minio/minio/internal/bucket/replication" "github.com/tinylib/msgp/msgp" ) // DecodeMsg implements msgp.Decodable func (z *BucketReplicationResyncStatus) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field var zb0001 uint32 zb0001, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err) return } for zb0001 > 0 { zb0001--
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 61.1K bytes - Viewed (0) -
kotlin-js-store/yarn.lock
dependencies: bytes "3.1.2" http-errors "2.0.0" iconv-lite "0.4.24" unpipe "1.0.0" readdirp@~3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== dependencies:
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jul 22 12:28:51 UTC 2023 - 87.4K bytes - Viewed (0)