- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 1,801 for equals (0.1 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt
val parameterEnd = header.delimiterOffset(';', pos, extensionEnd) val equals = header.delimiterOffset('=', pos, parameterEnd) val name = header.trimSubstring(pos, equals) val value = if (equals < parameterEnd) { header.trimSubstring(equals + 1, parameterEnd).removeSurrounding("\"") } else { null
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 8.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java
assertTrue( "multiset doesn't equal a multiset with the same elements", getMultiset().equals(HashMultiset.create(getSampleElements()))); } public void testEquals_differentSize() { Multiset<E> other = HashMultiset.create(getSampleElements()); other.add(e0()); assertFalse("multiset equals a multiset with a different size", getMultiset().equals(other)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java
assertTrue( "multiset doesn't equal a multiset with the same elements", getMultiset().equals(HashMultiset.create(getSampleElements()))); } public void testEquals_differentSize() { Multiset<E> other = HashMultiset.create(getSampleElements()); other.add(e0()); assertFalse("multiset equals a multiset with a different size", getMultiset().equals(other)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSet.java
/** Constructor for use by subclasses. */ protected ForwardingSet() {} @Override protected abstract Set<E> delegate(); @Override public boolean equals(@Nullable Object object) { return object == this || delegate().equals(object); } @Override public int hashCode() { return delegate().hashCode(); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.7K bytes - Click Count (0) -
guava/src/com/google/common/base/Predicates.java
return p.apply(f.apply(a)); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof CompositionPredicate) { CompositionPredicate<?, ?> that = (CompositionPredicate<?, ?>) obj; return f.equals(that.f) && p.equals(that.p); } return false; } @Override public int hashCode() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java
} @Test void testEqualsNullSafe() { assertFalse(new IssueManagement().equals(null)); new IssueManagement().equals(new IssueManagement()); } @Test void testEqualsIdentity() { IssueManagement thing = new IssueManagement(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing); } @Test void testToStringNullSafe() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java
if ("search_log".equals(name)) { return writeNdjsonResponse(id, getSearchLogNdjsonWriteCall()); } if ("user_info".equals(name)) { return writeNdjsonResponse(id, getUserInfoNdjsonWriteCall()); } if ("click_log".equals(name)) { return writeNdjsonResponse(id, getClickLogNdjsonWriteCall());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* {@code C}: * * <ul> * <li>If {@code C} explicitly implements {@link Object#equals}, the deserialized instance will * be checked to be equal to the instance before serialization. * <li>If {@code C} doesn't explicitly implement {@code equals} but instead inherits it from a * superclass, no equality check is done on the deserialized instance because it's not clearCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
@SuppressWarnings("EqualsHashCode") @Override public boolean equals(@Nullable Object other) { return (other instanceof ClassWhichIsAlwaysEqualButHasDifferentHashcodes); } } private static class ObjectWhichIsEqualButChangesClass implements Serializable { private static final long serialVersionUID = 1L; @Override public boolean equals(@Nullable Object other) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 4.1K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
@SuppressWarnings("EqualsHashCode") @Override public boolean equals(@Nullable Object other) { return (other instanceof ClassWhichIsAlwaysEqualButHasDifferentHashcodes); } } private static class ObjectWhichIsEqualButChangesClass implements Serializable { private static final long serialVersionUID = 1L; @Override public boolean equals(@Nullable Object other) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 4.1K bytes - Click Count (0)