Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for ReadBool (0.1 sec)

  1. cmd/metacache-stream.go

    func (r *metacacheReader) peek() (metaCacheEntry, error) {
    	r.checkInit()
    	if r.err != nil {
    		return metaCacheEntry{}, r.err
    	}
    	if r.current.name != "" {
    		return r.current, nil
    	}
    	if more, err := r.mr.ReadBool(); !more {
    		switch err {
    		case nil:
    			r.err = io.EOF
    			return metaCacheEntry{}, io.EOF
    		case io.EOF:
    			r.err = io.ErrUnexpectedEOF
    			return metaCacheEntry{}, io.ErrUnexpectedEOF
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  2. cmd/metacache-set_gen.go

    				return
    			}
    		case "Create":
    			z.Create, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Create")
    				return
    			}
    		case "IncludeDirectories":
    			z.IncludeDirectories, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "IncludeDirectories")
    				return
    			}
    		case "Transient":
    			z.Transient, err = dc.ReadBool()
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 20:23:12 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. cmd/batch-job-common-types_gen.go

    				if err != nil {
    					err = msgp.WrapError(err, "Disable")
    					return
    				}
    				z.Disable = nil
    			} else {
    				if z.Disable == nil {
    					z.Disable = new(bool)
    				}
    				*z.Disable, err = dc.ReadBool()
    				if err != nil {
    					err = msgp.WrapError(err, "Disable")
    					return
    				}
    			}
    		case "Batch":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  4. cmd/local-locker_gen.go

    		}
    		switch msgp.UnsafeString(field) {
    		case "Name":
    			z.Name, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Name")
    				return
    			}
    		case "Writer":
    			z.Writer, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Writer")
    				return
    			}
    		case "UID":
    			z.UID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "UID")
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    					}
    				}
    			}
    		case "r":
    			z.Recursive, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Recursive")
    				return
    			}
    		case "i":
    			z.Immediate, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Immediate")
    				return
    			}
    		case "u":
    			z.UndoWrite, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "UndoWrite")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  6. cmd/mrf_gen.go

    				return
    			}
    		case "Queued":
    			z.Queued, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "Queued")
    				return
    			}
    		case "BitrotScan":
    			z.BitrotScan, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "BitrotScan")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. internal/grid/msg_gen.go

    		switch msgp.UnsafeString(field) {
    		case "ID":
    			err = dc.ReadExactBytes((z.ID)[:])
    			if err != nil {
    				err = msgp.WrapError(err, "ID")
    				return
    			}
    		case "Accepted":
    			z.Accepted, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Accepted")
    				return
    			}
    		case "RejectedReason":
    			z.RejectedReason, err = dc.ReadString()
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  8. cmd/batch-handlers_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "Attempts")
    				return
    			}
    		case "cmp":
    			z.Complete, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Complete")
    				return
    			}
    		case "fld":
    			z.Failed, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Failed")
    				return
    			}
    		case "lbkt":
    			z.Bucket, err = dc.ReadString()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. cmd/data-usage-cache_gen.go

    			}
    		case "LastUpdate":
    			z.LastUpdate, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "LastUpdate")
    				return
    			}
    		case "SkipHealing":
    			z.SkipHealing, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "SkipHealing")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  10. cmd/site-replication-metrics_gen.go

    				return
    			}
    		case "LastOnline":
    			z.LastOnline, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "LastOnline")
    				return
    			}
    		case "Online":
    			z.Online, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Online")
    				return
    			}
    		case "Latency":
    			err = z.Latency.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Latency")
    				return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
Back to top