Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2491 - 2500 of 4,015 for null (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/ContentLengthHelperTest.java

            assertEquals(1000L, contentLengthHelper.getMaxLength(mimeType));
        }
    
        public void test_getMaxLength_blank() {
            String mimeType;
    
            mimeType = null;
            assertEquals(DEFAULT_MAX_LENGTH, contentLengthHelper.getMaxLength(mimeType));
    
            mimeType = "";
            assertEquals(DEFAULT_MAX_LENGTH, contentLengthHelper.getMaxLength(mimeType));
    
            mimeType = " ";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            // cid
            final String configId = config.getConfigId();
            if (configId != null) {
                defaultDataMap.put(fessConfig.getIndexFieldConfigId(), configId);
            }
            //  expires
            if (documentExpires != null) {
                defaultDataMap.put(fessConfig.getIndexFieldExpires(), documentExpires);
            }
            // segment
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

            });
    
        }
    
        protected boolean isImageMimeType(final ResponseData responseData) {
            final String mimeType = responseData.getMimeType();
            if (mimeType == null) {
                return true;
            }
    
            return switch (mimeType) {
            case "image/png", "image/gif", "image/jpeg", "image/bmp" -> true;
            default -> false;
            };
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ReflectionFreeAssertThrows.java

      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
        return doAssertThrows(
            expectedThrowable,
            () -> {
              runnable.run();
              return null;
            },
            /* userPassedSupplier= */ false);
      }
    
      private static <T extends Throwable> T doAssertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/BuildModelSourceTransformerTest.java

        }
    
        public static boolean equalsDeep(Object m1, Object m2) {
            try {
                if (m1 == m2) {
                    return true;
                }
                if (m1 == null || m2 == null) {
                    return false;
                }
                if (!Objects.equals(m1.getClass(), m2.getClass())) {
                    return false;
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. tests/test_security_oauth2_optional.py

                            "client_id": IsDict(
                                {
                                    "title": "Client Id",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                }
                            )
                            | IsDict(
                                # TODO: remove when deprecating Pydantic v1
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. tests/test_sub_callbacks.py

                                                    "minLength": 1,
                                                    "maxLength": 2083,
                                                },
                                                {"type": "null"},
                                            ],
                                        }
                                    )
                                    | IsDict(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/UnannotatedJavaClass.java

     */
    
    package com.google.common.base;
    
    /** Class containing an unannotated Java method for use from {@code OptionalExtensionsTest}. */
    final class UnannotatedJavaClass {
      static Object getNull() {
        return null;
      }
    
      private UnannotatedJavaClass() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 02 17:05:25 UTC 2023
    - 854 bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/test/net/protocol/xxx4/Handler.java

    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
        @Override
        protected URLConnection openConnection(URL u) throws IOException {
            return null;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Jun 18 00:44:11 UTC 2024
    - 951 bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        assertSame(toBeSupplied, objectSupplier.get()); // idempotent
      }
    
      public void testOfInstanceSuppliesNull() {
        Supplier<@Nullable Integer> nullSupplier = Suppliers.ofInstance(null);
        assertNull(nullSupplier.get());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Thread
      @SuppressWarnings("DoNotCall")
      public void testExpiringMemoizedSupplierThreadSafe() throws Throwable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top