Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1201 - 1210 of 1,413 for Empty (0.02 sec)

  1. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

        }
    
        public void test_buildRoleQuery_emptyRoleSet() {
            BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
            queryHelper.buildRoleQuery(Set.of(), boolQuery);
    
            // Should add empty role query filter
            assertTrue(boolQuery.toString().contains("filter"));
        }
    
        public void test_buildRoleQuery_withRoles() {
            BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    	} else if strings.HasPrefix(s, "\n") || strings.Contains(s, "\n\n") {
    		log.Printf("%s: contains a blank line", filename)
    		exitCode = 1
    	}
    	if s == "" {
    		log.Printf("%s: empty file", filename)
    		exitCode = 1
    	} else if s[len(s)-1] != '\n' {
    		log.Printf("%s: missing final newline", filename)
    		exitCode = 1
    	}
    	s = aliasReplacer.Replace(s)
    	lines := strings.Split(s, "\n")
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Feb 20 03:25:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        /**
         * Gets the current user bean from the session.
         * This method returns the concrete FessUserBean class instead of the generic type.
         *
         * @return an optional containing the current user bean, or empty if not logged in
         */
        @Override
        protected OptionalThing<FessUserBean> getUserBean() { // to return as concrete class
            return fessLoginAssist.getSavedUserBean();
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

        }
    
        // Test reload with InputStream
        public void test_reload_withComments() {
            String content = "# This is a comment\n" + "word1\n" + "\n" + // empty line
                    "word2\n" + "# Another comment\n" + "word3\n";
    
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
            stopwordsFile.reload(null, is);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

        return populate(new HashMap<String, String>(), entries);
      }
    
      // TODO: call conversion constructors or factory methods instead of using
      // populate() on an empty map
      @CanIgnoreReturnValue
      private static <T, M extends Map<T, String>> M populate(M map, Entry<T, String>[] entries) {
        for (Entry<T, String> entry : entries) {
          map.put(entry.getKey(), entry.getValue());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        SortedSet<E> set = newTreeSet();
        for (E element : elements) {
          // Explicit null check because TreeSet wrongly accepts add(null) when empty.
          set.add(checkNotNull(element));
        }
        return set;
      }
    
      public static class ContiguousSetGenerator extends AbstractContiguousSetGenerator {
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/ServerResponseValidator.java

         */
        public void validatePath(String path) throws SmbException {
            totalValidations.incrementAndGet();
    
            if (path == null || path.isEmpty()) {
                return; // Empty paths allowed
            }
    
            // Check overall path length
            if (path.length() > MAX_PATH_SIZE) {
                failedValidations.incrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/Utf8Test.java

        assertNotWellFormed(0xF0, 0x8F, 0xAD, 0xA2);
        assertNotWellFormed(0xF4, 0x90, 0xAD, 0xA2);
      }
    
      /** Tests some hard-coded test cases. */
      public void testSomeSequences() {
        // Empty
        assertWellFormed();
        // One-byte characters, including control characters
        assertWellFormed(0x00, 0x61, 0x62, 0x63, 0x7F); // "\u0000abc\u007f"
        // Two-byte characters
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        // evict 9, 1, 2, 10
        getAll(cache, asList(15));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(0, 6, 7, 8, 15);
    
        // fill empty space
        getAll(cache, asList(9));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(0, 6, 7, 8, 15, 9);
    
        // evict 6
        getAll(cache, asList(1));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 15K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

      }
    
      // Casting to any type is safe because the list will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <E> ImmutableList<E> of() {
        return (ImmutableList<E>) RegularImmutableList.EMPTY;
      }
    
      public static <E> ImmutableList<E> of(E e1) {
        return new SingletonImmutableList<E>(checkNotNull(e1));
      }
    
      public static <E> ImmutableList<E> of(E e1, E e2) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top