- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 1,892 for instanceOf (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/util/concurrent/UntrustedInputFutureTest.java
@Override AbstractFuture<@Nullable Integer> newDelegate() { AbstractFuture<@Nullable Integer> future = new AbstractFuture<@Nullable Integer>() {}; assertFalse(future instanceof TrustedFuture); // sanity check return future; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 1.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 25 02:13:14 GMT 2025 - 28K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
} @Test @DisplayName("Should correctly inherit from ServerMessageBlock2Request") void testInheritance() { // Then assertTrue(request instanceof ServerMessageBlock2Request); assertTrue(request instanceof ServerMessageBlock2); } @Test @DisplayName("Should handle different previous session IDs") void testDifferentPreviousSessionIds() throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java
public int hashCode() { // delegate to 's' return s.hashCode(); } @Override public boolean equals(@Nullable Object other) { if (other == null) { return false; } else if (other instanceof BaseComparable) { return s.equals(((BaseComparable) other).s); } else { return false; } } @Override public int compareTo(BaseComparable o) { return s.compareTo(o.s); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 1.6K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractGraph.java
/** Constructor for use by subclasses. */ public AbstractGraph() {} @Override public final boolean equals(@Nullable Object obj) { if (obj == this) { return true; } if (!(obj instanceof Graph)) { return false; } Graph<?> other = (Graph<?>) obj; return isDirected() == other.isDirected() && nodes().equals(other.nodes()) && edges().equals(other.edges()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 1.8K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java
// Verify that RequestTimeoutException is a subclass of TransportException RequestTimeoutException exception = new RequestTimeoutException(); assertTrue(exception instanceof TransportException, "RequestTimeoutException should be an instance of TransportException"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingSuperclassChangeRule.groovy
BinaryBreakingSuperclassChangeRule(Map<String, Object> params) { super(params) } @Override protected boolean changed(JApiCompatibility member) { return member instanceof JApiClass && !member.superclass.binaryCompatible && !member.superclass.compatibilityChanges.empty } @Override protected Violation checkSuperClassChanges(JApiClass apiClass, CtClass oldClass, CtClass newClass) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/netbios/Name.java
this.config = cfg; this.name = name.getName(); this.hexCode = name.getNameType(); this.scope = name.getScope(); if (name instanceof Name) { this.srcHashCode = ((Name) name).srcHashCode; } } /** * Checks if this represents an unknown address. * * @return whether this is the unknown addressCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadVIntBenchmark.java
tmp.writeVInt(i); } for (int i = 0; i < entries / 2; i++) { tmp.writeVInt(Integer.MAX_VALUE - i); } BytesReference pagedBytes = tmp.bytes(); if (pagedBytes instanceof PagedBytesReference == false) { throw new AssertionError("expected PagedBytesReference but saw [" + pagedBytes.getClass() + "]"); } this.streamInput = pagedBytes.streamInput(); }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.2K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadVLongBenchmark.java
tmp.writeVLong(i); } for (int i = 0; i < entries / 2; i++) { tmp.writeVLong(Long.MAX_VALUE - i); } BytesReference pagedBytes = tmp.bytes(); if (pagedBytes instanceof PagedBytesReference == false) { throw new AssertionError("expected PagedBytesReference but saw [" + pagedBytes.getClass() + "]"); } this.streamInput = pagedBytes.streamInput(); }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.2K bytes - Click Count (0)