Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 2,083 for instance1 (0.37 sec)

  1. guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

              .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException)
              .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException)
              .put(NullPointerException.class, e -> e instanceof NullPointerException)
              .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
              .put(RuntimeException.class, e -> e instanceof RuntimeException)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

        protected Map<String, String> metadataXpathMap = new HashMap<>();
    
        /** Thread-local instance of XPathAPI for thread-safe XPath evaluation. */
        private final ThreadLocal<XPathAPI> xpathAPI = new ThreadLocal<>();
    
        /**
         * Creates a new HtmlExtractor instance.
         */
        public HtmlExtractor() {
            super();
        }
    
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Short) {
                return (Short) o;
            } else if (o instanceof Number) {
                return ((Number) o).shortValue();
            } else if (o instanceof String) {
                return toShort((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java

            // key = "application/vnd.ms-publisher";
            // assertTrue(extractorFactory.getExtractor(key) instanceof
            // TikaExtractor);
    
            key = "application/pdf";
            assertTrue(extractorFactory.getExtractor(key) instanceof PdfExtractor);
    
            key = "application/x-lha";
            assertTrue(extractorFactory.getExtractor(key) instanceof LhaExtractor);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.internal.http.GzipRequestBody
    import okhttp3.internal.http.HttpMethod
    import okhttp3.internal.isSensitiveHeader
    
    /**
     * An HTTP request. Instances of this class are immutable if their [body] is null or itself
     * immutable.
     */
    class Request internal constructor(
      builder: Builder,
    ) {
      @get:JvmName("url")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                assertEquals(8388608, response.getTotalBytesWritten()); // 8MB total
            }
    
            @Test
            @DisplayName("Should create multiple independent instances")
            void testMultipleInstances() throws SMBProtocolDecodingException {
                SrvCopyChunkCopyResponse response1 = new SrvCopyChunkCopyResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  7. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/StartStopExtension.kt

          ) { Modifier.isStatic(it.modifiers) }
    
        for (field in staticFields) {
          field.setAccessible(true)
          val server = field.get(null) as? MockWebServer ?: continue
    
          // Put the instance in the store, so JUnit closes it for us in afterAll.
          store.put(field, server)
    
          server.start()
        }
      }
    
      override fun beforeEach(context: ExtensionContext) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

            QueryBuilder builder = queryProcessor.execute(context, prefixQuery, 1.0f);
    
            assertNotNull(builder);
            assertTrue(builder instanceof DefaultQueryBuilder);
    
            // Query was processed successfully
        }
    
        public void test_convertPrefixQuery_withDefaultField_dismax() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

          return (other instanceof ClassWhichIsAlwaysEqualButHasDifferentHashcodes);
        }
      }
    
      private static class ObjectWhichIsEqualButChangesClass implements Serializable {
        private static final long serialVersionUID = 1L;
    
        @Override
        public boolean equals(@Nullable Object other) {
          return (other instanceof ObjectWhichIsEqualButChangesClass || other instanceof OtherForm);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            ThemeException exception = new ThemeException("Test");
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_stackTrace() {
            // Test that stack trace is properly captured
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top