Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 771 for errf (0.05 sec)

  1. cmd/bucket-versioning.go

    	vc, err := sys.Get(bucket)
    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    	return vc.PrefixEnabled(prefix)
    }
    
    // Suspended suspended versioning?
    func (sys *BucketVersioningSys) Suspended(bucket string) bool {
    	vc, err := sys.Get(bucket)
    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    	return vc.Suspended()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  2. internal/s3select/csv/errors.go

    	statusCode int
    	cause      error
    }
    
    func (err *s3Error) Cause() error {
    	return err.cause
    }
    
    func (err *s3Error) ErrorCode() string {
    	return err.code
    }
    
    func (err *s3Error) ErrorMessage() string {
    	return err.message
    }
    
    func (err *s3Error) HTTPStatusCode() int {
    	return err.statusCode
    }
    
    func (err *s3Error) Error() string {
    	return err.message
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  3. cmd/version_test.go

    package cmd
    
    import (
    	"testing"
    	"time"
    )
    
    func TestVersion(t *testing.T) {
    	Version = "2017-05-07T06:37:49Z"
    	_, err := time.Parse(time.RFC3339, Version)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 956 bytes
    - Viewed (0)
  4. cmd/tier-sweeper.go

    	ObjName   string
    	VersionID string
    	TierName  string
    }
    
    func deleteObjectFromRemoteTier(ctx context.Context, objName, rvID, tierName string) error {
    	w, err := globalTierConfigMgr.getDriver(ctx, tierName)
    	if err != nil {
    		return err
    	}
    	return w.Remove(ctx, objName, remoteVersionID(rvID))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 17 05:09:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. tests/connection_test.go

    		return
    	}
    
    	err := DB.Connection(func(tx *gorm.DB) error {
    		if err := tx.Exec(setSQL, expectedName).Error; err != nil {
    			return err
    		}
    
    		if err := tx.Raw(getSQL).Scan(&actualName).Error; err != nil {
    			return err
    		}
    		return nil
    	})
    	if err != nil {
    		t.Errorf(fmt.Sprintf("WithSingleConnection should work, but got err %v", err))
    	}
    
    	if actualName != expectedName {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 28 14:16:42 UTC 2022
    - 963 bytes
    - Viewed (0)
  6. internal/grid/debug.go

    				continue
    			}
    			if err := manager.Connection(remote).WaitForConnect(ctx); err != nil {
    				panic(err)
    			}
    		}
    	}
    }
    
    func getHosts(n int) (hosts []string, listeners []net.Listener, err error) {
    	for i := 0; i < n; i++ {
    		l, err := net.Listen("tcp", "127.0.0.1:0")
    		if err != nil {
    			if l, err = net.Listen("tcp6", "[::1]:0"); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. internal/s3select/select_test.go

    			testdataFile := "testdata/testdata.parquet"
    			file, err := os.Open(testdataFile)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			s3Select, err := NewS3Select(bytes.NewReader(testCase.requestXML))
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			if err = s3Select.Open(file); err != nil {
    				t.Fatal(err)
    			}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  8. cmd/local-locker.go

    }
    
    func (l *localLocker) Unlock(_ context.Context, args dsync.LockArgs) (reply bool, err error) {
    	if len(args.Resources) > maxDeleteList {
    		return false, fmt.Errorf("internal error: localLocker.Unlock called with more than %d resources", maxDeleteList)
    	}
    
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    	err = nil
    
    	for _, resource := range args.Resources {
    		lri, ok := l.lockMap[resource]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. internal/disk/disk_test.go

    package disk_test
    
    import (
    	"testing"
    
    	"github.com/minio/minio/internal/disk"
    )
    
    func TestFree(t *testing.T) {
    	di, err := disk.GetInfo(t.TempDir(), true)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if di.FSType == "UNKNOWN" {
    		t.Error("Unexpected FSType", di.FSType)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 31 22:20:48 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. docs/debugging/inspect/decrypt-v1.go

    	"io"
    
    	"github.com/secure-io/sio-go"
    )
    
    func extractInspectV1(keyHex string, r io.Reader, w io.Writer, okMsg string) error {
    	id, err := hex.DecodeString(keyHex[:8])
    	if err != nil {
    		return err
    	}
    	key, err := hex.DecodeString(keyHex[8:])
    	if err != nil {
    		return err
    	}
    	// Verify that CRC is ok.
    	want := binary.LittleEndian.Uint32(id)
    	got := crc32.ChecksumIEEE(key)
    	if want != got {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 11 21:22:47 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top