Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 233 for EXIT (0.02 sec)

  1. docs/bucket/replication/setup_2site_existing_replication.sh

    siteb_out=$(cat /tmp/siteb_dirs.txt)
    
    if [ $sitea_count -ne 0 ]; then
    	echo "BUG: expected no 'directory objects' left after deletion: ${sitea_out}"
    	exit 1
    fi
    
    if [ $siteb_count -ne 0 ]; then
    	echo "BUG: expected no 'directory objects' left after deletion: ${siteb_out}"
    	exit 1
    fi
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/all.bat

    governed by a BSD-style
    L3::: license that can be found in the LICENSE file.
    L4:
    L5:@echo off
    L6:
    L7:setlocal
    L8:
    L9:if not exist make.bat (
    L10:    echo all.bat must be run from go\src
    L11:    exit /b 1
    L12:)
    L13:
    L14:call .\make.bat --no-banner || exit /b 1
    L15:call .\run.bat --no-rebuild || exit /b 1
    L16:..\bin\go tool dist banner
    ...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Feb 11 17:45:10 UTC 2025
    - 388 bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top