/dports/polish/napi/napi-ac404649571e470bf9494f788bd8a74843956851/libs/ |
H A D | libnapi_subotage.sh | 114 local attempts="$maxAttempts" 129 [ "$attempts" -eq 0 ] && break 131 attempts=$(( attempts - 1 )) 162 local attempts="$maxAttempts" 178 attempts=$(( attempts - 1 )) 199 local attempts="$maxAttempts" 247 attempts=$(( attempts - 1 )) 258 local attempts="$maxAttempts" 276 attempts=$(( attempts - 1 )) 302 local attempts="$maxAttempts" [all …]
|
/dports/dns/py-namebench/namebench-1.3.1/libnamebench/ |
H A D | selectors.py | 69 attempts = 0 71 attempts += 1 73 if attempts > (count * 4): 102 attempts = 0 104 attempts += 1 106 if attempts > (count * 4):
|
/dports/devel/py-azure-identity/azure-identity-1.5.0/azure/identity/_credentials/ |
H A D | chained.py | 25 attempts = [] 28 attempts.append("{}: {}".format(credential.__class__.__name__, error)) 30 attempts.append(credential.__class__.__name__) 33 "\n\t".join(attempts) 87 attempts = _get_error_message(history) 88 …= self.__class__.__name__ + " failed to retrieve a token from the included credentials." + attempts
|
/dports/www/moodle310/moodle/mod/quiz/ |
H A D | view.php | 84 $attempts = quiz_get_user_attempts($quiz->id, $USER->id, 'finished', true); variable 85 $lastfinishedattempt = end($attempts); 89 $attempts[] = $unfinishedattempt; 103 $numattempts = count($attempts); 105 $viewobj->attempts = $attempts; 107 foreach ($attempts as $attempt) { 147 if ($attempts) { 149 list($someoptions, $alloptions) = quiz_get_combined_reviewoptions($quiz, $attempts); 151 $viewobj->attemptcolumn = $quiz->attempts != 1; 183 if ($quiz->attempts != 1) {
|
/dports/www/moodle311/moodle/mod/quiz/ |
H A D | view.php | 84 $attempts = quiz_get_user_attempts($quiz->id, $USER->id, 'finished', true); variable 85 $lastfinishedattempt = end($attempts); 89 $attempts[] = $unfinishedattempt; 103 $numattempts = count($attempts); 105 $viewobj->attempts = $attempts; 107 foreach ($attempts as $attempt) { 149 if ($attempts) { 151 list($someoptions, $alloptions) = quiz_get_combined_reviewoptions($quiz, $attempts); 153 $viewobj->attemptcolumn = $quiz->attempts != 1; 185 if ($quiz->attempts != 1) {
|
H A D | deprecatedlib.php | 65 $attempts = quiz_get_user_attempts($quiz->id, $userid, 'finished', true); 66 if (!$attempts) { 69 $lastfinishedattempt = end($attempts); 75 return $accessmanager->is_finished(count($attempts), $lastfinishedattempt); 97 $attempts = quiz_get_user_attempts($quiz->id, $userid, 'finished', true); 98 return $quiz->completionminattempts <= count($attempts);
|
/dports/www/moodle39/moodle/mod/quiz/ |
H A D | view.php | 84 $attempts = quiz_get_user_attempts($quiz->id, $USER->id, 'finished', true); variable 85 $lastfinishedattempt = end($attempts); 89 $attempts[] = $unfinishedattempt; 103 $numattempts = count($attempts); 105 $viewobj->attempts = $attempts; 107 foreach ($attempts as $attempt) { 147 if ($attempts) { 149 list($someoptions, $alloptions) = quiz_get_combined_reviewoptions($quiz, $attempts); 151 $viewobj->attemptcolumn = $quiz->attempts != 1; 183 if ($quiz->attempts != 1) {
|
/dports/net/gscloud/gscloud-0.11.0/vendor/k8s.io/utils/io/ |
H A D | read.go | 33 func ConsistentRead(filename string, attempts int) ([]byte, error) { 34 return consistentReadSync(filename, attempts, nil) 40 func consistentReadSync(filename string, attempts int, sync func(int)) ([]byte, error) { 45 for i := 0; i < attempts; i++ { 59 …urn nil, fmt.Errorf("could not get consistent content of %s after %d attempts", filename, attempts)
|
/dports/security/vault/vault-1.8.2/vendor/k8s.io/utils/io/ |
H A D | read.go | 33 func ConsistentRead(filename string, attempts int) ([]byte, error) { 34 return consistentReadSync(filename, attempts, nil) 40 func consistentReadSync(filename string, attempts int, sync func(int)) ([]byte, error) { 45 for i := 0; i < attempts; i++ { 59 …urn nil, fmt.Errorf("could not get consistent content of %s after %d attempts", filename, attempts)
|
/dports/security/aws-iam-authenticator/aws-iam-authenticator-0.5.2/vendor/k8s.io/utils/utils-581e00157fb1/io/ |
H A D | read.go | 33 func ConsistentRead(filename string, attempts int) ([]byte, error) { 34 return consistentReadSync(filename, attempts, nil) 40 func consistentReadSync(filename string, attempts int, sync func(int)) ([]byte, error) { 45 for i := 0; i < attempts; i++ { 59 …urn nil, fmt.Errorf("could not get consistent content of %s after %d attempts", filename, attempts)
|
/dports/misc/concourse/concourse-6.7.2/vendor/k8s.io/utils/io/ |
H A D | read.go | 33 func ConsistentRead(filename string, attempts int) ([]byte, error) { 34 return consistentReadSync(filename, attempts, nil) 40 func consistentReadSync(filename string, attempts int, sync func(int)) ([]byte, error) { 45 for i := 0; i < attempts; i++ { 59 …urn nil, fmt.Errorf("could not get consistent content of %s after %d attempts", filename, attempts)
|
/dports/security/vuls/vuls-0.13.7/vendor/k8s.io/utils/io/ |
H A D | read.go | 33 func ConsistentRead(filename string, attempts int) ([]byte, error) { 34 return consistentReadSync(filename, attempts, nil) 40 func consistentReadSync(filename string, attempts int, sync func(int)) ([]byte, error) { 45 for i := 0; i < attempts; i++ { 59 …urn nil, fmt.Errorf("could not get consistent content of %s after %d attempts", filename, attempts)
|
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/k8s.io/utils/io/ |
H A D | read.go | 33 func ConsistentRead(filename string, attempts int) ([]byte, error) { 34 return consistentReadSync(filename, attempts, nil) 40 func consistentReadSync(filename string, attempts int, sync func(int)) ([]byte, error) { 45 for i := 0; i < attempts; i++ { 59 …urn nil, fmt.Errorf("could not get consistent content of %s after %d attempts", filename, attempts)
|
/dports/sysutils/helm/helm-3.5.2/vendor/k8s.io/utils/io/ |
H A D | read.go | 33 func ConsistentRead(filename string, attempts int) ([]byte, error) { 34 return consistentReadSync(filename, attempts, nil) 40 func consistentReadSync(filename string, attempts int, sync func(int)) ([]byte, error) { 45 for i := 0; i < attempts; i++ { 59 …urn nil, fmt.Errorf("could not get consistent content of %s after %d attempts", filename, attempts)
|
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/k8s.io/utils/utils-67b214c5f920/io/ |
H A D | read.go | 33 func ConsistentRead(filename string, attempts int) ([]byte, error) { 34 return consistentReadSync(filename, attempts, nil) 40 func consistentReadSync(filename string, attempts int, sync func(int)) ([]byte, error) { 45 for i := 0; i < attempts; i++ { 59 …urn nil, fmt.Errorf("could not get consistent content of %s after %d attempts", filename, attempts)
|
/dports/sysutils/istio/istio-1.6.7/vendor/k8s.io/utils/io/ |
H A D | read.go | 33 func ConsistentRead(filename string, attempts int) ([]byte, error) { 34 return consistentReadSync(filename, attempts, nil) 40 func consistentReadSync(filename string, attempts int, sync func(int)) ([]byte, error) { 45 for i := 0; i < attempts; i++ { 59 …urn nil, fmt.Errorf("could not get consistent content of %s after %d attempts", filename, attempts)
|
/dports/sysutils/terraform/terraform-1.0.11/vendor/k8s.io/utils/io/ |
H A D | read.go | 33 func ConsistentRead(filename string, attempts int) ([]byte, error) { 34 return consistentReadSync(filename, attempts, nil) 40 func consistentReadSync(filename string, attempts int, sync func(int)) ([]byte, error) { 45 for i := 0; i < attempts; i++ { 59 …urn nil, fmt.Errorf("could not get consistent content of %s after %d attempts", filename, attempts)
|
/dports/sysutils/chaoskube/chaoskube-0.22.0/vendor/k8s.io/utils/io/ |
H A D | read.go | 33 func ConsistentRead(filename string, attempts int) ([]byte, error) { 34 return consistentReadSync(filename, attempts, nil) 40 func consistentReadSync(filename string, attempts int, sync func(int)) ([]byte, error) { 45 for i := 0; i < attempts; i++ { 59 …urn nil, fmt.Errorf("could not get consistent content of %s after %d attempts", filename, attempts)
|
/dports/sysutils/flowgger/flowgger-0.2.10/cargo-crates/kafka-0.8.0/tests/ |
H A D | do_until_success | 3 attempts=0 7 attempts=$(($attempts+1)) 9 if [[ $attempts -gt $max_attempts ]]; then
|
/dports/dns/py-namebench/namebench-1.3.1/tools/ |
H A D | alexa-subdomains.py | 47 def FetchUrl(url, attempts=0): argument 48 attempts += 1 49 print >> sys.stderr, "Fetching %s (attempt %s)" % (url, attempts) 54 if attempts < MAX_ATTEMPTS: 57 return FetchUrl(url, attempts=attempts)
|
/dports/sysutils/burp/burp-2.4.0/test/ |
H A D | vms_freebsd | 30 attempts=0 34 attempts=$((attempts+1)) 35 [ "$attempts" = "$attempts_max" ] && \ 36 fail "Could not make initial ssh connection after $attempts"
|
/dports/sysutils/burp-devel/burp-2.5.4/test/ |
H A D | vms_freebsd | 30 attempts=0 34 attempts=$((attempts+1)) 35 [ "$attempts" = "$attempts_max" ] && \ 36 fail "Could not make initial ssh connection after $attempts"
|
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/golang.org/x/net/netutil/ |
H A D | listen_test.go | 24 attempts := (nettest.MaxOpenFiles() - max) / 2 25 if attempts > 256 { // maximum length of accept queue is 128 by default 26 attempts = 256 48 for i := 0; i < attempts; i++ { 67 if int(failed) >= attempts/2 { 68 t.Errorf("%d requests failed within %d attempts", failed, attempts)
|
/dports/databases/tile38/tile38-1.12.0/vendor/golang.org/x/net/netutil/ |
H A D | listen_test.go | 24 attempts := (nettest.MaxOpenFiles() - max) / 2 25 if attempts > 256 { // maximum length of accept queue is 128 by default 26 attempts = 256 48 for i := 0; i < attempts; i++ { 67 if int(failed) >= attempts/2 { 68 t.Errorf("%d requests failed within %d attempts", failed, attempts)
|
/dports/devel/hadoop/hadoop-1.2.1/src/tools/org/apache/hadoop/tools/rumen/ |
H A D | ParsedTask.java | 94 List<LoggedTaskAttempt> attempts = getAttempts(); in obtainTaskAttempts() local 95 return convertTaskAttempts(attempts); in obtainTaskAttempts() 99 List<LoggedTaskAttempt> attempts) { in convertTaskAttempts() argument 102 for (LoggedTaskAttempt t : attempts) { in convertTaskAttempts() 122 List<ParsedTaskAttempt> attempts = obtainTaskAttempts(); in dumpParsedTask() local 123 for (ParsedTaskAttempt attempt : attempts) { in dumpParsedTask()
|