- Sort Score
- Result 10 results
- Languages All
Results 811 - 820 of 1,771 for Equalf (0.04 sec)
-
internal/event/rulesmap_test.go
} result.Add(testCase.rulesMapToAdd) if reflect.DeepEqual(result, testCase.rulesMap) { t.Fatalf("test %v: result: expected: not equal, got: equal", i+1) } } } func TestRulesMapAdd(t *testing.T) { rulesMapCase1 := make(RulesMap) rulesMapToAddCase1 := make(RulesMap) expectedResultCase1 := make(RulesMap) rulesMapCase2 := make(RulesMap)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jan 05 18:43:06 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
if (!equal(actual, expected)) { // fail(), but with the JUnit-supplied message. assertEquals("Using seed " + seed, expected, actual); } } private static void assertEqualsUsingStartedWith( Collection<?> startedWith, @Nullable Object expected, @Nullable Object actual) { if (!equal(actual, expected)) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
} private static <E> List<E> list(E... elements) { return ImmutableList.copyOf(elements); } /** * Utility method to verify that the given LinkedHashSet is equal to and hashes identically to a * set constructed with the elements in the given collection. Also verifies that the ordering in * the set is the same as the ordering of the given contents. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 48.6K bytes - Viewed (0) -
src/archive/zip/writer_test.go
idx := bytes.Index(b, sig[:]) if idx == -1 { t.Fatal("file header not found") } b = b[idx:] if !bytes.Equal(b[6:10], []byte{0, 0, 0, 0}) { // FileHeader.Flags: 0, FileHeader.Method: 0 t.Errorf("unexpected method and flags: %v", b[6:10]) } if !bytes.Equal(b[14:26], make([]byte, 12)) { // FileHeader.{CRC32,CompressSize,UncompressedSize} all zero.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 14.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Count.java
public int getAndSet(int newValue) { int result = value; value = newValue; return result; } @Override public int hashCode() { return value; } @Override public boolean equals(@CheckForNull Object obj) { return obj instanceof Count && ((Count) obj).value == value; } @Override public String toString() { return Integer.toString(value); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Aug 05 00:40:25 UTC 2021 - 1.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ReferencedTypeBuilder.java
public void build(ClassDoc classDoc) { for (PropertyDoc propertyDoc : classDoc.getClassProperties()) { String referencedType = propertyDoc.getMetaData().getType().getName(); if (!referencedType.equals(classDoc.getName())) { model.findClassDoc(referencedType); } } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1.3K bytes - Viewed (0) -
internal/kms/secret-key_test.go
} plaintext, err := KMS.Decrypt(context.TODO(), &DecryptRequest{ Name: key.KeyID, Ciphertext: key.Ciphertext, }) if err != nil { t.Fatalf("Failed to decrypt key: %v", err) } if !bytes.Equal(key.Plaintext, plaintext) { t.Fatalf("Decrypted key does not match generated one: got %x - want %x", key.Plaintext, plaintext) } } func TestDecryptKey(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/bitrot.go
if algo != HighwayHash256S { h := algo.New() if n, err := io.Copy(h, r); err != nil || n != wantSize { // Premature failure in reading the object, file is corrupt. return errFileCorrupt } if !bytes.Equal(h.Sum(nil), want) { return errFileCorrupt } return nil } h := algo.New() hashBuf := make([]byte, h.Size()) left := wantSize // Calculate the size of the bitrot file and compare
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapEqualsTester.java
import com.google.common.collect.ListMultimap; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.testing.EqualsTester; import org.junit.Ignore; /** * Testers for {@link ListMultimap#equals(Object)}. * * @author Louis Wasserman */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/UsingToStringOrdering.java
@Override public int compare(Object left, Object right) { return left.toString().compareTo(right.toString()); } // preserve singleton-ness, so equals() and hashCode() work correctly private Object readResolve() { return INSTANCE; } @Override public String toString() { return "Ordering.usingToString()"; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 14:22:42 UTC 2021 - 1.4K bytes - Viewed (0)