- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 1,889 for instanceOf (0.05 sec)
-
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
// Assert assertNull(ex.getMessage(), "Default ctor should not set a message"); assertNull(ex.getCause(), "Default ctor should not set a cause"); assertTrue(ex instanceof SmbException, "Should be an SmbException subtype"); // SmbException default ctor leaves status 0, which equals NT_STATUS_SUCCESS
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
// for possible later use in exceptions, perhaps straight away. Object hashTablePlus = createHashTable(alternatingKeysAndValues, n, tableSize, 0); Object hashTable; if (hashTablePlus instanceof Object[]) { Object[] hashTableAndSizeAndDuplicate = (Object[]) hashTablePlus; Builder.DuplicateKey duplicateKey = (Builder.DuplicateKey) hashTableAndSizeAndDuplicate[2]; if (builder == null) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ExplicitOrdering.java
if (rank == null) { throw new IncomparableValueException(value); } return rank; } @Override public boolean equals(@Nullable Object object) { if (object instanceof ExplicitOrdering) { ExplicitOrdering<?> that = (ExplicitOrdering<?>) object; return this.rankMap.equals(that.rankMap); } return false; } @Override public int hashCode() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java
/* * In the GWT versions of the methods (below), every exceptionType parameter is required to be * Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write * your own instanceof tests. */ public static <V extends @Nullable Object> ListenableFuture<V> catching( ListenableFuture<? extends V> input, Class<Throwable> exceptionType,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
NegotiateContextResponse encContext = new EncryptionNegotiateContext(); // Assert assertTrue(preauthContext instanceof NegotiateContextResponse); assertTrue(encContext instanceof NegotiateContextResponse); assertEquals(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, preauthContext.getContextType());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
assertEquals(2, result); } @Test @DisplayName("Test inheritance from ServerMessageBlock2Response") void testInheritance() { assertTrue(response instanceof ServerMessageBlock2Response); assertTrue(response instanceof ServerMessageBlock2); } @Test @DisplayName("Test decode method integration") void testDecodeMethodIntegration() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
boolean normalized = false; List<ArtifactRepository> repos = new ArrayList<>(repositories.size()); for (Object repository : repositories) { if (repository instanceof Repository repositoryInstance) { try { ArtifactRepository repo = repositorySystem.buildArtifactRepository(repositoryInstance);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 12.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
ContiguousSet<Integer> empty = ContiguousSet.create(Range.closedOpen(1, 1), integers()); assertTrue(empty instanceof EmptyContiguousSet); reserializeAndAssert(empty); ContiguousSet<Integer> regular = ContiguousSet.create(Range.closed(1, 3), integers()); assertTrue(regular instanceof RegularContiguousSet); reserializeAndAssert(regular); /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
assertTrue(obj instanceof ASN1TaggedObject, "Top-level should be tagged (APPLICATION)"); ASN1TaggedObject top = (ASN1TaggedObject) obj; assertEquals(BERTags.APPLICATION, top.getTagClass(), "Top-level tag class should be APPLICATION"); assertEquals(0, top.getTagNo(), "Top-level tag number should be 0");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0)