- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 424 for Equal (0.08 sec)
-
tests/gorm_test.go
} else if results.RowsAffected != 2 { t.Fatalf("rows affected expects: %v, got %v", 1, results.RowsAffected) } else if u1.ID == 0 { t.Fatalf("ID expects : not equal 0, got %v", u1.ID) } else if u2.ID == 0 { t.Fatalf("ID expects : not equal 0, got %v", u2.ID) } var gotUsers []user results = DB.Where("id in (?, ?)", u1.ID, u2.ID).Order("id asc").Select("id, name").Find(&gotUsers) if results.Error != nil {Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jun 01 07:22:21 UTC 2023 - 3.3K bytes - Viewed (0) -
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 Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Feb 08 08:29:09 UTC 2023 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimap.java
* their map views, as returned by {@link #asMap}, are also equal. * * <p>In general, two multimaps with identical key-value mappings may or may not be equal, * depending on the implementation. For example, two {@link SetMultimap} instances with the same * key-value mappings are equal, but equality of two {@link ListMultimap} instances depends on theRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 15.7K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
clause/expression.go
break } fallthrough default: builder.WriteString(" NOT IN (") builder.AddVar(builder, in.Values...) builder.WriteByte(')') } } // Eq equal to for where type Eq struct { Column interface{} Value interface{} } func (eq Eq) Build(builder Builder) { builder.WriteQuoted(eq.Column) switch eq.Value.(type) {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Oct 10 06:45:48 UTC 2023 - 8.3K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Table.java
/** * Compares the specified object with this cell for equality. Two cells are equal when they have * equal row keys, column keys, and values. */ @Override boolean equals(@Nullable Object obj); /** * Returns the hash code of this cell. * * <p>The hash code of a table cell is equal to {@link Objects#hashCode}{@code (e.getRowKey(), * e.getColumnKey(), e.getValue())}.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.5K bytes - Viewed (0) -
cmd/dummy-data-generator_test.go
n1, e1 := io.ReadFull(r1, b1) n2, e2 := io.ReadFull(r2, b2) if n1 != n2 { return false, fmt.Sprintf("Read %d != %d bytes from the readers", n1, n2) } if !bytes.Equal(b1[:n1], b2[:n2]) { return false, fmt.Sprintf("After reading %d equal buffers (32Kib each), we got the following two strings:\n%v\n%v\n", i, b1, b2) } // Check if stream has ended
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 4.7K bytes - Viewed (0) -
cmd/erasure-metadata.go
} // ReplicationInfoEquals returns true if server-side replication related fields are equal, false otherwise. func (fi FileInfo) ReplicationInfoEquals(ofi FileInfo) bool { switch { case fi.MarkDeleted != ofi.MarkDeleted, !fi.ReplicationState.Equal(ofi.ReplicationState): return false } return true } // objectPartIndex - returns the index of matching object part number.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 21.3K bytes - Viewed (0)