Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,069 for err (0.07 sec)

  1. cmd/data-usage-cache_gen.go

    						if err != nil {
    							err = msgp.WrapError(err, "Tiers", za0001, "TotalSize")
    							return
    						}
    					case "nv":
    						za0002.NumVersions, err = dc.ReadInt()
    						if err != nil {
    							err = msgp.WrapError(err, "Tiers", za0001, "NumVersions")
    							return
    						}
    					case "no":
    						za0002.NumObjects, err = dc.ReadInt()
    						if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  2. cmd/batch-handlers_gen.go

    				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()
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. cmd/metacache-set_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "ID")
    				return
    			}
    		case "Bucket":
    			z.Bucket, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Bucket")
    				return
    			}
    		case "BaseDir":
    			z.BaseDir, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "BaseDir")
    				return
    			}
    		case "Prefix":
    			z.Prefix, err = dc.ReadString()
    			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)
  4. cmd/metacache-walk_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "Bucket")
    				return
    			}
    		case "BaseDir":
    			z.BaseDir, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "BaseDir")
    				return
    			}
    		case "Recursive":
    			z.Recursive, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Recursive")
    				return
    			}
    		case "ReportNotFound":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7K bytes
    - Viewed (0)
  5. cmd/bucket-metadata_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "Name")
    				return
    			}
    		case "Created":
    			z.Created, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "Created")
    				return
    			}
    		case "LockEnabled":
    			z.LockEnabled, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "LockEnabled")
    				return
    			}
    		case "PolicyConfigJSON":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. cmd/logging.go

    	logger.LogIf(ctx, "authZ", err, errKind...)
    }
    
    func peersLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	if !errors.Is(err, grid.ErrDisconnected) {
    		logger.LogIf(ctx, "peers", err, errKind...)
    	}
    }
    
    func peersLogAlwaysIf(ctx context.Context, err error, errKind ...interface{}) {
    	if !errors.Is(err, grid.ErrDisconnected) {
    		logger.LogAlwaysIf(ctx, "peers", err, errKind...)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 03 18:49:48 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Checking abandoned parts should do nothing
    	err = er.checkAbandonedParts(ctx, bucket, object, madmin.HealOpts{ScanMode: madmin.HealNormalScan, Remove: true})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	_, err = er.HealObject(ctx, bucket, object, "", madmin.HealOpts{ScanMode: madmin.HealNormalScan})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  8. cmd/sftp-server_test.go

    		c.Fatalf("expected err(%s) but got (%s)", errAuthentication, err)
    	}
    
    	newSSHCon = newSSHConnMock("dillon")
    	_, err = sshPubKeyAuth(newSSHCon, testKey)
    	if err == nil || !errors.Is(err, errNoSuchUser) {
    		c.Fatalf("expected err(%s) but got (%s)", errNoSuchUser, err)
    	}
    }
    
    func (s *TestSuiteIAM) SFTPPublicKeyAuthentication(c *check) {
    	keyBytes, err := os.ReadFile("./testdata/dillon_test_key.pub")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:25 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. cmd/storage-datatypes_gen_test.go

    	v := BaseOptions{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  10. cmd/bucket-stats_gen_test.go

    	v := BucketReplicationStat{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 30 08:00:59 UTC 2023
    - 20.5K bytes
    - Viewed (0)
Back to top