- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 421 for goexit (0.04 seconds)
-
src/cmd/addr2line/addr2line_test.go
// GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise. func TestMain(m *testing.M) { if os.Getenv("GO_ADDR2LINETEST_IS_ADDR2LINE") != "" { main() os.Exit(0) } os.Setenv("GO_ADDR2LINETEST_IS_ADDR2LINE", "1") // Set for subprocesses to inherit. os.Exit(m.Run()) } func loadSyms(t *testing.T, dbgExePath string) map[string]string { cmd := testenv.Command(t, testenv.GoToolPath(t), "tool", "nm", dbgExePath)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Sep 06 13:23:48 GMT 2024 - 3.2K bytes - Click Count (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.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Click Count (0) -
fastapi/.agents/skills/fastapi/references/dependencies.md
## Dependencies with `yield` and `scope` When using dependencies with `yield`, they can have a `scope` that defines when the exit code is run. Use the default scope `"request"` to run the exit code after the response is sent back. ```python from typing import Annotated from fastapi import Depends, FastAPI app = FastAPI() def get_db():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 10:05:57 GMT 2026 - 3.2K bytes - Click Count (0) -
.ci/os.ps1
{ # Relaunch as an elevated process: Start-Process powershell.exe "-File",('"{0}"' -f $MyInvocation.MyCommand.Path) -Verb RunAs exit } $AppProps = ConvertFrom-StringData (Get-Content .ci/java-versions.properties -raw) $env:ES_BUILD_JAVA=$AppProps.ES_BUILD_JAVA $env:ES_RUNTIME_JAVA=$AppProps.ES_RUNTIME_JAVA $ErrorActionPreference="Stop"Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jul 08 20:49:46 GMT 2020 - 1.3K bytes - Click Count (0) -
cmd/metacache-manager.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Oct 25 00:44:15 GMT 2022 - 5.2K bytes - Click Count (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 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jun 16 23:10:48 GMT 2022 - 3.3K bytes - Click Count (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
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Feb 26 21:54:09 GMT 2020 - 518 bytes - Click Count (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
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java
StringBuilder tokBuf = new StringBuilder(10); String tok; boolean inQuote = false; boolean tokStarted = false; boolean exit = false; while ((st.hasMoreTokens()) && (!exit)) { tok = st.nextToken(tokenList); switch (tok) { case "\"": inQuote = !inQuote;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 6.4K bytes - Click Count (0) -
helm-releases/minio-4.0.15.tgz
; STATUS=$? ; until [ $STATUS = 0 ] do ATTEMPTS=`expr $ATTEMPTS + 1` ; echo \"Failed attempts: $ATTEMPTS\" ; if [ $ATTEMPTS -gt $LIMIT ]; then exit 1 ; fi ; sleep 2 ; # 1 second intervals between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} ls myminio/$BUCKET > /dev/null 2>&1) return $? } # createBucket ($bucket, $policy,...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 21 11:07:01 GMT 2022 - 20K bytes - Click Count (0)