Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for invalidArgs (0.38 sec)

  1. platforms/core-runtime/daemon-server/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonMain.java

        protected void doAction(String[] args, ExecutionListener listener) {
            // The first argument is not really used but it is very useful in diagnosing, i.e. running 'jps -m'
            if (args.length != 1) {
                invalidArgs("Following arguments are required: <gradle-version>");
            }
    
            // Read configuration from stdin
            List<String> startupOpts;
            File gradleHomeDir;
            File daemonBaseDir;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/builtins.go

    			src0 = NewSlice(universeByte)
    		}
    		src, _ := src0.(*Slice)
    
    		if dst == nil || src == nil {
    			check.errorf(x, InvalidCopy, invalidArg+"copy expects slice arguments; found %s and %s", x, y)
    			return
    		}
    
    		if !Identical(dst.elem, src.elem) {
    			check.errorf(x, InvalidCopy, invalidArg+"arguments to copy %s and %s have different element types %s and %s", x, y, dst.elem, src.elem)
    			return
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. src/go/types/builtins.go

    			src0 = NewSlice(universeByte)
    		}
    		src, _ := src0.(*Slice)
    
    		if dst == nil || src == nil {
    			check.errorf(x, InvalidCopy, invalidArg+"copy expects slice arguments; found %s and %s", x, y)
    			return
    		}
    
    		if !Identical(dst.elem, src.elem) {
    			check.errorf(x, InvalidCopy, invalidArg+"arguments to copy %s and %s have different element types %s and %s", x, y, dst.elem, src.elem)
    			return
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  4. src/go/types/index.go

    	if !allInteger(x.typ) {
    		check.errorf(x, code, invalidArg+"%s %s must be integer", what, x)
    		return false
    	}
    
    	if x.mode == constant_ {
    		// spec: "a constant index must be non-negative ..."
    		if !allowNegative && constant.Sign(x.val) < 0 {
    			check.errorf(x, code, invalidArg+"%s %s must not be negative", what, x)
    			return false
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/index.go

    	if !allInteger(x.typ) {
    		check.errorf(x, code, invalidArg+"%s %s must be integer", what, x)
    		return false
    	}
    
    	if x.mode == constant_ {
    		// spec: "a constant index must be non-negative ..."
    		if !allowNegative && constant.Sign(x.val) < 0 {
    			check.errorf(x, code, invalidArg+"%s %s must not be negative", what, x)
    			return false
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 16:16:58 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/errors.go

    	}
    
    	if check.firstErr == nil {
    		check.firstErr = e
    	}
    
    	f := check.conf.Error
    	if f == nil {
    		panic(bailout{}) // record first error and exit
    	}
    	f(e)
    }
    
    const (
    	invalidArg = "invalid argument: "
    	invalidOp  = "invalid operation: "
    )
    
    // The poser interface is used to extract the position of type-checker errors.
    type poser interface {
    	Pos() syntax.Pos
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. src/go/types/errors.go

    	}
    
    	if check.firstErr == nil {
    		check.firstErr = e
    	}
    
    	f := check.conf.Error
    	if f == nil {
    		panic(bailout{}) // record first error and exit
    	}
    	f(e)
    }
    
    const (
    	invalidArg = "invalid argument: "
    	invalidOp  = "invalid operation: "
    )
    
    // The positioner interface is used to extract the position of type-checker errors.
    type positioner interface {
    	Pos() token.Pos
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    		case isSysErrTooManyFiles(err):
    			return nil, dmTime, errTooManyOpenFiles
    		case isSysErrInvalidArg(err):
    			st, _ := Lstat(filePath)
    			if st != nil && st.IsDir() {
    				// Linux returns InvalidArg for directory O_DIRECT
    				// we need to keep this fallback code to return correct
    				// errors upwards.
    				return nil, dmTime, errFileNotFound
    			}
    			return nil, dmTime, errUnsupportedDisk
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top