Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for errfn1 (0.1 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. api/go1.txt

    pkg syscall (linux-386), const EMULTIHOP Errno
    pkg syscall (linux-386), const ENAVAIL Errno
    pkg syscall (linux-386), const ENOANO Errno
    pkg syscall (linux-386), const ENOCSI Errno
    pkg syscall (linux-386), const ENODATA Errno
    pkg syscall (linux-386), const ENOKEY Errno
    pkg syscall (linux-386), const ENOLINK Errno
    pkg syscall (linux-386), const ENOMEDIUM Errno
    pkg syscall (linux-386), const ENONET Errno
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  5. cmd/copy-part-range_test.go

    		rs, err := parseCopyPartRangeSpec(successCase.rangeString)
    		if err != nil {
    			t.Fatalf("expected: <nil>, got: %s", err)
    		}
    
    		start, length, err1 := rs.GetOffsetLength(objectSize)
    		if err1 != nil {
    			t.Fatalf("expected: <nil>, got: %s", err1)
    		}
    
    		if start != successCase.offsetBegin {
    			t.Fatalf("expected: %d, got: %d", successCase.offsetBegin, start)
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  6. 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)
  7. cmd/xl-storage-errors_test.go

    			t.Fatalf("Unexpected error expecting %s", syscall.ENOTEMPTY)
    		}
    	} else {
    		pathErr = &os.PathError{Err: syscall.Errno(0x91)}
    		ok = isSysErrNotEmpty(pathErr)
    		if !ok {
    			t.Fatal("Unexpected error expecting 0x91")
    		}
    	}
    	if runtime.GOOS == globalWindowsOSName {
    		pathErr = &os.PathError{Err: syscall.Errno(0x03)}
    		ok = isSysErrPathNotFound(pathErr)
    		if !ok {
    			t.Fatal("Unexpected error expecting 0x03")
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  8. 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)
  9. api/go1.2.txt

    pkg syscall (linux-arm-cgo), const ENODATA Errno
    pkg syscall (linux-arm-cgo), const ENOKEY Errno
    pkg syscall (linux-arm-cgo), const ENOLINK Errno
    pkg syscall (linux-arm-cgo), const ENOMEDIUM Errno
    pkg syscall (linux-arm-cgo), const ENONET Errno
    pkg syscall (linux-arm-cgo), const ENOPKG Errno
    pkg syscall (linux-arm-cgo), const ENOSR Errno
    pkg syscall (linux-arm-cgo), const ENOSTR Errno
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
  10. 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)
Back to top