Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for ext (0.19 sec)

  1. internal/disk/type_linux.go

    package disk
    
    import "strconv"
    
    // fsType2StringMap - list of filesystems supported on linux
    var fsType2StringMap = map[string]string{
    	"1021994":  "TMPFS",
    	"137d":     "EXT",
    	"4244":     "HFS",
    	"4d44":     "MSDOS",
    	"52654973": "REISERFS",
    	"5346544e": "NTFS",
    	"58465342": "XFS",
    	"61756673": "AUFS",
    	"6969":     "NFS",
    	"ef51":     "EXT2OLD",
    	"ef53":     "EXT4",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 1.6K bytes
    - Viewed (3)
  2. internal/disk/stat_linux_s390x.go

    package disk
    
    import (
    	"errors"
    	"fmt"
    	"strconv"
    	"syscall"
    )
    
    // fsType2StringMap - list of filesystems supported on linux
    var fsType2StringMap = map[string]string{
    	"1021994":  "TMPFS",
    	"137d":     "EXT",
    	"4244":     "HFS",
    	"4d44":     "MSDOS",
    	"52654973": "REISERFS",
    	"5346544e": "NTFS",
    	"58465342": "XFS",
    	"61756673": "AUFS",
    	"6969":     "NFS",
    	"ef51":     "EXT2OLD",
    	"ef53":     "EXT4",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 2.6K bytes
    - Viewed (2)
  3. internal/store/queuestore.go

    // NewQueueStore - Creates an instance for QueueStore.
    func NewQueueStore[I any](directory string, limit uint64, ext string) *QueueStore[I] {
    	if limit == 0 {
    		limit = defaultLimit
    	}
    
    	if ext == "" {
    		ext = defaultExt
    	}
    
    	return &QueueStore[I]{
    		directory:  directory,
    		entryLimit: limit,
    		fileExt:    ext,
    		entries:    make(map[string]int64, limit),
    	}
    }
    
    // Open - Creates the directory if not present.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  4. cmd/metacache.go

    		return time.Since(cache.lastUpdate) > 5*time.Minute
    	}
    	return true
    }
    
    // baseDirFromPrefix will return the base directory given an object path.
    // For example an object with name prefix/folder/object.ext will return `prefix/folder/`.
    func baseDirFromPrefix(prefix string) string {
    	b := path.Dir(prefix)
    	if b == "." || b == "./" || b == "/" {
    		b = ""
    	}
    	if !strings.Contains(prefix, slashSeparator) {
    		b = ""
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. cmd/utils.go

    // disk since the name of this latter is randomly generated.
    type profilerWrapper struct {
    	// Profile recorded at start of benchmark.
    	records map[string][]byte
    	stopFn  func() ([]byte, error)
    	ext     string
    }
    
    // record will record the profile and store it as the base.
    func (p *profilerWrapper) record(profileType string, debug int, recordName string) {
    	var buf bytes.Buffer
    	if p.records == nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32K bytes
    - Viewed (0)
  6. internal/store/queuestore_test.go

    	Property string `json:"property"`
    }
    
    var (
    	// TestDir
    	queueDir = filepath.Join(os.TempDir(), "minio_test")
    	// Sample test item.
    	testItem = TestItem{Name: "test-item", Property: "property"}
    	// Ext for test item
    	testItemExt = ".test"
    )
    
    // Initialize the queue store.
    func setUpQueueStore(directory string, limit uint64) (Store[TestItem], error) {
    	queueStore := NewQueueStore[TestItem](queueDir, limit, testItemExt)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 04 17:52:24 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  7. internal/crypto/key_test.go

    	{
    		SealExtKey: [32]byte{}, SealIV: [32]byte{}, SealDomain: "SSE-C", SealBucket: "bucket", SealObject: "object",
    		UnsealExtKey: [32]byte{1}, UnsealDomain: "SSE-C", UnsealBucket: "bucket", UnsealObject: "object", // different ext-key
    		ShouldPass: false,
    	}, // 1
    	{
    		SealExtKey: [32]byte{}, SealIV: [32]byte{}, SealDomain: "SSE-S3", SealBucket: "bucket", SealObject: "object",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  8. cmd/sftp-server-driver.go

    		r:      pr,
    		wg:     &sync.WaitGroup{},
    	}
    	wa.wg.Add(1)
    	go func() {
    		_, err := clnt.PutObject(r.Context(), bucket, object, pr, -1, minio.PutObjectOptions{
    			ContentType:          mimedb.TypeByExtension(path.Ext(object)),
    			DisableContentSha256: true,
    		})
    		pr.CloseWithError(err)
    		wa.wg.Done()
    	}()
    	return wa, nil
    }
    
    func (f *sftpDriver) Filecmd(r *sftp.Request) (err error) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  9. cmd/s3-zip-handlers.go

    	fileObjInfo := ObjectInfo{
    		Bucket:      bucket,
    		Name:        object,
    		Size:        int64(file.UncompressedSize64),
    		ModTime:     zipObjInfo.ModTime,
    		ContentType: mime.TypeByExtension(filepath.Ext(object)),
    	}
    
    	var rc io.ReadCloser
    
    	if file.UncompressedSize64 > 0 {
    		// There may be number of header bytes before the content.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  10. internal/disk/stat_linux_32bit.go

    package disk
    
    import (
    	"errors"
    	"fmt"
    	"strconv"
    	"syscall"
    )
    
    // fsType2StringMap - list of filesystems supported on linux
    var fsType2StringMap = map[string]string{
    	"1021994":  "TMPFS",
    	"137d":     "EXT",
    	"4244":     "HFS",
    	"4d44":     "MSDOS",
    	"52654973": "REISERFS",
    	"5346544e": "NTFS",
    	"58465342": "XFS",
    	"61756673": "AUFS",
    	"6969":     "NFS",
    	"ef51":     "EXT2OLD",
    	"ef53":     "EXT4",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 2.6K bytes
    - Viewed (0)
Back to top