Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 80 for setError (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tools/istio-iptables/pkg/validation/validator.go

    	log.Infof("Starting iptables validation. This check verifies that iptables rules are properly established for the network.")
    	s := Service{
    		validator.Config,
    	}
    	sError := make(chan error, 1)
    	sTimer := time.NewTimer(s.Config.ProbeTimeout)
    	defer sTimer.Stop()
    	go func() {
    		sError <- s.Run()
    	}()
    
    	// infinite loop
    	go func() {
    		c := Client{Config: validator.Config}
    		<-c.Config.ServerReadyBarrier
    		for {
    			_ = c.Run()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 01 04:37:36 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/mlir/lite/quantization/lite/tfl_quantizer.cc

      llvm::InitLLVM y(argc, argv);
      llvm::cl::ParseCommandLineOptions(argc, argv);
      auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(inputFileName.c_str());
      if (std::error_code error = file_or_err.getError()) {
        llvm::errs() << argv[0] << ": could not open input file '" << inputFileName
                     << "': " << error.message() << "\n";
        return 1;
      }
      auto buffer = file_or_err->get();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/process/DefaultExecOutput.java

        }
    
        @Override
        public StandardStreamContent getStandardError() {
            return new DefaultStandardStreamContent(dataProvider.map(transformer(ExecOutputData::getError)));
        }
    
        private static class DefaultStandardStreamContent implements StandardStreamContent {
            private final Provider<byte[]> bytesProvider;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            String key = getMetadataKey(repository, file);
    
            return readLastUpdated(touchfile, key);
        }
    
        public String getError(Artifact artifact, ArtifactRepository repository) {
            File touchFile = getTouchfile(artifact);
            return getError(touchFile, getRepositoryKey(repository));
        }
    
        public void touch(Artifact artifact, ArtifactRepository repository, String error) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top