Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for rint (0.4 sec)

  1. buildscripts/verify-build.sh

    #!/bin/bash
    #
    
    set -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"
    
    export MINT_MODE=core
    export MINT_DATA_DIR="$WORK_DIR/data"
    export SERVER_ENDPOINT="127.0.0.1:9000"
    export ACCESS_KEY="minio"
    export SECRET_KEY="minio123"
    export ENABLE_HTTPS=0
    export GO111MODULE=on
    export GOGC=25
    export ENABLE_ADMIN=1
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  2. ci/official/utilities/get_versions.sh

    # matches the /search/ regular expression. "print $N" prints the Nth "field",
    # where fields are strings separated by whitespace.
    export TF_VER_MAJOR=$(awk '/#define TF_MAJOR_VERSION/ {print $3}' tensorflow/core/public/version.h)
    export TF_VER_MINOR=$(awk '/#define TF_MINOR_VERSION/ {print $3}' tensorflow/core/public/version.h)
    export TF_VER_PATCH=$(awk '/#define TF_PATCH_VERSION/ {print $3}' tensorflow/core/public/version.h)
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. buildscripts/checkdeps.sh

    		exit 1
    	fi
    }
    
    assert_check_deps() {
    	# support unusual Git versions such as: 2.7.4 (Apple Git-66)
    	installed_git_version=$(git version | perl -ne '$_ =~ m/git version (.*?)( |$)/; print "$1\n";')
    	if ! check_minimum_version "${GIT_VERSION}" "${installed_git_version}"; then
    		echo "Git version '${installed_git_version}' is not supported. Minimum supported version: ${GIT_VERSION}"
    		exit 1
    	fi
    }
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  4. common/scripts/lint_go.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    if [[ "${ARTIFACTS}" != "" ]]; then
      golangci-lint run -v -c ./common/config/.golangci.yml --out-format colored-line-number,junit-xml:"${ARTIFACTS}"/junit-lint.xml
    else
      golangci-lint run -v -c ./common/config/.golangci.yml
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 26 21:57:53 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  5. common/scripts/kind_provisioner.sh

    from itertools import islice;
    
    net = ip_network('$CIDR')
    net_bits = 128 if type(net) == IPv6Network else 32;
    net_len = pow(2, net_bits - net.prefixlen)
    start, end = int(net_len / 4 * 3), net_len
    if net_len > 2000:
      start, end = 1000, 2000
    
    [print(str(ip) + "/" + str(ip.max_prefixlen)) for ip in islice(ip_network('$CIDR').hosts(), start, end)]
    EOF
    }
    
    function ips_to_cidrs() {
      IP_RANGE_START="$1"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  6. bin/init.sh

    # If we are not using the default, assume its private and we need to authenticate
    if [[ "${ISTIO_ENVOY_BASE_URL}" != "https://storage.googleapis.com/istio-build/proxy" ]]; then
      AUTH_HEADER="Authorization: Bearer $(gcloud auth print-access-token)"
      export AUTH_HEADER
    fi
    
    SIDECAR="${SIDECAR:-envoy}"
    
    # OS-neutral vars. These currently only work for linux.
    ISTIO_ENVOY_VERSION="${ISTIO_ENVOY_VERSION:-${PROXY_REPO_SHA}}"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 25 19:11:31 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  7. .github/workflows/run-mint.sh

    [ "${MODE}" == "pools" ] && docker-compose -f minio-${MODE}.yaml stop minio6
    
    docker run --rm --net=mint_default \
    	--name="mint-${MODE}-${JOB_NAME}" \
    	-e SERVER_ENDPOINT="nginx:9000" \
    	-e ACCESS_KEY="${ACCESS_KEY}" \
    	-e SECRET_KEY="${SECRET_KEY}" \
    	-e ENABLE_HTTPS=0 \
    	-e MINT_MODE="${MINT_MODE}" \
    	docker.io/minio/mint:edge
    
    docker-compose -f minio-${MODE}.yaml down || true
    sleep 10s
    
    docker system prune -f || true
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Oct 01 03:29:45 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  8. src/main/assemblies/files/fess

            return $?
        fi
    }
    
    # Print command line usage / help
    usage() {
        echo "Usage: $0 [-vdh] [-p pidfile] [-D prop] [-X prop]"
        echo "Start fess."
        echo "    -d            daemonize (run in background)"
        echo "    -p pidfile    write PID to <pidfile>"
        echo "    -h"
        echo "    --help        print command line options"
        echo "    -v            print fess version, then exit"
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  9. ci/official/containers/linux_arm64/devel.usertools/get_test_list.sh

    # Hides all extra output and always exits with success for now.
    
    OUTPUT=$1
    shift
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 1K bytes
    - Viewed (0)
  10. ci/official/utilities/rename_and_verify_wheels.sh

    python="$venv/bin/python3"
    "$python" -m pip install *.whl $TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS
    if [[ "$TFCI_WHL_IMPORT_TEST_ENABLE" == "1" ]]; then
      "$python" -c 'import tensorflow as tf; t1=tf.constant([1,2,3,4]); t2=tf.constant([5,6,7,8]); print(tf.add(t1,t2).shape)'
      "$python" -c 'import sys; import tensorflow as tf; sys.exit(0 if "keras" in tf.keras.__name__ else 1)'
    fi
    # VERY basic check to ensure the [and-cuda] package variant is installable.
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top