Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,926 for instanceof (0.07 sec)

  1. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            LdapOperationException exception = new LdapOperationException("Test");
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_serialVersionUID() {
            // Test that exception is serializable
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/https/HandlerTest.java

            }
    
            @Test
            @DisplayName("Should extend jcifs.http.Handler")
            void testInheritance() {
                // Then
                assertTrue(handler instanceof jcifs.http.Handler);
                assertTrue(handler instanceof URLStreamHandler);
            }
        }
    
        @Nested
        @DisplayName("Default Port Tests")
        class DefaultPortTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Platform.java

        checkNotNull(t); // to satisfy NullPointerTester
        if (t instanceof InterruptedException) {
          currentThread().interrupt();
        }
      }
    
      static void interruptCurrentThread() {
        Thread.currentThread().interrupt();
      }
    
      static void rethrowIfErrorOtherThanStackOverflow(Throwable t) {
        checkNotNull(t);
        if (t instanceof Error && !(t instanceof StackOverflowError)) {
          throw (Error) t;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

                if (metadata instanceof ProjectArtifactMetadata projectArtifactMetadata) {
                    org.eclipse.aether.artifact.Artifact pomArtifact = new SubArtifact(mainArtifact, "", "pom");
                    pomArtifact = pomArtifact.setFile(projectArtifactMetadata.getFile());
                    request.addArtifact(pomArtifact);
                } else if (metadata instanceof SnapshotArtifactRepositoryMetadata
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            // When
            RuntimeCIFSException exception = new RuntimeCIFSException("Test");
    
            // Then
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        @DisplayName("Should support exception chaining")
        void testExceptionChaining() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

            final CrawlerStatsHelper crawlerStatsHelper = ComponentUtil.getCrawlerStatsHelper();
            final StatsKeyObject keyObj = paramMap.get(Constants.CRAWLER_STATS_KEY) instanceof final StatsKeyObject sko ? sko : null;
            if (keyObj != null) {
                crawlerStatsHelper.runOnThread(keyObj);
            }
            final DataStoreParams localParams = paramMap.newInstance();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

                        return createMockRescorerBuilder();
                    }
                    if (params.containsKey("number") && params.get("number") instanceof Number) {
                        return createMockRescorerBuilder();
                    }
                    if (params.containsKey("boolean") && params.get("boolean") instanceof Boolean) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            Smb2ChangeNotifyResponse resp = new Smb2ChangeNotifyResponse(mockConfig);
    
            // Then
            assertNotNull(resp);
            assertTrue(resp instanceof ServerMessageBlock2Response);
            assertTrue(resp instanceof ServerMessageBlock2);
            assertTrue(resp instanceof NotifyResponse);
            assertNotNull(resp.getNotifyInformation());
            assertEquals(0, resp.getNotifyInformation().size());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

        }
    
        @Test
        @DisplayName("Should correctly inherit from ServerMessageBlock2Request")
        void testInheritance() {
            // Then
            assertTrue(request instanceof ServerMessageBlock2Request);
            assertTrue(request instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Should maintain immutability of structure size")
        void testStructureSizeImmutability() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. lib/wasm/wasm_exec.js

    					},
    
    					"debug": (value) => {
    						console.log(value);
    					},
    				}
    			};
    		}
    
    		async run(instance) {
    			if (!(instance instanceof WebAssembly.Instance)) {
    				throw new Error("Go.run: WebAssembly.Instance expected");
    			}
    			this._inst = instance;
    			this.mem = new DataView(this._inst.exports.mem.buffer);
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sun Dec 08 15:34:47 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top