Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 240 for goexit (0.03 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/metacache-manager.go

    			objAPI = newObjectLayerFn()
    		}
    
    		t := time.NewTicker(time.Minute)
    		defer t.Stop()
    
    		var exit bool
    		for !exit {
    			select {
    			case <-t.C:
    			case <-GlobalContext.Done():
    				exit = true
    			}
    			m.mu.RLock()
    			for _, v := range m.buckets {
    				if !exit {
    					v.cleanup()
    				}
    			}
    			m.mu.RUnlock()
    			m.mu.Lock()
    			for k, v := range m.trash {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. ci/official/utilities/setup.sh

    done
    set -e
    
    # Single handler for all cleanup actions, triggered on an EXIT trap.
    # TODO(angerson) Making this use different scripts may be overkill.
    cleanup() {
      if [[ "$TFCI_DOCKER_ENABLE" == 1 ]]; then
        ./ci/official/utilities/cleanup_docker.sh
      fi
      ./ci/official/utilities/cleanup_summary.sh
    }
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jan 09 18:37:25 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. 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)
  10. docs/bucket/replication/sio-error.sh

    #!/bin/bash
    
    echo "Running $0"
    
    set -e
    set -x
    
    export CI=1
    
    make || exit 255
    
    killall -9 minio || true
    
    rm -rf /tmp/xl/
    mkdir -p /tmp/xl/1/ /tmp/xl/2/
    
    export MINIO_KMS_SECRET_KEY="my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw="
    
    NODES=4
    
    args1=()
    args2=()
    for i in $(seq 1 $NODES); do
    	args1+=("http://localhost:$((9000 + i))/tmp/xl/1/$i ")
    	args2+=("http://localhost:$((9100 + i))/tmp/xl/2/$i ")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top