Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for errfn1 (0.07 sec)

  1. internal/config/errors-utils.go

    	e := u.Clone()
    	e.hint = fmt.Sprintf(m, args...)
    	return e
    }
    
    // ErrFn function wrapper
    type ErrFn func(err error) Err
    
    // Create a UI error generator, this is needed to simplify
    // the update of the detailed error message in several places
    // in MinIO code
    func newErrFn(msg, action, hint string) ErrFn {
    	return func(err error) Err {
    		u := Err{
    			msg:    msg,
    			action: action,
    			hint:   hint,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. cmd/xl-storage-errors.go

    	if runtime.GOOS != globalWindowsOSName {
    		return false
    	}
    	// Check if err contains ERROR_INVALID_HANDLE errno
    	var pathErr *os.PathError
    	if errors.As(err, &pathErr) {
    		var errno syscall.Errno
    		if errors.As(pathErr.Err, &errno) {
    			// ERROR_PATH_NOT_FOUND
    			return errno == 0x6
    		}
    	}
    	return false
    }
    
    func isSysErrCrossDevice(err error) bool {
    	return errors.Is(err, syscall.EXDEV)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. api/go1.23.txt

    pkg syscall (openbsd-amd64-cgo), const EOWNERDEAD = 94 #67998
    pkg syscall (openbsd-amd64-cgo), const EOWNERDEAD Errno #67998
    pkg syscall (openbsd-amd64-cgo), const EPROTO = 95 #67998
    pkg syscall (windows-386), const WSAENOPROTOOPT = 10042 #62254
    pkg syscall (windows-386), const WSAENOPROTOOPT Errno #62254
    pkg syscall (windows-amd64), const WSAENOPROTOOPT = 10042 #62254
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 25 17:08:08 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                Severity errOn31 = getSeverity(request, ModelBuildingRequest.VALIDATION_LEVEL_MAVEN_3_1);
    
                validateBannedCharacters(
                        EMPTY, "version", problems, errOn31, Version.V20, m.getVersion(), null, m, ILLEGAL_VERSION_CHARS);
                validate20ProperSnapshotVersion("version", problems, errOn31, Version.V20, m.getVersion(), null, m);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  5. cmd/httprange_test.go

    	}
    	for i, irs := range invalidRangeSpecs {
    		var err1, err2 error
    		var rs *HTTPRangeSpec
    		var o, l int64
    		rs, err1 = parseRequestRangeSpec(irs)
    		if err1 == nil {
    			o, l, err2 = rs.GetOffsetLength(resourceSize)
    		}
    		if isErrInvalidRange(err1) || (err1 == nil && isErrInvalidRange(err2)) {
    			continue
    		}
    		t.Errorf("Case %d: Expected errInvalidRange but: %v %v %d %d %v", i, rs, err1, o, l, err2)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 05 16:56:21 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. internal/s3select/sql/evaluate.go

    	if stErr != nil {
    		return nil, stErr
    	}
    
    	endVal, endErr := e.End.evalNode(r, tableAlias)
    	if endErr != nil {
    		return nil, endErr
    	}
    
    	part1, err1 := stVal.compareOp(opLte, arg)
    	if err1 != nil {
    		return nil, err1
    	}
    
    	part2, err2 := arg.compareOp(opLte, endVal)
    	if err2 != nil {
    		return nil, err2
    	}
    
    	result := part1 && part2
    	if e.Not {
    		result = !result
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. cmd/erasure-healing_test.go

    	}
    
    	var uploadedParts []CompletePart
    	for _, partID := range []int{2, 1} {
    		pInfo, err1 := objLayer.PutObjectPart(ctx, bucket, object, res.UploadID, partID, mustGetPutObjReader(t, bytes.NewReader(data), int64(len(data)), "", ""), opts)
    		if err1 != nil {
    			t.Fatalf("Failed to upload a part - %v", err1)
    		}
    		uploadedParts = append(uploadedParts, CompletePart{
    			PartNumber: pInfo.PartNumber,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  8. api/go1.18.txt

    pkg syscall (windows-386), func Syscall6 //deprecated
    pkg syscall (windows-386), func Syscall9 //deprecated
    pkg syscall (windows-386), func SyscallN(uintptr, ...uintptr) (uintptr, uintptr, Errno)
    pkg syscall (windows-amd64), func Syscall //deprecated
    pkg syscall (windows-amd64), func Syscall12 //deprecated
    pkg syscall (windows-amd64), func Syscall15 //deprecated
    pkg syscall (windows-amd64), func Syscall18 //deprecated
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  9. api/go1.16.txt

    pkg syscall (darwin-arm64), const EAUTH Errno
    pkg syscall (darwin-arm64), const EBADARCH = 86
    pkg syscall (darwin-arm64), const EBADARCH Errno
    pkg syscall (darwin-arm64), const EBADEXEC = 85
    pkg syscall (darwin-arm64), const EBADEXEC Errno
    pkg syscall (darwin-arm64), const EBADF = 9
    pkg syscall (darwin-arm64), const EBADMACHO = 88
    pkg syscall (darwin-arm64), const EBADMACHO Errno
    pkg syscall (darwin-arm64), const EBADMSG = 94
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    						if pathErr, ok := err.(*os.PathError); ok {
    							if errno, pok := pathErr.Err.(syscall.Errno); pok {
    								resultErrno = uintptr(errno)
    							}
    						}
    						if pathErr, ok := testCase.expectedErr.(*os.PathError); ok {
    							if errno, pok := pathErr.Err.(syscall.Errno); pok {
    								expectErrno = uintptr(errno)
    							}
    						}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top