Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 3,735 for Null (0.02 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java

    /**
     * @author shinsuke
     * @author kaorufuzita
     */
    public class TextUtilTest extends PlainTestCase {
    
        public void test_getContent() {
            assertEquals("", normalizeText((String) null, 100, -1, -1, false));
            assertEquals("", normalizeText("", 100, -1, -1, false));
            assertEquals("", normalizeText(" ", 100, -1, -1, false));
            assertEquals("", normalizeText("  ", 100, -1, -1, false));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

       */
      @JvmOverloads
      fun charset(defaultValue: Charset? = null): Charset? {
        val charset = parameter("charset") ?: return defaultValue
        return try {
          Charset.forName(charset)
        } catch (_: IllegalArgumentException) {
          defaultValue // This charset is invalid or unsupported. Give up.
        }
      }
    
      /**
       * Returns the parameter [name] of this media type, or null if this media type does not define
       * such a parameter.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

      public void testCompute_absentToAbsent() {
        assertNull(
            "Map.compute(absent, functionReturningNull) should return null",
            getMap()
                .compute(
                    k3(),
                    (k, v) -> {
                      assertEquals(k3(), k);
                      assertNull(v);
                      return null;
                    }));
        expectUnchanged();
        assertEquals(getNumElements(), getMap().size());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * a "null sentinel" to take its place. When the time comes to convert it back to a {@code T} to
       * return to a caller, the code needs to a way to return {@code null} from a method that returns
       * "plain {@code T}." This API provides that.
       */
      @SuppressWarnings({"nullness", "TypeParameterUnusedInFormals", "ReturnMissingNullable"})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

            DeferredFileOutputStream dfos = null;
            try (DeferredFileOutputStream out = new DeferredFileOutputStream(cacheFileSize, "fess-extractor-", ".out", null)) {
                dfos = out;
                CopyUtil.copy(in, out);
                out.flush();
    
                Extractor extractor = StringUtil.isBlank(mimeType) ? null : extractorFactory.getExtractor(mimeType);
                if (extractor == null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            this.text = String.join(SuggestConstants.TEXT_SEPARATOR, text);
            this.readings = readings;
            this.fields = fields != null ? fields : new String[] {};
            this.tags = tags != null ? tags : new String[] {};
    
            if (roles == null || roles.length == 0) {
                this.roles = new String[] { SuggestConstants.DEFAULT_ROLE };
            } else {
                this.roles = new String[roles.length];
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

        @Test
        public void testContaines() throws Exception {
            assertThat(list.contains(null), is(not(true)));
            assertThat(list.contains("1"), is(not(true)));
            list.addLast("1");
            assertThat(list.contains("1"), is(true));
            assertThat(list.contains("2"), is(not(true)));
            assertThat(list.contains(null), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

            userInfoHelper.setCookieSecure(null);
    
            MockletHttpServletRequest request = getMockRequest();
            request.addHeader("X-Forwarded-Proto", "https");
    
            assertTrue(userInfoHelper.isSecureCookie());
        }
    
        public void test_isSecureCookie_noRequest() {
            UserInfoHelper userInfoHelper = new UserInfoHelper();
            userInfoHelper.setCookieSecure(null);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. docs/distributed/decom-encrypted-kes.sh

    ./mc mirror internal myminio/versioned/ --quiet >/dev/null
    ./mc mirror internal myminio/versioned-1/ --quiet >/dev/null
    
    ## Soft delete (creates delete markers)
    ./mc rm -r --force myminio/versioned >/dev/null
    ./mc rm -r --force myminio/versioned-1 >/dev/null
    
    ## mirror again to create another set of version on top
    ./mc mirror internal myminio/versioned/ --quiet >/dev/null
    ./mc mirror internal myminio/versioned-1/ --quiet >/dev/null
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 7.1K bytes
    - Viewed (1)
  10. src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java

         */
        @Test
        void testNoNullRefConstant() {
            assertNotNull(NdrException.NO_NULL_REF, "NO_NULL_REF constant should not be null.");
            assertEquals("ref pointer cannot be null", NdrException.NO_NULL_REF, "NO_NULL_REF constant should have the expected value.");
        }
    
        /**
         * Test the INVALID_CONFORMANCE static field.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top