Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 73 for exit_1 (0.48 sec)

  1. platforms/core-runtime/process-services/src/main/java/org/gradle/process/ExecResult.java

     */
    public interface ExecResult {
        /**
         * Returns the exit value of the process.
         */
        int getExitValue();
    
        /**
         * Throws an {@link org.gradle.process.internal.ExecException} if the process exited with a non-zero exit value.
         *
         * @return this
         * @throws ExecException if the process exited with a non-zero exit value
         */
        ExecResult assertNormalExitValue() throws ExecException;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/internal/abi/rangefuncconsts.go

    // For best code generation, RF_DONE and RF_READY should be 0 and 1.
    const (
    	RF_DONE          = RF_State(iota) // body of loop has exited in a non-panic way
    	RF_READY                          // body of loop has not exited yet, is not running  -- this is not a panic index
    	RF_PANIC                          // body of loop is either currently running, or has panicked
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:04:30 UTC 2024
    - 940 bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/process/internal/worker/WorkerProcess.java

        ExecResult waitForStop();
    
        /**
         * Returns the result of the process, if it has exited.  If the process has not exited yet, returns {@link Optional#empty()}.
         */
        Optional<ExecResult> getExecResult();
    
        JvmMemoryStatus getJvmMemoryStatus();
    
        /**
         * Stop the associated process without expecting a normal exit value.
         */
        void stopNow();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 21:45:01 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. pkg/probe/exec/exec_test.go

    	return nil, nil
    }
    
    type fakeExitError struct {
    	exited     bool
    	statusCode int
    }
    
    func (f *fakeExitError) String() string {
    	return f.Error()
    }
    
    func (f *fakeExitError) Error() string {
    	return "fake exit"
    }
    
    func (f *fakeExitError) Exited() bool {
    	return f.exited
    }
    
    func (f *fakeExitError) ExitStatus() int {
    	return f.statusCode
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/TransformErrorHandlerTest.groovy

            handler.enterClassLoadingScope("some/Class")
            handler.exitClassLoadingScope()
    
            then:
            noExceptionThrown()
        }
    
        def "rethrows the #expectedExceptionClass.simpleName if the scope exits with #exception.class.simpleName"() {
            given:
            TransformErrorHandler handler = handler()
    
            when:
            handler.enterClassLoadingScope("some/Class")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. pkg/envoy/agent.go

    }
    
    // Run starts the envoy and waits until it terminates.
    // There are a few exit paths:
    //  1. Envoy exits. In this case, we simply log and exit.
    //  2. /quitquitquit (on agent, not Envoy) is called. We will set skipDrain and cancel the context, which triggers us to exit immediately.
    //  3. SIGTERM. We will drain, wait termination drain duration, then exit. This is the standard pod shutdown; SIGTERM arrives when pod shutdown starts.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 16:04:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. src/cmd/go/internal/base/base.go

    			Error(e)
    		}
    		return
    	}
    	Errorf("go: %v", err)
    }
    
    func Fatal(err error) {
    	Error(err)
    	Exit()
    }
    
    var exitStatus = 0
    var exitMu sync.Mutex
    
    func SetExitStatus(n int) {
    	exitMu.Lock()
    	if exitStatus < n {
    		exitStatus = n
    	}
    	exitMu.Unlock()
    }
    
    func GetExitStatus() int {
    	return exitStatus
    }
    
    // Run runs the command, with stdout and stderr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. src/runtime/signal_windows_test.go

    	}
    	if err := cmd.Start(); err != nil {
    		t.Fatalf("Start failed: %v", err)
    	}
    	defer func() {
    		cmd.Process.Kill()
    		cmd.Wait()
    	}()
    
    	// check child exited gracefully, did not timeout
    	if err := cmd.Wait(); err != nil {
    		t.Fatalf("Program exited with error: %v\n%s", err, &stderr)
    	}
    
    	// check child received, handled SIGTERM
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 9K bytes
    - Viewed (0)
  9. src/cmd/link/internal/mips/obj.go

    			// .dynamic section.
    			DynamicReadOnly: true,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    	default:
    		ld.Exitf("unknown -H option: %v", ctxt.HeadType)
    	case objabi.Hlinux: /* mips elf */
    		ld.Elfinit(ctxt)
    		ld.HEADR = ld.ELFRESERVE
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 0x10000
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/toolchain/exec.go

    		err := cmd.Run()
    		if err != nil {
    			if e, ok := err.(*exec.ExitError); ok && e.ProcessState != nil {
    				if e.ProcessState.Exited() {
    					os.Exit(e.ProcessState.ExitCode())
    				}
    				base.Fatalf("exec %s: %s", gotoolchain, e.ProcessState)
    			}
    			base.Fatalf("exec %s: %s", exe, err)
    		}
    		os.Exit(0)
    	}
    	err := syscall.Exec(exe, os.Args, os.Environ())
    	base.Fatalf("exec %s: %v", gotoolchain, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top