Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for function (0.18 sec)

  1. buildscripts/verify-build.sh

    	if ! wget -q -O "$FUNCTIONAL_TESTS" https://raw.githubusercontent.com/minio/mc/master/functional-tests.sh; then
    		echo "failed to download https://raw.githubusercontent.com/minio/mc/master/functional-tests.sh"
    		exit 1
    	fi
    
    	sed -i 's|-sS|-sSg|g' "$FUNCTIONAL_TESTS"
    	chmod a+x "$FUNCTIONAL_TESTS"
    }
    
    function main() {
    	echo "Testing in FS setup"
    	if ! run_test_fs; then
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  2. buildscripts/verify-healing.sh

    		test $foundFiles1 -eq $foundFiles2
    		v2=$?
    		[ $v1 == 0 -a $v2 == 0 ] && return 0
    		sleep 10
    	done
    	return 1
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    function __init__() {
    	echo "Initializing environment"
    	mkdir -p "$WORK_DIR"
    	mkdir -p "$MINIO_CONFIG_DIR"
    
    	## version is purposefully set to '3' for minio to migrate configuration file
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  3. buildscripts/heal-inconsistent-versions.sh

    		"${PWD}/mc" cat --vid "${vid}" minio/bucket/testobj | md5sum
    	done
    
    	pkill minio
    	sleep 3
    }
    
    function main() {
    	start_port=$(shuf -i 10000-65000 -n 1)
    
    	start_minio_4drive ${start_port}
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    (main "$@")
    rv=$?
    purge "$WORK_DIR"
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  4. common/scripts/setup_env.sh

      fi
    }
    
    # This function is designed for maximum compatibility with various platforms. This runs on
    # any Mac or Linux platform with bash 4.2+. Please take care not to modify this function
    # without testing properly.
    #
    # This function will properly handle any type of path including those with spaces using the
    # loading pattern specified by *kubectl config*.
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 19:52:28 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  5. bin/update_ztunnel.sh

    set -e
    
    UPDATE_BRANCH=${UPDATE_BRANCH:-"master"}
    
    SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    ROOTDIR=$(dirname "${SCRIPTPATH}")
    cd "${ROOTDIR}"
    
    # Get the sha of top commit
    # $1 = repo
    function getSha() {
      local dir result
      dir=$(mktemp -d)
      git clone --depth=1 "https://github.com/istio/${1}.git" -b "${UPDATE_BRANCH}" "${dir}"
    
      result="$(cd "${dir}" && git rev-parse HEAD)"
      rm -rf "${dir}"
    
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 11 17:50:01 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  6. common/scripts/kind_provisioner.sh

    DEFAULT_KIND_IMAGE="gcr.io/istio-testing/kind-node:v1.28.4"
    
    # COMMON_SCRIPTS contains the directory this file is in.
    COMMON_SCRIPTS=$(dirname "${BASH_SOURCE:-$0}")
    
    function log() {
      echo -e "$(date -u '+%Y-%m-%dT%H:%M:%S.%NZ')\t$*"
    }
    
    function retry() {
      local n=1
      local max=5
      local delay=5
      while true; do
        "$@" && break
        if [[ $n -lt $max ]]; then
          ((n++))
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  7. buildscripts/resolve-right-versions.sh

    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	"${WORK_DIR}/mc" stat minio/bucket/testobj
    
    	pkill minio
    	sleep 3
    }
    
    function main() {
    	start_port=$(shuf -i 10000-65000 -n 1)
    
    	start_minio_5drive ${start_port}
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    (main "$@")
    rv=$?
    purge "$WORK_DIR"
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Aug 16 14:51:33 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  8. ci/official/utilities/repack_libtensorflow.sh

    #
    # Repacks libtensorflow tarballs into $DIR with provided $TARBALL_SUFFIX,
    # and also repacks libtensorflow-src.jar into a standardized format.
    
    # Helper function to copy a srcjar after moving any source files
    # directly under the root to the "maven-style" src/main/java layout
    #
    # Source files generated by annotation processors appear directly
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jul 12 19:47:53 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  9. bin/init.sh

    # docker images created by Dockerfile.proxyv2.
    
    # Gets the download command supported by the system (currently either curl or wget)
    DOWNLOAD_COMMAND=""
    function set_download_command () {
      # Try curl.
      if command -v curl > /dev/null; then
        if curl --version | grep Protocols  | grep https > /dev/null; then
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jan 25 19:11:31 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  10. src/packaging/rpm/init.d/fess

    ### END INIT INFO
    
    #
    # init.d / servicectl compatibility (openSUSE)
    #
    if [ -f /etc/rc.status ]; then
        . /etc/rc.status
        rc_reset
    fi
    
    #
    # Source function library.
    #
    if [ -f /etc/rc.d/init.d/functions ]; then
        . /etc/rc.d/init.d/functions
    fi
    
    # Sets the default values for fess variables used in this script
    PROC_NAME=org.codelibs.fess.FessBoot
    FESS_USER="${packaging.fess.user}"
    Shell Script
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 3.7K bytes
    - Viewed (1)
Back to top