Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for exit_1 (0.12 sec)

  1. src/cmd/go/internal/base/tool.go

    // If the tool cannot be found, Tool exits the process.
    func Tool(toolName string) string {
    	toolPath, err := ToolPath(toolName)
    	if err != nil && len(cfg.BuildToolexec) == 0 {
    		// Give a nice message if there is no tool with that name.
    		fmt.Fprintf(os.Stderr, "go: no such tool %q\n", toolName)
    		SetExitStatus(2)
    		Exit()
    	}
    	return toolPath
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:04:09 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. hack/verify-gofmt.sh

            -o -wholename '*/third_party/*' \
            -o -wholename '*/vendor/*' \
            -o -wholename '*/testdata/*' \
            -o -wholename '*/bindata.go' \
          \) -prune \
        \) -name '*.go'
    }
    
    # gofmt exits with non-zero exit code if it finds a problem unrelated to
    # formatting (e.g., a file does not parse correctly). Without "|| true" this
    # would have led to no useful error message from gofmt, because the script would
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:31 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go

    // with an eternally dead thread, and it's stolen by some other
    // thread later. But if thread IDs are reused, then the tracer
    // gets confused when trying to advance events on the new thread.
    // The now-dead thread which exited on a GoDestroySyscall still has
    // its P associated and this transfers to the newly-live thread
    // in the parser's state because they share a thread ID.
    
    package main
    
    import (
    	"internal/trace"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/syscall/syscall_wasip1.go

    	case SIGUSR2:
    		return "user defined signal 2"
    	case SIGPIPE:
    		return "broken pipe"
    	case SIGALRM:
    		return "alarm clock"
    	case SIGTERM:
    		return "terminated"
    	case SIGCHLD:
    		return "child exited"
    	case SIGCONT:
    		return "continued"
    	case SIGSTOP:
    		return "stopped (signal)"
    	case SIGTSTP:
    		return "stopped"
    	case SIGTTIN:
    		return "stopped (tty input)"
    	case SIGTTOU:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/jvm/JDWPUtil.groovy

                        // This is ok - we're just trying to make sure all resources are released and threads
                        // have been resumed - this implies the VM has exited already.
                    } else {
                        throw e
                    }
                }
            }
    
            FixedAvailablePortAllocator.instance.releasePort(port)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/process/internal/worker/DefaultMultiRequestWorkerProcessBuilder.java

                    boolean hasResult = receiver.awaitNextResult();
                    if (!hasResult) {
                        try {
                            // Reached the end of input, worker has crashed or exited
                            requestProtocol = null;
                            workerProcess.waitForStop();
                            // Worker didn't crash
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:54:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy

         * Blocks until the process represented by {@link #pid} has exited.
         */
        void waitForFinish() {
            if (pid == null) {
                throw new RuntimeException("Unable to wait for process to finish because provided pid is null!")
            }
            if (OperatingSystem.current().unix) {
                ConcurrentTestUtil.poll {
                    bash("ps -o pid= -p $pid; exit 0").trim() == ""
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go

    	If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands:
    		- 'systemctl status kubelet'
    		- 'journalctl -xeu kubelet'
    
    	Additionally, a control plane component may have crashed or exited when started by the container runtime.
    	To troubleshoot, list all containers using your preferred container runtimes CLI.
    	Here is one example how you may list all running Kubernetes containers by using crictl:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. src/cmd/test2json/main.go

    		err := cmd.Run()
    		if err != nil {
    			if w.n > 0 {
    				// Assume command printed why it failed.
    			} else {
    				fmt.Fprintf(c, "test2json: %v\n", err)
    			}
    		}
    		c.Exited(err)
    		if err != nil {
    			c.Close()
    			os.Exit(1)
    		}
    	}
    }
    
    type countWriter struct {
    	n int64
    	w io.Writer
    }
    
    func (w *countWriter) Write(b []byte) (int, error) {
    	w.n += int64(len(b))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator.go

    			metrics.IncStreamTranslatorRequest(req.Context(), strconv.Itoa(int(statusErr.Status().Code)))
    		} else if exitErr, ok := err.(exec.CodeExitError); ok && exitErr.Exited() {
    			websocketStreams.writeStatus(codeExitToStatusError(exitErr))
    			// Returned an exit code from the container, so not an error in
    			// stream translator--add StatusOK to metrics.
    			metrics.IncStreamTranslatorRequest(req.Context(), strconv.Itoa(http.StatusOK))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top