Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 800 for exit2 (0.05 sec)

  1. misc/wasm/wasm_exec_node.js

    require("./wasm_exec");
    
    const go = new Go();
    go.argv = process.argv.slice(2);
    go.env = Object.assign({ TMPDIR: require("os").tmpdir() }, process.env);
    go.exit = process.exit;
    WebAssembly.instantiate(fs.readFileSync(process.argv[2]), go.importObject).then((result) => {
    	process.on("exit", (code) => { // Node.js exits if no event handler is pending
    		if (code === 0 && !go.exited) {
    			// deadlock, make Go print error and stack traces
    			go._pendingEvent = { id: 0 };
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 30 18:49:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. src/runtime/os3_plan9.go

    		// We can't safely sigpanic because it may grow the
    		// stack. Abort in the signal handler instead.
    		flags = (flags &^ _SigPanic) | _SigThrow
    	}
    	if flags&_SigGoExit != 0 {
    		exits((*byte)(add(unsafe.Pointer(note), 9))) // Strip "go: exit " prefix.
    	}
    	if flags&_SigPanic != 0 {
    		// Copy the error string from sigtramp's stack into m->notesig so
    		// we can reliably access it from the panic routines.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class UncaughtExceptionHandlers {
      private UncaughtExceptionHandlers() {}
    
      /**
       * Returns an exception handler that exits the system. This is particularly useful for the main
       * thread, which may start up other, non-daemon threads, but fail to fully initialize the
       * application successfully.
       *
       * <p>Example usage:
       *
       * <pre>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class UncaughtExceptionHandlers {
      private UncaughtExceptionHandlers() {}
    
      /**
       * Returns an exception handler that exits the system. This is particularly useful for the main
       * thread, which may start up other, non-daemon threads, but fail to fully initialize the
       * application successfully.
       *
       * <p>Example usage:
       *
       * <pre>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/cmd/go/testdata/script/test_fuzz_mutate_fail.txt

    [!fuzz] skip
    
    # Check that if a worker does not call F.Fuzz or calls F.Fail first,
    # 'go test' exits non-zero and no crasher is recorded.
    
    [short] skip
    env GOCACHE=$WORK/cache
    
    ! go test -fuzz=FuzzReturn
    ! exists testdata
    
    ! go test -fuzz=FuzzSkip
    ! exists testdata
    
    ! go test -fuzz=FuzzFail
    ! exists testdata
    
    ! go test -fuzz=FuzzPanic
    ! exists testdata
    
    ! go test -fuzz=FuzzNilPanic
    ! exists testdata
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. hack/lib/logging.sh

        [[ -z ${1-} ]] || {
          echo "  ${1}" >&2
        }
    
        kube::log::stack ${stack_skip}
    
        echo "Exiting with status ${code}" >&2
      fi
    
      exit "${code}"
    }
    
    # Log an error but keep going.  Don't dump the stack or exit.
    kube::log::error() {
      timestamp=$(date +"[%m%d %H:%M:%S]")
      echo "!!! ${timestamp} ${1-}" >&2
      shift
      for message; do
        echo "    ${message}" >&2
      done
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 06 14:40:08 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. 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)
  10. src/runtime/os_aix.go

    	)
    
    	if pthread_attr_init(&attr) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	if pthread_attr_setstacksize(&attr, threadStackSize) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	// Disable signals during create, so that the new thread starts
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top