Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 195 for geterror (0.19 sec)

  1. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/MSBuildExecutor.java

            String gradleStderr = result.getError();
            if (!outputs.isEmpty()) {
                gradleStdout = fileContents(outputs.get(0).stdout);
                gradleStderr = fileContents(outputs.get(0).stderr);
            }
            System.out.println(result.getOut());
            System.out.println(gradleStdout);
            System.out.println(gradleStderr);
            System.out.println(result.getError());
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. src/runtime/testdata/testprogcgo/deadlock.go

    package main
    
    /*
    char *geterror() {
    	return "cgo error";
    }
    */
    import "C"
    import (
    	"fmt"
    )
    
    func init() {
    	register("CgoPanicDeadlock", CgoPanicDeadlock)
    }
    
    type cgoError struct{}
    
    func (cgoError) Error() string {
    	fmt.Print("") // necessary to trigger the deadlock
    	return C.GoString(C.geterror())
    }
    
    func CgoPanicDeadlock() {
    	panic(cgoError{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:34:33 UTC 2016
    - 509 bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/MSBuildVersionLocator.java

            if (!vsWhereOutput.getError().trim().isEmpty()) {
                throw new IllegalStateException(String.format("Could not determine the location of MSBuild %s: %s", vsVersion.getMajor(), vsWhereOutput.getError()));
            }
    
            String location = vsWhereOutput.getOut().trim();
            TestFile msbuild;
            if (!location.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/ztunnelserver.go

    	}
    
    	fd := int(netns.Fd())
    	resp, err := latestConn.send(ctx, data, &fd)
    	if err != nil {
    		return err
    	}
    
    	if resp.GetAck().GetError() != "" {
    		log.Errorf("add-workload: got ack error: %s", resp.GetAck().GetError())
    		return fmt.Errorf("got ack error: %s", resp.GetAck().GetError())
    	}
    	return nil
    }
    
    // TODO ctx is unused here
    // nolint: unparam
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 22:07:03 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/DefaultTestLoggingContainer.java

        }
    
        @Override
        public TestLogging getError() {
            return perLevelTestLogging.get(LogLevel.ERROR);
        }
    
        @Override
        public void setError(TestLogging logging) {
            perLevelTestLogging.put(LogLevel.ERROR, logging);
        }
    
        @Override
        public void error(Action<TestLogging> action) {
            action.execute(getError());
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  6. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/fixtures/XcodebuildExecutor.java

            // the error output only if xcodebuild failed most likely due to Gradle.
            System.out.println(result.getOut());
            System.out.println(result.getError());
            return OutputScrapingExecutionFailure.from(result.getOut(), result.getError());
        }
    
        private TestFile findXcodeBuild() {
            TestFile xcodebuild = new TestFile("/usr/bin/xcodebuild");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ErrorsOnStdoutScrapingExecutionResult.java

        }
    
        @Override
        public GroupedOutputFixture getGroupedOutput() {
            return delegate.getGroupedOutput();
        }
    
        @Override
        public String getError() {
            return delegate.getError();
        }
    
        @Override
        public String getOutputLineThatContains(String text) {
            return delegate.getOutputLineThatContains(text);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/console/AbstractExecOutputIntegrationTest.groovy

            succeeds("run")
    
            then:
            def output = result.groupedOutput.task(':run').output
            output.contains(EXPECTED_OUTPUT)
            def errorOutput = errorsShouldAppearOnStdout() ? output : result.getError()
            errorOutput.contains(EXPECTED_ERROR)
        }
    
        def "JavaExec task output is grouped with its task output"() {
            given:
            generateMainJavaFileEchoing(EXPECTED_OUTPUT, EXPECTED_ERROR)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleDeprecationMessageGroupedTaskFunctionalTest.groovy

            executer.expectDeprecationWarning(expectedOutput)
            succeeds('compileJava')
    
            then:
            def actualOutput = errorsShouldAppearOnStdout() ? result.groupedOutput.task(':compileJava').output : result.getError()
            actualOutput.contains(expectedOutput)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResult.java

        public boolean hasErrorOutput(String expectedOutput) {
            return getError().contains(expectedOutput);
        }
    
        @Override
        public ExecutionResult assertHasErrorOutput(String expectedOutput) {
            return assertContentContains(errorContent.withNormalizedEol(), expectedOutput, "Error output");
        }
    
        @Override
        public String getError() {
            return error.withNormalizedEol();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top