Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 938 for Nil$ (0.02 sec)

  1. cmd/data-usage-cache_gen_test.go

    	v := allTierStats{}
    	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: Fri Oct 04 22:23:33 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. internal/grid/grid_types_msgp_test.go

    		return
    	}
    	err = en.WriteInt(z.Num)
    	if err != nil {
    		err = msgp.WrapError(err, "Num")
    		return
    	}
    	// write "String"
    	err = en.Append(0xa6, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.String)
    	if err != nil {
    		err = msgp.WrapError(err, "String")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  3. cmd/ftp-server-driver.go

    	if bucket == "" {
    		return 0, nil, errors.New("bucket name cannot be empty")
    	}
    
    	clnt, err := driver.getMinIOClient(ctx)
    	if err != nil {
    		return 0, nil, err
    	}
    
    	opts := minio.GetObjectOptions{}
    	obj, err := clnt.GetObject(context.Background(), bucket, object, opts)
    	if err != nil {
    		return 0, nil, err
    	}
    	defer func() {
    		if err != nil && obj != nil {
    			obj.Close()
    		}
    	}()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. cmd/metacache-set_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "FilterPrefix")
    				return
    			}
    		case "Marker":
    			z.Marker, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Marker")
    				return
    			}
    		case "Limit":
    			z.Limit, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Limit")
    				return
    			}
    		case "AskDisks":
    			z.AskDisks, 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)
  5. cmd/tier-last-day-stats_gen.go

    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0007, zb0008 := range z {
    		err = en.WriteString(zb0007)
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		// map header, size 2
    		// write "Bins"
    		err = en.Append(0x82, 0xa4, 0x42, 0x69, 0x6e, 0x73)
    		if err != nil {
    			return
    		}
    		err = en.WriteArrayHeader(uint32(24))
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. cmd/storage-rest-client.go

    	buf, err := rp.MarshalMsg(nil)
    	if err != nil {
    		return nil, err
    	}
    
    	respBody, err := client.call(ctx, storageRESTMethodReadParts, values, bytes.NewReader(buf), -1)
    	defer xhttp.DrainBody(respBody)
    	if err != nil {
    		return nil, err
    	}
    
    	respReader, err := waitForHTTPResponse(respBody)
    	if err != nil {
    		return nil, toStorageErr(err)
    	}
    
    	rd := msgpNewReader(respReader)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  7. docs/debugging/inspect/export.go

    		b, e := io.ReadAll(r)
    		if e != nil {
    			return nil, e
    		}
    		b, _, minor, e := checkXL2V1(b)
    		if e != nil {
    			return nil, e
    		}
    
    		buf := bytes.NewBuffer(nil)
    		var data xlMetaInlineData
    		switch minor {
    		case 0:
    			_, e = msgp.CopyToJSON(buf, bytes.NewReader(b))
    			if e != nil {
    				return nil, e
    			}
    		case 1, 2:
    			v, b, e := msgp.ReadBytesZC(b)
    			if e != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 08 15:58:02 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  8. cmd/batch-replicate_gen_test.go

    	v := BatchJobReplicateCredentials{}
    	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: Tue Aug 29 18:27:23 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  9. cmd/erasure-healing_test.go

    				errDiskNotFound,
    				nil,
    				nil,
    			},
    			dataErrs:         nil,
    			expectedMeta:     fi,
    			expectedDangling: false,
    		},
    		{
    			name: "FileInfoExists-case2",
    			metaArr: []FileInfo{
    				{},
    				{},
    				fi,
    				fi,
    			},
    			errs: []error{
    				errFileNotFound,
    				errFileNotFound,
    				nil,
    				nil,
    			},
    			dataErrs:         nil,
    			expectedMeta:     fi,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  10. cmd/net_test.go

    	}{
    		{"localhost", set.CreateStringSet("127.0.0.1"), nil},
    	}
    
    	for _, testCase := range testCases {
    		ipList, err := getHostIP(testCase.host)
    		switch {
    		case testCase.expectedErr == nil:
    			if err != nil {
    				t.Fatalf("error: expected = <nil>, got = %v", err)
    			}
    		case err == nil:
    			t.Fatalf("error: expected = %v, got = <nil>", testCase.expectedErr)
    		case testCase.expectedErr.Error() != err.Error():
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top