Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for errorsFor (0.18 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/HtmlDependencyVerificationReportRendererTest.groovy

                renderer.reportFailure(onlyIgnoredKeys("Ivy"))
            }
    
            when:
            generateReport()
    
            def errors1 = errorsFor(":someConfiguration")
            def errors2 = errorsFor(":other:configuration")
    
            then:
            verifyAll(errors1[0]) {
                module == 'org:foo:1.0'
                artifact == 'foo-1.0.jar'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  2. src/syscall/syscall_js.go

    // For example:
    //
    //	_, _, err := syscall.Syscall(...)
    //	if errors.Is(err, fs.ErrNotExist) ...
    type Errno uintptr
    
    func (e Errno) Error() string {
    	if 0 <= int(e) && int(e) < len(errorstr) {
    		s := errorstr[e]
    		if s != "" {
    			return s
    		}
    	}
    	return "errno " + itoa.Itoa(int(e))
    }
    
    func (e Errno) Is(target error) bool {
    	switch target {
    	case oserror.ErrPermission:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/syscall/syscall_wasip1.go

    //
    //	var err = nil
    //	if errno != 0 {
    //		err = errno
    //	}
    type Errno uint32
    
    func (e Errno) Error() string {
    	if 0 <= int(e) && int(e) < len(errorstr) {
    		s := errorstr[e]
    		if s != "" {
    			return s
    		}
    	}
    	return "errno " + itoa.Itoa(int(e))
    }
    
    func (e Errno) Is(target error) bool {
    	switch target {
    	case oserror.ErrPermission:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. src/syscall/tables_wasip1.go

    	EXDEV           Errno = 75
    	ENOTCAPABLE     Errno = 76
    	// needed by src/net/error_unix_test.go
    	EOPNOTSUPP = ENOTSUP
    )
    
    // TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
    var errorstr = [...]string{
    	E2BIG:           "Argument list too long",
    	EACCES:          "Permission denied",
    	EADDRINUSE:      "Address already in use",
    	EADDRNOTAVAIL:   "Address not available",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 20:58:35 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileToolchainIntegrationTest.groovy

            failureDescriptionStartsWith("Execution failed for task ':compileJava'.")
            failureHasCause("Toolchain from `${errorFor}` property on `ForkOptions` does not match toolchain from `javaCompiler` property")
    
            where:
            when                                  | tool    | javaHome  | executable | errorFor
            "java home disagrees with executable" | null    | "other"   | "current"  | "executable"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProviderTest.groovy

            1 * execActionFactory.newExecAction() >> action
            1 * action.setStandardOutput(_) >> { OutputStream outstr -> outstr << output; action }
            1 * action.setErrorOutput(_) >> { OutputStream errorstr -> errorstr << error; action }
            1 * action.execute() >> result
        }
    
        void mapsPath(TestFile cygpath, String from, String to) {
            def action = Mock(ExecAction)
            def execResult = Mock(ExecResult)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 16 06:01:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. src/syscall/tables_js.go

    	EWOULDBLOCK     Errno = EAGAIN /* Operation would block */
    )
    
    // TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
    var errorstr = [...]string{
    	EPERM:           "Operation not permitted",
    	ENOENT:          "No such file or directory",
    	ESRCH:           "No such process",
    	EINTR:           "Interrupted system call",
    	EIO:             "I/O error",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 19.2K bytes
    - Viewed (0)
  8. src/reflect/all_test.go

    	}
    
    	a = nil
    	v = ValueOf(a)
    	if v.Cap() != cap(a) {
    		t.Errorf("Cap = %d want %d", v.Cap(), cap(a))
    	}
    
    	getError := func(f func()) (errorStr string) {
    		defer func() {
    			e := recover()
    			if str, ok := e.(string); ok {
    				errorStr = str
    			}
    		}()
    		f()
    		return
    	}
    	e := getError(func() {
    		var ptr *int
    		ValueOf(ptr).Cap()
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top