Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 338 for Err (0.18 sec)

  1. cmd/batch-handlers_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "ID")
    				return
    			}
    		case "User":
    			z.User, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "User")
    				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()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 07 18:58:22 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  2. cmd/batch-expire_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "APIVersion")
    				return
    			}
    		case "Bucket":
    			z.Bucket, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Bucket")
    				return
    			}
    		case "Prefix":
    			z.Prefix, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Prefix")
    				return
    			}
    		case "NotificationCfg":
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  3. cmd/last-minute_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "Total")
    				return
    			}
    		case "Size":
    			z.Size, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "Size")
    				return
    			}
    		case "N":
    			z.N, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "N")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jul 05 21:45:49 GMT 2022
    - 17.2K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users_test.go

    		c.Fatalf("policy was missing!")
    	}
    
    	err = s.adm.RemoveUser(ctx, accessKey)
    	if err != nil {
    		c.Fatalf("user could not be deleted: %v", err)
    	}
    
    	err = s.adm.RemoveCannedPolicy(ctx, policy1)
    	if err != nil {
    		c.Fatalf("policy del err: %v", err)
    	}
    
    	err = s.adm.RemoveCannedPolicy(ctx, policy2)
    	if err != nil {
    		c.Fatalf("policy del err: %v", err)
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  5. 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 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Aug 30 08:00:59 GMT 2023
    - 20.5K bytes
    - Viewed (0)
  6. misc/ios/go_ios_exec.go

    	if _, id, ok := strings.Cut(appID, "."); ok {
    		bundleID = id
    	}
    
    	if err := signApp(appdir); err != nil {
    		return err
    	}
    
    	if err := uninstallDevice(bundleID); err != nil {
    		return err
    	}
    
    	if err := installDevice(appdir); err != nil {
    		return err
    	}
    
    	if err := mountDevImage(); err != nil {
    		return err
    	}
    
    	// Kill any hanging debug bridges that might take up port 3222.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  7. istioctl/pkg/kubeinject/kubeinject.go

    		}
    		iop, err = validate.UnmarshalIOP(y)
    		if err != nil {
    			return "", nil, err
    		}
    		if err := validate.ValidIOP(iop); err != nil {
    			return "", nil, fmt.Errorf("validation errors: \n%s", err)
    		}
    		if err != nil {
    			return "", nil, err
    		}
    		if iop.Spec.Values != nil {
    			values, err := protomarshal.ToJSON(iop.Spec.Values)
    			if err != nil {
    				return "", nil, err
    			}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-rebalance_gen_test.go

    	v := rebalanceInfo{}
    	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 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Oct 25 19:36:57 GMT 2022
    - 11K bytes
    - Viewed (0)
  9. misc/go_android_exec/main.go

    			if err := adb("push", modDir, deviceModDir); err != nil {
    				return 0, err
    			}
    		} else {
    			if err := adb("exec-out", "mkdir", "-p", deviceCwd); err != nil {
    				return 0, err
    			}
    			if err := adbCopyTree(deviceCwd, importPath); err != nil {
    				return 0, err
    			}
    
    			// Copy .go files from the package.
    			goFiles, err := filepath.Glob("*.go")
    			if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  10. cmd/object-api-options.go

    	}
    
    	wantCRC, err := hash.GetContentChecksum(hdr)
    	if err != nil {
    		return opts, fmt.Errorf("invalid/unknown checksum sent: %v", err)
    	}
    	etag := strings.TrimSpace(hdr.Get(xhttp.MinIOSourceETag))
    
    	if crypto.S3KMS.IsRequested(hdr) {
    		keyID, context, err := crypto.S3KMS.ParseHTTP(hdr)
    		if err != nil {
    			return ObjectOptions{}, err
    		}
    		sseKms, err := encrypt.NewSSEKMS(keyID, context)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 14.2K bytes
    - Viewed (0)
Back to top