Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 397 for exit2 (0.08 sec)

  1. src/os/pipe_test.go

    				os.Exit(3)
    			}
    		default:
    			panic("unrecognized value for GO_TEST_STD_PIPE_HELPER")
    		}
    		// For stdout/stderr, we should have crashed with a broken pipe error.
    		// The caller will be looking for that exit status,
    		// so just exit normally here to cause a failure in the caller.
    		// For descriptor 3, a normal exit is expected.
    		os.Exit(0)
    	}
    
    	testenv.MustHaveExec(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  2. src/syscall/exec_linux_test.go

    			fmt.Fprintln(os.Stderr, err)
    			os.Exit(2)
    		}
    		if caps.data[0].effective&(1<<uint(CAP_SYS_TIME)) == 0 {
    			fmt.Fprintln(os.Stderr, "CAP_SYS_TIME unexpectedly not in the effective capability mask")
    			os.Exit(2)
    		}
    		if caps.data[1].effective&(1<<uint(CAP_SYSLOG&31)) == 0 {
    			fmt.Fprintln(os.Stderr, "CAP_SYSLOG unexpectedly not in the effective capability mask")
    			os.Exit(2)
    		}
    		os.Exit(0)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  3. mvnw

          basedir=$wdir
          break
        fi
        # workaround for JBEAP-8937 (on Solaris 10/Sparc)
        if [ -d "${wdir}" ]; then
          wdir=$(cd "$wdir/.." || exit 1; pwd)
        fi
        # end of workaround
      done
      printf '%s' "$(cd "$basedir" || exit 1; pwd)"
    }
    
    # concatenates all lines of a file
    concat_lines() {
      if [ -f "$1" ]; then
        # Remove \r in case we run on Windows within Git Bash
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 16 20:48:20 UTC 2023
    - 11K bytes
    - Viewed (0)
  4. src/runtime/os_freebsd.go

    	}
    
    	minitSignals()
    }
    
    // Called from dropm to undo the effect of an minit.
    //
    //go:nosplit
    func unminit() {
    	unminitSignals()
    	getg().m.procid = 0
    }
    
    // Called from exitm, but not from drop, to undo the effect of thread-owned
    // resources in minit, semacreate, or elsewhere. Do not take locks after calling this.
    func mdestroy(mp *m) {
    }
    
    func sigtramp()
    
    type sigactiont struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  5. src/log/log.go

    // Fatal is equivalent to [Print] followed by a call to [os.Exit](1).
    func Fatal(v ...any) {
    	std.Output(2, fmt.Sprint(v...))
    	os.Exit(1)
    }
    
    // Fatalf is equivalent to [Printf] followed by a call to [os.Exit](1).
    func Fatalf(format string, v ...any) {
    	std.Output(2, fmt.Sprintf(format, v...))
    	os.Exit(1)
    }
    
    // Fatalln is equivalent to [Println] followed by a call to [os.Exit](1).
    func Fatalln(v ...any) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  6. cluster/gce/upgrade.sh

          ;;
        h)
          usage
          exit 0
          ;;
        \?)
          echo "Invalid option: -$OPTARG" >&2
          usage
          exit 1
          ;;
      esac
    done
    shift $((OPTIND-1))
    
    if [[ $# -gt 1 ]]; then
      echo "Error: Only one parameter (<version number or publication>) may be passed after the set of flags!" >&2
      usage
      exit 1
    fi
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  7. src/cmd/go/main.go

    	if cfg.GOROOT == "" {
    		fmt.Fprintf(os.Stderr, "go: cannot find GOROOT directory: 'go' binary is trimmed and GOROOT is not set\n")
    		os.Exit(2)
    	}
    	if fi, err := os.Stat(cfg.GOROOT); err != nil || !fi.IsDir() {
    		fmt.Fprintf(os.Stderr, "go: cannot find GOROOT directory: %v\n", cfg.GOROOT)
    		os.Exit(2)
    	}
    	switch strings.ToLower(cfg.GOROOT) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. cluster/gce/gci/configure.sh

        echo "ERROR ctr not found. Aborting."
        exit 2
      fi
      ctr --version
      if ! command -v containerd >/dev/null 2>&1; then
        echo "ERROR containerd not found. Aborting."
        exit 2
      fi
      containerd --version
      if ! command -v runc >/dev/null 2>&1; then
        echo "ERROR runc not found. Aborting."
        exit 2
      fi
      runc --version
    }
    
    function ensure-container-runtime {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    # Abhängigkeiten mit yield
    
    FastAPI unterstützt Abhängigkeiten, die nach Abschluss einige <abbr title="Manchmal auch genannt „Exit Code“, „Cleanup Code“, „Teardown Code“, „Closing Code“, „Kontext Manager Exit Code“, usw.">zusätzliche Schritte ausführen</abbr>.
    
    Verwenden Sie dazu `yield` statt `return` und schreiben Sie die zusätzlichen Schritte / den zusätzlichen Code danach.
    
    !!! tip "Tipp"
        Stellen Sie sicher, dass Sie `yield` nur einmal pro Abhängigkeit verwenden.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:10:29 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. src/syscall/mkall.sh

    		rm _$i
    	done
    	exit 0
    	;;
    -n)
    	run="cat"
    	shift
    esac
    
    case "$#" in
    0)
    	;;
    *)
    	echo 'usage: mkall.sh [-n]' 1>&2
    	exit 2
    esac
    
    GOOSARCH_in=syscall_$GOOSARCH.go
    case "$GOOSARCH" in
    _* | *_ | _)
    	echo 'undefined $GOOS_$GOARCH:' "$GOOSARCH" 1>&2
    	exit 1
    	;;
    aix_ppc64)
    	mkerrors="$mkerrors -maix64"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 18:22:23 UTC 2023
    - 14.6K bytes
    - Viewed (0)
Back to top