Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 1,915 for instanceOf (0.18 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

                if (!doc.containsKey(indexFieldContentLength)) {
                    long contentLength = 0;
                    if (doc.get(indexFieldTitle) instanceof final String title) {
                        contentLength += title.length();
                    }
                    if (doc.get(indexFieldContent) instanceof final String content) {
                        contentLength += content.length();
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            assertTrue(pairs.get(0) instanceof AvFlags, "First pair should be AvFlags instance");
    
            // Check second pair (AvTimestamp)
            assertEquals(AvPair.MsvAvTimestamp, pairs.get(1).getType(), "Second pair should be MsvAvTimestamp");
            assertTrue(pairs.get(1) instanceof AvTimestamp, "Second pair should be AvTimestamp instance");
    
            // Check third pair (AvTargetName)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/RestTestTransformer.java

                .filter(transform -> transform instanceof RestTestTransformGlobalSetup)
                .map(transform -> (RestTestTransformGlobalSetup) transform)
                .collect(Collectors.toList());
    
            // Collect any global teardown transformations
            List<RestTestTransformGlobalTeardown> teardownTransforms = transformations.stream()
                .filter(transform -> transform instanceof RestTestTransformGlobalTeardown)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 12 17:42:01 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

                        } else if (value instanceof TestUser) {
                            // Handle TestUser object
                            TestUser user = (TestUser) value;
                            result = result.replace("${" + key + ".name}", user.name);
                            result = result.replace("${" + key + ".age}", String.valueOf(user.age));
                        } else if (value instanceof Map) {
                            // Handle nested maps
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java

      private static void rethrow(ExecutionException e) throws ExecutionException {
        Throwable wrapper = e.getCause();
        if (wrapper instanceof WrapperException) {
          Throwable cause = wrapper.getCause();
          if (cause instanceof RuntimeException) {
            throw (RuntimeException) cause;
          } else if (cause instanceof Error) {
            throw (Error) cause;
          }
        }
        throw e;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/DocListTest.java

        }
    
        @Test
        public void test_inheritance() {
            DocList docList = new DocList();
    
            assertTrue(docList instanceof java.util.ArrayList);
            assertTrue(docList instanceof java.util.List);
            assertTrue(docList instanceof java.util.Collection);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/https/HandlerTest.java

            }
    
            @Test
            @DisplayName("Should extend jcifs.smb1.http.Handler")
            void testInheritance() {
                // Then
                assertTrue(handler instanceof jcifs.smb1.http.Handler);
                assertTrue(handler instanceof URLStreamHandler);
            }
        }
    
        @Nested
        @DisplayName("Default Port Tests")
        class DefaultPortTests {
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      protected void tearDown() throws Exception {
        Throwable t = threadFailure.getAndSet(null);
        if (t != null) {
          if (t instanceof Error) {
            throw (Error) t;
          } else if (t instanceof RuntimeException) {
            throw (RuntimeException) t;
          } else if (t instanceof Exception) {
            throw (Exception) t;
          } else {
            AssertionFailedError afe = new AssertionFailedError(t.toString());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

        //            (__)\       )\/\
        //                ||----w |
        //                ||     ||
        Runnable state = get();
        Blocker blocker = null;
        while (state instanceof Blocker || state == PARKED) {
          if (state instanceof Blocker) {
            blocker = (Blocker) state;
          }
          spinCount++;
          if (spinCount > MAX_BUSY_WAIT_SPINS) {
            /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            assertTrue(exception instanceof java.io.Serializable);
        }
    
        @Test
        public void test_exceptionInheritance() {
            // Test that exception is a RuntimeException
            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
Back to Top