- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 248 for Goexit (0.04 sec)
-
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
# Dependencies with yield { #dependencies-with-yield } FastAPI supports dependencies that do some <abbr title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>extra steps after finishing</abbr>. To do this, use `yield` instead of `return`, and write the extra steps (code) after. /// tip Make sure to use `yield` one single time per dependency. /// /// note | Technical Details
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.7K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java
} /** * Exception for intentional exit: No message or anything will be displayed, just the * carried exit code will be returned from invoker {@link Invoker#invoke(InvokerRequest)} method. */ public static final class ExitException extends InvokerException { private final int exitCode; public ExitException(int exitCode) { super("EXIT"); this.exitCode = exitCode; }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Nov 13 14:14:56 UTC 2024 - 2.5K bytes - Viewed (0) -
misc/go_android_exec/main.go
// Build a regexp that matches any prefix of the exit string at the end of // the input. We do it this way to avoid assuming anything about the // subcommand output (e.g., it might not be \n-terminated). var exitReStr strings.Builder for i := 1; i <= len(exitStr); i++ { fmt.Fprintf(&exitReStr, "%s$|", exitStr[:i]) } // Finally, match the exit string along with an exit code.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
src/bootstrap.bash
if [ "$GOOS" = "" -o "$GOARCH" = "" ]; then echo "usage: GOOS=os GOARCH=arch ./bootstrap.bash [-force]" >&2 exit 2 fi forceflag="" if [ "$1" = "-force" ]; then forceflag=-force shift fi targ="../../go-${GOOS}-${GOARCH}-bootstrap" if [ -e $targ ]; then echo "$targ already exists; remove before continuing" exit 2 fi unset GOROOT src=$(cd .. && pwd) echo "#### Copying to $targ" cp -Rp "$src" "$targ"
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Jan 20 17:52:26 UTC 2023 - 2.3K bytes - Viewed (0) -
buildscripts/verify-healing.sh
#!/bin/bash -e # set -E set -o pipefail if [ ! -x "$PWD/minio" ]; then echo "minio executable binary not found in current directory" exit 1 fi WORK_DIR="$PWD/.verify-$RANDOM" MINIO_CONFIG_DIR="$WORK_DIR/.minio" MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server) GOPATH=/tmp/gopath function start_minio_3_node() { for i in $(seq 1 3); do rm "${WORK_DIR}/dist-minio-server$i.log" done
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 4K bytes - Viewed (0) -
cmd/metacache-manager.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 5.2K bytes - Viewed (0) -
buildscripts/gen-ldflags.go
fmt.Fprintln(os.Stderr, "Error generating git commit-time: ", err) os.Exit(1) } t, err := time.Parse(time.RFC3339, strings.TrimSpace(string(commitUnix))) if err != nil { fmt.Fprintln(os.Stderr, "Error generating git commit-time: ", err) os.Exit(1) } return t.UTC() } func main() { var version string if len(os.Args) > 1 {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Jun 16 23:10:48 UTC 2022 - 3.3K bytes - Viewed (0) -
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: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 12.2K bytes - Viewed (0) -
src/clean.bash
set -e if [ ! -f run.bash ]; then echo 'clean.bash must be run from $GOROOT/src' 1>&2 exit 1 fi export GOROOT="$(cd .. && pwd)" gobin="${GOROOT}"/bin if ! "$gobin"/go help >/dev/null 2>&1; then echo 'cannot find go command; nothing to clean' >&2 exit 1 fi "$gobin/go" clean -i std "$gobin/go" tool dist clean
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Feb 26 21:54:09 UTC 2020 - 518 bytes - Viewed (0) -
src/test/resources/run.sh
ret=$? if [ $ret != 0 ] ; then for f in `find ./target -type f | grep surefire-reports | grep -v /TEST-` ; do cat $f done fi
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Feb 10 03:25:34 UTC 2024 - 353 bytes - Viewed (0)