Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for jmod (0.22 sec)

  1. cmd/format-erasure.go

    	Erasure struct {
    		Version string `json:"version"` // Version of 'xl' format.
    		Disk    string `json:"drive"`   // Disk field carries assigned disk uuid.
    		// JBOD field carries the input disk order generated the first
    		// time when fresh disks were supplied.
    		JBOD []string `json:"jbod"`
    	} `json:"xl"` // Erasure field holds xl format.
    }
    
    // Represents the V2 backend disk structure version
    // under `.minio.sys` and actual data namespace.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  2. cmd/storage-datatypes.go

    //msgp:tuple FileInfoVersions
    type FileInfoVersions struct {
    	// Name of the volume.
    	Volume string `msg:"v,omitempty"`
    
    	// Name of the file.
    	Name string `msg:"n,omitempty"`
    
    	// Represents the latest mod time of the
    	// latest version.
    	LatestModTime time.Time `msg:"lm"`
    
    	Versions     []FileInfo `msg:"vs"`
    	FreeVersions []FileInfo `msg:"fvs"`
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  3. utils/utils_unix_test.go

    package utils
    
    import (
    	"testing"
    )
    
    func TestSourceDir(t *testing.T) {
    	cases := []struct {
    		file string
    		want string
    	}{
    		{
    			file: "/Users/name/go/pkg/mod/gorm.io/gorm@v1.2.3/utils/utils.go",
    			want: "/Users/name/go/pkg/mod/gorm.io/",
    		},
    		{
    			file: "/go/work/proj/gorm/utils/utils.go",
    			want: "/go/work/proj/gorm/",
    		},
    		{
    			file: "/go/work/proj/gorm_alias/utils/utils.go",
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Nov 21 02:48:13 GMT 2022
    - 731 bytes
    - Viewed (0)
  4. utils/utils_windows_test.go

    package utils
    
    import (
    	"testing"
    )
    
    func TestSourceDir(t *testing.T) {
    	cases := []struct {
    		file string
    		want string
    	}{
    		{
    			file: `C:/Users/name/go/pkg/mod/gorm.io/gorm@v1.2.3/utils/utils.go`,
    			want: `C:/Users/name/go/pkg/mod/gorm.io/`,
    		},
    		{
    			file: `C:/go/work/proj/gorm/utils/utils.go`,
    			want: `C:/go/work/proj/gorm/`,
    		},
    		{
    			file: `C:/go/work/proj/gorm_alias/utils/utils.go`,
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Nov 21 02:48:13 GMT 2022
    - 715 bytes
    - Viewed (0)
  5. cmd/update.go

    	// Return the ModTime
    	return fi.ModTime().UTC(), nil
    }
    
    // GetCurrentReleaseTime - returns this process's release time.  If it
    // is official minio version, parsed version is returned else minio
    // binary's mod time is returned.
    func GetCurrentReleaseTime() (releaseTime time.Time, err error) {
    	if releaseTime, err = minioVersionToReleaseTime(Version); err == nil {
    		return releaseTime, err
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  6. internal/s3select/sql/value.go

    			return 0, errArithDivideByZero
    		}
    		return left / right, nil
    	case opMultiply:
    		return left * right, nil
    	case opModulo:
    		if right == 0 {
    			return 0, errArithDivideByZero
    		}
    		return math.Mod(left, right), nil
    	}
    	// This does not happen
    	return 0, nil
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  7. internal/bucket/replication/rule_test.go

    			opts:           ObjectOpts{Name: "c1test", DeleteMarker: false, OpType: ObjectReplicationType, Replica: false}, // 1. Replica mod sync enabled; not a replica
    			expectedResult: true,
    		},
    		// case 2 - rule with replica modification disabled; a replica
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.6K bytes
    - Viewed (0)
  8. cmd/erasure-sets.go

    - Some Unformatted - format all and return success.
    - Any JBOD inconsistent - return failure
    - Some are corrupt (missing format.json) - return failure
    - Any unrecognized disks - return failure
    
    Some disks are offline and we have quorum.
    -----------------
    - Some unformatted - format all and return success,
      treat disks offline as corrupted.
    - Any JBOD inconsistent - return failure
    - Some are corrupt (missing format.json)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
  9. cmd/format-erasure_test.go

    	}
    	if !reflect.DeepEqual(formatV3.Erasure.Sets[0], m.Erasure.JBOD) {
    		t.Fatalf("expected drive uuid: %v, got: %v", m.Erasure.JBOD, formatV3.Erasure.Sets[0])
    	}
    
    	m = &formatErasureV1{}
    	m.Format = "unknown"
    	m.Version = formatMetaVersionV1
    	m.Erasure.Version = formatErasureVersionV1
    	m.Erasure.Disk = mustGetUUID()
    	m.Erasure.JBOD = []string{m.Erasure.Disk, mustGetUUID(), mustGetUUID(), mustGetUUID()}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  10. cmd/data-scanner.go

    			// Check if we should skip scanning folder...
    			// We can only skip if we are not indexing into a compacted destination
    			// and the entry itself is compacted.
    			if !into.Compacted && f.oldCache.isCompacted(h) {
    				if !h.mod(f.oldCache.Info.NextCycle, dataUsageUpdateDirCycles) {
    					// Transfer and add as child...
    					f.newCache.copyWithChildren(&f.oldCache, h, folder.parent)
    					into.addChild(h)
    					continue
    				}
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 47.4K bytes
    - Viewed (0)
Back to top