Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 942 for errC (0.03 sec)

  1. cmd/bucket-replication-utils_gen.go

    		if err != nil {
    			err = msgp.WrapError(err, "TargetsMap")
    			return
    		}
    		err = za0002.EncodeMsg(en)
    		if err != nil {
    			err = msgp.WrapError(err, "TargetsMap", za0001)
    			return
    		}
    	}
    	// write "id"
    	err = en.Append(0xa2, 0x69, 0x64)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.ID)
    	if err != nil {
    		err = msgp.WrapError(err, "ID")
    		return
    	}
    	// write "lu"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  2. cmd/metacache_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "ended")
    				return
    			}
    		case "st":
    			z.started, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "started")
    				return
    			}
    		case "lh":
    			z.lastHandout, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "lastHandout")
    				return
    			}
    		case "u":
    			z.lastUpdate, err = dc.ReadTime()
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
  3. cmd/background-newdisks-heal-ops_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "ID")
    				return
    			}
    		case "PoolIndex":
    			z.PoolIndex, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "PoolIndex")
    				return
    			}
    		case "SetIndex":
    			z.SetIndex, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "SetIndex")
    				return
    			}
    		case "DiskIndex":
    			z.DiskIndex, err = dc.ReadInt()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 15:42:49 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  4. cmd/data-scanner_test.go

    					NewerNoncurrentVersions: 1,
    				},
    			},
    		},
    	}
    	lcXML, err := xml.Marshal(lc)
    	if err != nil {
    		t.Fatalf("Failed to marshal lifecycle config: %v", err)
    	}
    	vcfg := versioning.Versioning{
    		Status: "Enabled",
    	}
    	vcfgXML, err := xml.Marshal(vcfg)
    	if err != nil {
    		t.Fatalf("Failed to marshal versioning config: %v", err)
    	}
    
    	bucket := "bucket"
    	obj := "obj-1"
    	now := time.Now()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 03 11:18:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. internal/dsync/lock-args_gen.go

    				var zb0002 uint8
    				zb0002, err = dc.ReadUint8()
    				if err != nil {
    					err = msgp.WrapError(err, "Code")
    					return
    				}
    				z.Code = ResponseCode(zb0002)
    			}
    		case "Err":
    			z.Err, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Err")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. internal/event/config.go

    	type filterRule FilterRule
    	rule := filterRule{}
    	if err := d.DecodeElement(&rule, &start); err != nil {
    		return err
    	}
    
    	if rule.Name != "prefix" && rule.Name != "suffix" {
    		return &ErrInvalidFilterName{rule.Name}
    	}
    
    	if err := ValidateFilterRuleValue(filter.Value); err != nil {
    		return err
    	}
    
    	*filter = FilterRule(rule)
    
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  7. internal/lock/lock_nix.go

    			Op:   "open",
    			Path: path,
    			Err:  syscall.EINVAL,
    		}
    	}
    
    	f, err := os.OpenFile(path, flag|syscall.O_SYNC, perm)
    	if err != nil {
    		return nil, err
    	}
    
    	if err = syscall.Flock(int(f.Fd()), lockType); err != nil {
    		f.Close()
    		if err == syscall.EWOULDBLOCK {
    			err = ErrAlreadyLocked
    		}
    		return nil, err
    	}
    
    	st, err := os.Stat(path)
    	if err != nil {
    		f.Close()
    		return nil, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  8. cmd/site-replication-utils_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "Version")
    				return
    			}
    		case "ss":
    			err = z.Status.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Status")
    				return
    			}
    		case "did":
    			z.DeplID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "DeplID")
    				return
    			}
    		case "bkts":
    			var zb0002 uint32
    			zb0002, err = dc.ReadMapHeader()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 14 15:16:40 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  9. callbacks/raw.go

    package callbacks
    
    import (
    	"gorm.io/gorm"
    )
    
    func RawExec(db *gorm.DB) {
    	if db.Error == nil && !db.DryRun {
    		result, err := db.Statement.ConnPool.ExecContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    		if err != nil {
    			db.AddError(err)
    			return
    		}
    
    		db.RowsAffected, _ = result.RowsAffected()
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Nov 29 01:33:20 UTC 2021
    - 336 bytes
    - Viewed (0)
  10. internal/disk/stat_netbsd.go

    	"fmt"
    
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := unix.Statvfs_t{}
    	if err = unix.Statvfs(path, &s); err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := uint64(s.Bfree) - uint64(s.Bavail)
    	info = Info{
    		Total:  uint64(s.Frsize) * (uint64(s.Blocks) - reservedBlocks),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top