Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Nil$ (0.03 sec)

  1. cmd/data-usage-cache_gen.go

    			err = en.WriteNil()
    			if err != nil {
    				return
    			}
    		} else {
    			err = z.AllTierStats.EncodeMsg(en)
    			if err != nil {
    				err = msgp.WrapError(err, "AllTierStats")
    				return
    			}
    		}
    	}
    	// write "c"
    	err = en.Append(0xa1, 0x63)
    	if err != nil {
    		return
    	}
    	err = en.WriteBool(z.Compacted)
    	if err != nil {
    		err = msgp.WrapError(err, "Compacted")
    		return
    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/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)
  3. 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)
  4. cmd/bucket-stats_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteFloat64(z.CurrentBandwidthInBytesPerSecond)
    	if err != nil {
    		err = msgp.WrapError(err, "CurrentBandwidthInBytesPerSecond")
    		return
    	}
    	// write "lt"
    	err = en.Append(0xa2, 0x6c, 0x74)
    	if err != nil {
    		return
    	}
    	if z.XferRateLrg == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    			isDir:   false,
    			sys:     nil,
    		})
    		if zerr != nil {
    			adminLogIf(ctx, zerr)
    			return nil
    		}
    		header.Method = zip.Deflate
    		zwriter, zerr := zipWriter.CreateHeader(header)
    		if zerr != nil {
    			adminLogIf(ctx, zerr)
    			return nil
    		}
    		if _, err := io.Copy(zwriter, r); err != nil {
    			adminLogIf(ctx, err)
    		}
    		return nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  6. cmd/sts-handlers_test.go

    				isDir:   false,
    				sys:     nil,
    			})
    			if zerr != nil {
    				adminLogIf(ctx, zerr)
    				return nil
    			}
    			header.Method = zip.Deflate
    			zwriter, zerr := zipWriter.CreateHeader(header)
    			if zerr != nil {
    				adminLogIf(ctx, zerr)
    				return nil
    			}
    			if _, err := io.Copy(zwriter, r); err != nil {
    				adminLogIf(ctx, err)
    			}
    			return nil
    		}
    		for _, f := range iamExportFiles {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    		return errInvalidArgument
    	}
    
    	if err := j.Validate(ctx, api); err != nil {
    		return err
    	}
    
    	job, err := j.MarshalMsg(nil)
    	if err != nil {
    		return err
    	}
    
    	return saveConfig(ctx, api, getJobPath(*j), job)
    }
    
    func (j *BatchJobRequest) load(ctx context.Context, api ObjectLayer, name string) error {
    	if j == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  8. cmd/object-api-multipart_test.go

    		{bucketNames[0], "", "", "", "", 100, listMultipartResults[0], nil, true},
    		// Test with a KeyMarker (Test number 14-17).
    		{bucketNames[0], "", "minio-object-1.txt", "", "", 100, listMultipartResults[1], nil, true},
    		{bucketNames[0], "", "orange", "", "", 100, listMultipartResults[2], nil, true},
    		{bucketNames[0], "", "orange", "", "", 1, listMultipartResults[3], nil, true},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteInt64(z.ModTime)
    	if err != nil {
    		err = msgp.WrapError(err, "ModTime")
    		return
    	}
    	// write "MetaSys"
    	err = en.Append(0xa7, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x79, 0x73)
    	if err != nil {
    		return
    	}
    	if z.MetaSys == nil { // allownil: if nil
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    	if contextCanceled(ctx) {
    		return nil, time.Time{}, ctx.Err()
    	}
    
    	if err := checkPathLength(itemPath); err != nil {
    		return nil, time.Time{}, err
    	}
    
    	f, err := OpenFile(itemPath, readMode, 0o666)
    	if err != nil {
    		return nil, time.Time{}, err
    	}
    	defer f.Close()
    	stat, err := f.Stat()
    	if err != nil {
    		return nil, time.Time{}, err
    	}
    	if stat.IsDir() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top