- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 545 for Equal (0.02 sec)
-
tests/associations_test.go
t.Fatalf("member id is not equal: expects: %v, got: %v", profile.Refer, member.ProfileID) } DB.Model(&profile).Update("Refer", 100) var member2 Member if err := DB.First(&member2, "id = ?", member.ID).Error; err != nil { t.Fatalf("failed to find member, got error: %v", err) } else if member2.ProfileID != 100 { t.Fatalf("member id is not equal: expects: %v, got: %v", 100, member2.ProfileID) }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 12 04:33:27 UTC 2025 - 13.3K bytes - Viewed (0) -
tests/test_tutorial/test_path_params_numeric_validations/test_tutorial006.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
SmbSession s2 = new SmbSession(addr, 445, inet, 0, a2); // same auth instance => matches assertTrue(s1.matches(a1)); // different instance but equal content => matches assertTrue(s1.matches(a2)); // not equal => no match NtlmPasswordAuthentication other = new NtlmPasswordAuthentication("OTHER", "u", "p"); assertFalse(s1.matches(other)); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
Boolean result2 = (Boolean) constantTimeMethod.invoke(null, password1, password3); assertTrue(result1, "Identical passwords should be equal"); assertFalse(result2, "Different passwords should not be equal"); } /** * Measure the average time for equals operations. */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
internal/config/lambda/event/targetidset_test.go
t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.set, result) } result.add(testCase.targetIDToAdd) if reflect.DeepEqual(result, testCase.set) { t.Fatalf("test %v: result: expected: not equal, got: equal", i+1) } } } func TestTargetIDSetUnion(t *testing.T) { testCases := []struct { set TargetIDSet setToAdd TargetIDSet expectedResult TargetIDSet }{
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 3.9K bytes - Viewed (0) -
tests/test_tutorial/test_query_param_models/test_tutorial002.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
assertFalse( "Should not contain key " + entry.getKey() + " mapped to value " + entry.getValue(), equal(getMap().get(entry.getKey()), entry.getValue())); } } private static boolean equal(@Nullable Object a, @Nullable Object b) { return a == b || (a != null && a.equals(b)); } // This one-liner saves us from some ugly casts
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
int combined = Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED | Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED; assertEquals(0x0003, combined, "Combined signing flags should equal 0x0003"); } } @Nested @DisplayName("Dialect Constants") class DialectConstants { @Test @DisplayName("SMB 2.0.2 dialect should be 0x0202")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
SmbTree tree4 = new SmbTree(session, "testShare", "otherService"); // Test equal trees (same share and service) assertEquals(tree1, tree2); // Test non-equal trees (different share) assertNotEquals(tree1, tree3); // Test non-equal trees (different service) assertNotEquals(tree1, tree4); // Test with different object type
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
/** * Returns true if `other` is a `Headers` object with the same headers, with the same casing, in * the same order. Note that two headers instances may be *semantically* equal but not equal * according to this method. In particular, none of the following sets of headers are equal * according to this method: * * 1. Original * ``` * Content-Type: text/html * Content-Length: 50 * ``` *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.5K bytes - Viewed (0)