- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 307 for trap (0.15 sec)
-
common/scripts/kind_provisioner.sh
IMAGE="${1:-"${DEFAULT_KIND_IMAGE}"}" KUBECONFIG_DIR="${ARTIFACTS:-$(mktemp -d)}/kubeconfig" IP_FAMILY="${2:-ipv4}" check_default_cluster_yaml # Trap replaces any previous trap's, so we need to explicitly cleanup clusters here trap cleanup_kind_clusters EXIT function deploy_kind() { IDX="${1}" CLUSTER_NAME="${CLUSTER_NAMES[$IDX]}" CLUSTER_POD_SUBNET="${CLUSTER_POD_SUBNETS[$IDX]}"
Shell Script - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Apr 08 19:12:55 GMT 2024 - 17.3K bytes - Viewed (1) -
ci/official/utilities/setup.sh
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Jan 26 00:33:34 GMT 2024 - 5.2K bytes - Viewed (1) -
src/main/java/jcifs/smb/NtlmAuthenticator.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb; /** * This class can be extended by applications that wish to trap authentication related exceptions and automatically * retry the exceptional operation with different credentials. Read <a href="../../../authhandler.html">jCIFS Exceptions * and NtlmAuthenticator</a> for complete details. */
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 3.4K bytes - Viewed (0) -
bin/retry.sh
function fail { echo "${1}" >&2 exit 1 } function isatty() { if [ -t 1 ] ; then return 0 else return 1 fi } function retry { local tmpFile tmpFile=$(mktemp) trap 'rm -f "${tmpFile}"' EXIT local failureRegex="$1" shift local n=1 local max=5 while true; do unset SHELL # Don't let environment control which shell to use if isatty; then
Shell Script - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jun 11 16:08:08 GMT 2021 - 2K bytes - Viewed (0) -
fuzzing/fuzzingserver-test.sh
cd "$SCRIPT_DIR" which wstest if [ $? != 0 ]; then echo "Run 'pip install autobahntestsuite', maybe with 'sudo'." exit 1 fi which jq if [ $? != 0 ]; then echo "Run 'brew install jq'" exit 1 fi trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT set -ex wstest -m fuzzingserver -s fuzzingserver-config.json & sleep 2 # wait for wstest to start java -jar target/okhttp-tests-*-jar-with-dependencies.jar
Shell Script - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Mar 26 02:01:32 GMT 2019 - 673 bytes - Viewed (0) -
internal/http/response-recorder.go
package http import ( "bufio" "bytes" "errors" "fmt" "io" "net" "net/http" "time" ) // ResponseRecorder - is a wrapper to trap the http response // status code and to record the response body type ResponseRecorder struct { http.ResponseWriter io.ReaderFrom StatusCode int // Log body of 4xx or 5xx responses LogErrBody bool
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Dec 02 00:13:19 GMT 2023 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.smb1; /** This class can be extended by applications that wish to trap authentication related exceptions and automatically retry the exceptional operation with different credentials. Read <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for complete details. */
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 2.8K bytes - Viewed (0) -
buildscripts/minio-upgrade.sh
#!/bin/bash trap 'cleanup $LINENO' ERR # shellcheck disable=SC2120 cleanup() { MINIO_VERSION=dev docker-compose \ -f "buildscripts/upgrade-tests/compose.yml" \ rm -s -f docker volume prune -f } verify_checksum_after_heal() { local sum1 sum1=$(curl -s "$2" | sha256sum) mc admin heal --json -r "$1" >/dev/null # test after healing local sum1_heal sum1_heal=$(curl -s "$2" | sha256sum)
Shell Script - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Apr 05 11:39:55 GMT 2024 - 2.2K bytes - Viewed (0) -
bin/update_crds.sh
# See the License for the specific language governing permissions and # limitations under the License. set -e fail() { echo "$@" 1>&2 exit 1 } API_TMP="$(mktemp -d -u)" trap 'rm -rf "${API_TMP}"' EXIT SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ROOTDIR=$(dirname "${SCRIPTPATH}") cd "${ROOTDIR}" REPO="github.com/istio/api"
Shell Script - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Apr 22 14:28:27 GMT 2024 - 3.4K bytes - Viewed (0) -
docs/bucket/versioning/versioning-tests.sh
#!/usr/bin/env bash if [ -n "$TEST_DEBUG" ]; then set -x fi trap 'catch $LINENO' ERR # shellcheck disable=SC2120 catch() { if [ $# -ne 0 ]; then echo "error on line $1" echo "server logs =========" cat "/tmp/sitea_1.log" echo "===========================" cat "/tmp/sitea_2.log" fi echo "Cleaning up instances of MinIO" pkill minio pkill -9 minio rm -rf /tmp/multisitea } catch
Shell Script - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 11 09:50:52 GMT 2024 - 2.4K bytes - Viewed (0)