- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 269 for Preconditions (0.24 sec)
-
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
} } public void testCheckPositionIndexes_ok() { Preconditions.checkPositionIndexes(0, 0, 0); Preconditions.checkPositionIndexes(0, 0, 1); Preconditions.checkPositionIndexes(0, 1, 1); Preconditions.checkPositionIndexes(1, 1, 1); } public void testCheckPositionIndexes_badSize() { try { Preconditions.checkPositionIndexes(1, 1, -1); fail();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 19.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
} } public void testCheckPositionIndexes_ok() { Preconditions.checkPositionIndexes(0, 0, 0); Preconditions.checkPositionIndexes(0, 0, 1); Preconditions.checkPositionIndexes(0, 1, 1); Preconditions.checkPositionIndexes(1, 1, 1); } public void testCheckPositionIndexes_badSize() { try { Preconditions.checkPositionIndexes(1, 1, -1); fail();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 19.8K bytes - Viewed (0) -
cmd/object-handlers-common.go
"github.com/minio/minio/internal/hash" xhttp "github.com/minio/minio/internal/http" ) var etagRegex = regexp.MustCompile("\"*?([^\"]*?)\"*?$") // Validates the preconditions for CopyObjectPart, returns true if CopyObjectPart // operation should not proceed. Preconditions supported are: // // x-amz-copy-source-if-modified-since // x-amz-copy-source-if-unmodified-since // x-amz-copy-source-if-match // x-amz-copy-source-if-none-match
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 09 08:17:49 GMT 2024 - 14.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Verify.java
/** * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with no * message otherwise. * * @throws VerifyException if {@code expression} is {@code false} * @see Preconditions#checkState Preconditions.checkState() */ public static void verify(boolean expression) { if (!expression) { throw new VerifyException(); } } /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon May 17 14:07:47 GMT 2021 - 18.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
final Queue<OldExecutionList.RunnableExecutorPair> runnables = Lists.newLinkedList(); boolean executed = false; public void add(Runnable runnable, Executor executor) { Preconditions.checkNotNull(runnable, "Runnable was null."); Preconditions.checkNotNull(executor, "Executor was null."); boolean executeImmediate = false; synchronized (runnables) { if (!executed) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:19:38 GMT 2023 - 20.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
/** * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with no * message otherwise. * * @throws VerifyException if {@code expression} is {@code false} * @see Preconditions#checkState Preconditions.checkState() */ public static void verify(boolean expression) { if (!expression) { throw new VerifyException(); } } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon May 17 14:07:47 GMT 2021 - 18.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
final Queue<OldExecutionList.RunnableExecutorPair> runnables = Lists.newLinkedList(); boolean executed = false; public void add(Runnable runnable, Executor executor) { Preconditions.checkNotNull(runnable, "Runnable was null."); Preconditions.checkNotNull(executor, "Executor was null."); boolean executeImmediate = false; synchronized (runnables) { if (!executed) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 15:19:38 GMT 2023 - 20.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
* the License. */ package com.google.common.hash; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; import com.google.common.base.Preconditions; import com.google.common.primitives.Ints; import com.google.common.primitives.UnsignedInts;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 12.6K bytes - Viewed (0) -
cni/pkg/repair/repaircontroller.go
// Make sure we are deleting what we think we are... preconditions := &metav1.Preconditions{ UID: &pod.UID, ResourceVersion: &pod.ResourceVersion, } err := c.client.Kube().CoreV1().Pods(pod.Namespace).Delete(context.Background(), pod.Name, metav1.DeleteOptions{ Preconditions: preconditions, }) if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; import static com.google.common.collect.CollectPreconditions.checkNonnegative; import static com.google.common.collect.CollectPreconditions.checkRemove;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Mar 06 16:06:58 GMT 2023 - 10.4K bytes - Viewed (0)