Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 146 for Exit (0.03 sec)

  1. tests/tests_test.go

    		log.Printf("failed to connect database, got error %v", err)
    		os.Exit(1)
    	} else {
    		sqlDB, err := DB.DB()
    		if err != nil {
    			log.Printf("failed to connect database, got error %v", err)
    			os.Exit(1)
    		}
    
    		err = sqlDB.Ping()
    		if err != nil {
    			log.Printf("failed to ping sqlDB, got error %v", err)
    			os.Exit(1)
    		}
    
    		RunMigrations()
    	}
    }
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       * process with an exit status of 1, indicating abnormal termination.
       */
      public static UncaughtExceptionHandler systemExit() {
        return new Exiter(Runtime.getRuntime()::exit);
      }
    
      @VisibleForTesting
      interface RuntimeWrapper {
        void exit(int status);
      }
    
      @VisibleForTesting
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. helm/minio/templates/_helper_create_bucket.txt

    		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} stat myminio/$BUCKET >/dev/null 2>&1)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 07 09:47:02 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/main/assemblies/files/generate-thumbnail

    elif [[ x"${cmd_type}" = "x" ]] ; then
      echo "No filetype."
      exit 1
    else
      echo "Unsupported type: ${cmd_type}"
      exit 1
    fi
    
    if [[ ! -f ${output_file} ]] ; then
      echo "Thumbnail is not created."
      exit 1
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 04 08:02:36 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. buildscripts/checkdeps.sh

    			echo "OSX version '${osx_host_version}' is not supported. Minimum supported version: ${OSX_VERSION}"
    			exit 1
    		fi
    		return
    		;;
    	*)
    		echo "OS '${KNAME}' is not supported. Supported OS: [Linux, FreeBSD, OpenBSD, NetBSD, Darwin, DragonFly]"
    		exit 1
    		;;
    	esac
    }
    
    assert_check_golang_env() {
    	if ! which go >/dev/null 2>&1; then
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Jun 08 16:12:05 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/clean.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:go tool dist env -w -p >env.bat || exit /b 1
    L10:call .\env.bat
    L11:del env.bat
    L12:echo.
    L13:
    L14:if not exist %GOTOOLDIR%\dist.exe (
    L15:    echo cannot find %GOTOOLDIR%\dist.exe; nothing to clean
    L16:    exit /b 1
    L17:)
    L18:
    L19:"%GOBIN%\go" clean -i std
    L20:"%GOBIN%\go" tool dist clean
    L21:"%GOBIN%\go" clean -i cmd
    ...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Feb 11 17:45:10 UTC 2025
    - 475 bytes
    - Viewed (0)
  7. docs/en/docs/advanced/advanced-dependencies.md

    Using `Depends(scope="function")`, the exit code after `yield` is executed right after the *path operation function* is finished, before the response is sent back to the client.
    
    And when using `Depends(scope="request")` (the default), the exit code after `yield` is executed after the response is sent.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Nov 13 07:37:15 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ///
    
    ## Early exit and `scope` { #early-exit-and-scope }
    
    Normally the exit code of dependencies with `yield` is executed **after the response** is sent to the client.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. maven-tests/mvnw

        exit 1
      fi
      if [ $distributionSha256Result = false ]; then
        echo "Error: Failed to validate Maven distribution SHA-256, your Maven distribution might be compromised." >&2
        echo "If you updated your Maven version, you need to update the specified distributionSha256Sum property." >&2
        exit 1
      fi
    fi
    
    # unzip and move
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Sep 25 18:22:49 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       * process with an exit status of 1, indicating abnormal termination.
       */
      public static UncaughtExceptionHandler systemExit() {
        return new Exiter(Runtime.getRuntime()::exit);
      }
    
      @VisibleForTesting
      interface RuntimeWrapper {
        void exit(int status);
      }
    
      @VisibleForTesting
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top