- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 3,834 for objTest (0.03 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
import kotlin.reflect.KClass import okio.ByteString /** * Built-in adapters for reading standard ASN.1 types. */ internal object Adapters { val BOOLEAN = BasicDerAdapter( name = "BOOLEAN", tagClass = DerHeader.TAG_CLASS_UNIVERSAL, tag = 1L, codec = object : BasicDerAdapter.Codec<Boolean> { override fun decode(reader: DerReader): Boolean = reader.readBoolean()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestCollidingSetGenerator.java
public abstract class TestCollidingSetGenerator implements TestSetGenerator<Object> { @Override public SampleElements<Object> samples() { return new Colliders(); } @Override public Object[] createArray(int length) { return new Object[length]; } /** Returns the original element list, unchanged. */ @Override public List<Object> order(List<Object> insertionOrder) { return insertionOrder; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.4K bytes - Viewed (0) -
internal/hash/checksum_test.go
{"ChecksumSHA1-full-object", ChecksumSHA1, true, true}, // SHA1 does not support full object {"ChecksumSHA256-full-object", ChecksumSHA256, true, true}, // SHA256 does not support full object } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { // Skip invalid cases where SHA1 or SHA256 is used with full object if (tt.checksum.Is(ChecksumSHA1) || tt.checksum.Is(ChecksumSHA256)) && tt.fullobj {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 22 14:15:21 UTC 2025 - 7.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
assertTrue( item + " must not be Object#equals to an arbitrary object of another class", !item.equals(NotAnInstance.EQUAL_TO_NOTHING)); assertTrue(item + " must be Object#equals to itself", item.equals(item)); assertEquals( "the Object#hashCode of " + item + " must be consistent", item.hashCode(), item.hashCode());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
* * @see java.util.Collections#frequency(Collection, Object) Collections.frequency(Collection, * Object) */ public static int frequency(Iterable<?> iterable, @Nullable Object element) { if ((iterable instanceof Multiset)) { return ((Multiset<?>) iterable).count(element); } else if ((iterable instanceof Set)) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 43.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
* test with reference to the same "lock-like object", and then their interactions with that object * are choreographed via the various methods on this class. * * <p>A "lock-like object" is really any object that may be used for concurrency control. If the * {@link #callAndAssertBlocks} method is ever called in a test, the lock-like object must have a
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/InternersTest.java
} public void testStrong_builder() { int concurrencyLevel = 42; Interner<Object> interner = Interners.newBuilder().strong().concurrencyLevel(concurrencyLevel).build(); InternerImpl<Object> internerImpl = (InternerImpl<Object>) interner; assertEquals(Strength.STRONG, internerImpl.map.keyStrength()); } public void testWeak_simplistic() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 17:02:07 UTC 2025 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterators.java
* example using {@link Arrays#asList(Object[])}, making this method unnecessary. * * <p>The {@code Iterable} equivalent of this method is either {@link Arrays#asList(Object[])}, * {@link ImmutableList#copyOf(Object[])}}, or {@link ImmutableList#of}. */ @SafeVarargs public static <T extends @Nullable Object> UnmodifiableIterator<T> forArray(T... array) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 12:42:11 UTC 2025 - 51.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableList.java
@Override public int indexOf(@Nullable Object object) { return (object == null) ? -1 : Lists.indexOfImpl(this, object); } @Override public int lastIndexOf(@Nullable Object object) { return (object == null) ? -1 : Lists.lastIndexOfImpl(this, object); } @Override public boolean contains(@Nullable Object object) { return indexOf(object) >= 0; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 30.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ComparatorOrdering.java
return comparator.compare(a, b); } @Override public boolean equals(@Nullable Object object) { if (object == this) { return true; } if (object instanceof ComparatorOrdering) { ComparatorOrdering<?> that = (ComparatorOrdering<?>) object; return this.comparator.equals(that.comparator); } return false; } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 1.9K bytes - Viewed (0)