- Sort Score
- Result 10 results
- Languages All
Results 1621 - 1630 of 6,241 for if (0.03 sec)
-
cmd/copy-part-range_test.go
rs, err := parseCopyPartRangeSpec(successCase.rangeString) if err != nil { t.Fatalf("expected: <nil>, got: %s", err) } start, length, err1 := rs.GetOffsetLength(objectSize) if err1 != nil { t.Fatalf("expected: <nil>, got: %s", err1) } if start != successCase.offsetBegin { t.Fatalf("expected: %d, got: %d", successCase.offsetBegin, start) } if start+length-1 != successCase.offsetEnd {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.5K bytes - Viewed (0) -
docs/recipes.md
```kotlin if (credential == response.request.header("Authorization")) { return null // If we already failed with these credentials, don't retry. } ``` You may also skip the retry when you’ve hit an application-defined attempt limit: ```kotlin if (response.responseCount >= 3) { return null // If we've failed 3 times, give up. } ```
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Feb 18 08:52:22 UTC 2022 - 40.2K bytes - Viewed (0) -
android/guava/src/com/google/common/math/Quantiles.java
if (containsNaN(dataset)) { return NaN; } // Calculate the quotient and remainder in the integer division x = k * (N-1) / q, i.e. // index * (dataset.length - 1) / scale. If there is no remainder, we can just find the value // whose index in the sorted dataset equals the quotient; if there is a remainder, we
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 17:02:53 UTC 2023 - 29.9K bytes - Viewed (0) -
internal/lsync/lrwmutex.go
lm.mu.Lock() defer lm.mu.Unlock() // Try to release lock. if isWriteLock { if lm.isWriteLock && lm.ref == 1 { lm.ref = 0 lm.isWriteLock = false unlocked = true } } else { if !lm.isWriteLock { if lm.ref > 0 { lm.ref-- unlocked = true } } } return unlocked } // ForceUnlock will forcefully clear a write or read lock.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
String superString = super.pendingToString(); String resultString = ""; if (localInputFuture != null) { resultString = "inputFuture=[" + localInputFuture + "], "; } if (localFunction != null) { return resultString + "function=[" + localFunction + "]"; } else if (superString != null) { return resultString + superString; } return null; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 11K bytes - Viewed (0) -
buildscripts/verify-healing-empty-erasure-set.sh
while true; do rv=$(check_online) if [ "$rv" != "1" ]; then # success break fi # Check if we should retry retry=$((retry + 1)) if [ $retry -le 20 ]; then sleep 5 continue fi # Failure fail done if ! ps -p $pid1 1>&2 >/dev/null; then echo "minio-server-1 is not running." && fail fi if ! ps -p $pid2 1>&2 >/dev/null; then
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 3.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
docs/distributed/decom.sh
expanded_policy_count=$(./mc admin policy list myminio/ | wc -l) if [ $user_count -ne $expanded_user_count ]; then echo "BUG: original user count differs from expanded setup" exit 1 fi if [ $policy_count -ne $expanded_policy_count ]; then echo "BUG: original policy count differs from expanded setup" exit 1 fi ./mc version info myminio/versioned | grep -q "versioning is enabled" ret=$? if [ $ret -ne 0 ]; then
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon May 27 19:17:46 UTC 2024 - 6.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
if (kuromojiItemList == null) { reload(null); } if (offset >= kuromojiItemList.size() || offset < 0) { return new PagingList<>(Collections.<KuromojiItem> emptyList(), offset, size, kuromojiItemList.size()); } int toIndex = offset + size; if (toIndex > kuromojiItemList.size()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.7K bytes - Viewed (0)