- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 458 for readDir (0.15 sec)
-
internal/ringbuffer/ring_buffer_test.go
fmt.Println(args...) } } // Inject random reader/writer sleeps. const maxSleep = int(1 * time.Millisecond) doSleep := !testing.Short() rb := New(4 << 10).SetBlocking(true) // Reader var readErr error var wg sync.WaitGroup wg.Add(1) go func() { readRng := rand.New(rand.NewSource(1)) defer wg.Done() defer rb.CloseWithError(readErr) buf := make([]byte, 1024) for { // Read
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 26.8K 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) -
api/go1.txt
pkg testing/iotest, func DataErrReader(io.Reader) io.Reader pkg testing/iotest, func HalfReader(io.Reader) io.Reader pkg testing/iotest, func NewReadLogger(string, io.Reader) io.Reader pkg testing/iotest, func NewWriteLogger(string, io.Writer) io.Writer pkg testing/iotest, func OneByteReader(io.Reader) io.Reader pkg testing/iotest, func TimeoutReader(io.Reader) io.Reader
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M 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/erasure-server-pool-rebalance_gen.go
func (z *rstats) DecodeMsg(dc *msgp.Reader) (err error) { var zb0002 uint32 zb0002, err = dc.ReadArrayHeader() if err != nil { err = msgp.WrapError(err) return } if cap((*z)) >= int(zb0002) { (*z) = (*z)[:zb0002] } else { (*z) = make(rstats, zb0002) } for zb0001 := range *z { if dc.IsNil() { err = dc.ReadNil() if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 26.8K bytes - Viewed (0) -
cmd/metacache-stream_test.go
if err != io.EOF { t.Fatal(err) } } func Test_metacacheReader_readAll(t *testing.T) { r := loadMetacacheSample(t) defer r.Close() var readErr error objs := make(chan metaCacheEntry, 1) var wg sync.WaitGroup wg.Add(1) go func() { readErr = r.readAll(context.Background(), objs) wg.Done() }() want := loadMetacacheSampleNames i := 0 for entry := range objs {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 15K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
0, 0, 0, 0, 0, 5 }, 0, sidBytes, 2, 6); System.arraycopy(bytes, 0, sidBytes, 8, bytes.length); return new SID(sidBytes, 0); } public SID readSid () throws IOException, PACDecodingException { int sidSize = readInt(); byte[] bytes = new byte[8 + sidSize * 4]; readFully(bytes); return new SID(bytes, 0); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jul 21 21:19:58 UTC 2018 - 5.1K bytes - Viewed (0) -
internal/dsync/lock-args_gen.go
return } case "Source": z.Source, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Source") return } case "Quorum": if dc.IsNil() { err = dc.ReadNil() if err != nil { err = msgp.WrapError(err, "Quorum") return } z.Quorum = nil } else { if z.Quorum == nil { z.Quorum = new(int) } *z.Quorum, err = dc.ReadInt()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 10.2K bytes - Viewed (0) -
cmd/batch-handlers_gen.go
return } case "Started": z.Started, err = dc.ReadTime() if err != nil { err = msgp.WrapError(err, "Started") return } case "Replicate": if dc.IsNil() { err = dc.ReadNil() if err != nil { err = msgp.WrapError(err, "Replicate") return } z.Replicate = nil } else { if z.Replicate == nil { z.Replicate = new(BatchJobReplicateV1) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 20.4K bytes - Viewed (0) -
cmd/batch-expire_gen.go
case "OlderThan": err = z.OlderThan.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "OlderThan") return } case "CreatedBefore": if dc.IsNil() { err = dc.ReadNil() if err != nil { err = msgp.WrapError(err, "CreatedBefore") return } z.CreatedBefore = nil } else { if z.CreatedBefore == nil { z.CreatedBefore = new(time.Time)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 19.9K bytes - Viewed (0)