Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 1,416 for emptify (1.51 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

    public class MapClearTester<K, V> extends AbstractMapTester<K, V> {
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        getMap().clear();
        assertTrue("After clear(), a map should be empty.", getMap().isEmpty());
        assertEquals(0, getMap().size());
        assertFalse(getMap().entrySet().iterator().hasNext());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

        hostname: String,
        vararg peerCertificates: Certificate,
      ) {
        check(hostname, peerCertificates.toList())
      }
    
      /**
       * Returns list of matching certificates' pins for the hostname. Returns an empty list if the
       * hostname does not have pinned certificates.
       */
      fun findMatchingPins(hostname: String): List<Pin> = pins.filterList { matchesHostname(hostname) }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.1K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

         *
         * @param func the callback function to build XContent
         * @param mediaType the media type for the content builder
         * @return an OutputStream containing the built content, or an empty ByteArrayOutputStream if an error occurs
         */
        public static OutputStream getXContentBuilderOutputStream(final XContentBuilderCallback func, final MediaType mediaType) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/RelatedContentService.java

        }
    
        /**
         * Retrieves a specific related content entity by its ID.
         *
         * @param id the unique identifier of the related content
         * @return an OptionalEntity containing the RelatedContent if found, empty otherwise
         */
        public OptionalEntity<RelatedContent> getRelatedContent(final String id) {
            return relatedContentBhv.selectByPK(id);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withEmptyMessage() {
            // Test constructor with empty message
            String message = "";
            DictionaryException exception = new DictionaryException(message);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                // The hex should be "010203FF"
                assertTrue(result.contains("010203FF"));
            }
    
            @Test
            @DisplayName("toString with empty challenge array")
            void testToStringWithEmptyChallenge() {
                UniAddress dc = mock(UniAddress.class);
                when(dc.toString()).thenReturn("EMPTYSERVER");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

            paramMap.put("name", "World");
    
            Object result = scriptEngine.evaluate(template, paramMap);
            assertEquals("Hello World", result);
        }
    
        // Test evaluate method with empty template
        public void test_evaluate_withEmptyTemplate() {
            String template = "";
            Map<String, Object> paramMap = new HashMap<>();
            paramMap.put("key", "value");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/log/Logger.java

            }
            return logger;
        }
    
        /**
         * Returns a formatted message string.
         *
         * @param messageCode
         *            Message code. Must not be {@literal null} or empty string.
         * @param args
         *            Arguments
         * @return Formatted message string
         */
        public static LogMessage format(final String messageCode, final Object... args) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            assertEquals(maxResumeKey, SMBUtil.readInt4(buffer, 6));
            // maxBatchSize is stored in the protected field maxDataCount
        }
    
        @Test
        void testEmptyFilenameHandling() {
            // Test with empty filename
            trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, "", TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
            byte[] buffer = new byte[256];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/PacUnicodeString.java

         */
        public String check(final String string) throws PACDecodingException {
            if (this.pointer == 0 && string != null) {
                throw new PACDecodingException("Non-empty string");
            }
    
            final int expected = this.length / 2;
            if (string.length() != expected) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top