Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 522 for ksize (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        EvictingQueue<String> queue = EvictingQueue.create(0);
        assertEquals(0, queue.size());
    
        assertTrue(queue.add("hi"));
        assertEquals(0, queue.size());
    
        assertTrue(queue.offer("hi"));
        assertEquals(0, queue.size());
    
        assertFalse(queue.remove("hi"));
        assertEquals(0, queue.size());
    
        assertThrows(NoSuchElementException.class, () -> queue.element());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        new NullPointerTester().testAllPublicInstanceMethods(new AtomicDoubleArray(1));
      }
    
      /** constructor creates array of given size with all elements zero */
      public void testConstructor() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i = 0; i < SIZE; i++) {
          assertBitEquals(0.0, aa.get(i));
        }
      }
    
      /** constructor with null array throws NPE */
      public void testConstructor2NPE() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            chain.load(user1);
    
            // Verify state tracking
            assertEquals(1, chain.updateCalls.size());
            assertEquals(1, chain.deleteCalls.size());
            assertEquals(1, chain.changePasswordCalls.size());
            assertEquals(1, chain.loadCalls.size());
    
            // Verify independence of operations
            assertEquals(user1, chain.updateCalls.get(0));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/maintenance/ActionForm.java

         */
        @Size(max = 10)
        public String resetDictionaries;
    
        /**
         * The number of shards for doc.
         */
        @Size(max = 10)
        public String numberOfShardsForDoc = ComponentUtil.getFessConfig().getIndexNumberOfShards();
    
        /**
         * The auto expand replicas for doc.
         */
        @Size(max = 10)
        public String autoExpandReplicasForDoc = ComponentUtil.getFessConfig().getIndexAutoExpandReplicas();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

            assertEquals(0, kuromojiFile.selectList(5, 5).size());
            assertEquals(0, kuromojiFile.selectList(-1, 5).size());
        }
    
        @Test
        public void test_selectList2() {
            final PagingList<KuromojiItem> itemList = kuromojiFile.selectList(0, 5);
            for (int i = 0; i < itemList.size(); i++) {
                final KuromojiItem kuromojiItem = itemList.get(i);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                    }
                    return deletedDocIdList.size();
                }
            };
            ComponentUtil.register(client, "searchEngineClient");
            final DocList docList = new DocList();
            assertEquals(0, indexingHelper.deleteOldDocuments(client, docList));
            assertEquals(0, docList.size());
            assertEquals(0, deletedDocIdList.size());
    
            docList.clear();
            deletedDocIdList.clear();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/util/LogNotificationAppenderTest.java

        }
    
        @Test
        public void test_append_nonExcludedLogger() {
            final LogEvent event = createLogEvent(Level.ERROR, "org.codelibs.fess.helper.SystemHelper", "not excluded");
            appender.append(event);
    
            final List<LogNotificationEvent> events = ComponentUtil.getLogNotificationHelper().drainAll();
            assertEquals(1, events.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Sets.java

       */
      public static <E> Set<Set<E>> combinations(Set<E> set, int size) {
        ImmutableMap<E, Integer> index = Maps.indexMap(set);
        checkNonnegative(size, "size");
        checkArgument(size <= index.size(), "size (%s) must be <= set.size() (%s)", size, index.size());
        if (size == 0) {
          return ImmutableSet.of(ImmutableSet.of());
        } else if (size == index.size()) {
          return ImmutableSet.of(index.keySet());
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/MapMakerInternalMap.java

          return null;
        }
        return entry.getValue();
      }
    
      @SuppressWarnings("unchecked")
      final Segment<K, V, E, S>[] newSegmentArray(int ssize) {
        return (Segment<K, V, E, S>[]) new Segment<?, ?, ?, ?>[ssize];
      }
    
      // Inner Classes
    
      /**
       * Segments are specialized versions of hash tables. This subclass inherits from ReentrantLock
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/DocMapTest.java

            assertTrue(docMap.isEmpty());
            assertEquals(0, docMap.size());
    
            docMap.put("key1", "value1");
            assertFalse(docMap.isEmpty());
            assertEquals(1, docMap.size());
    
            docMap.put("key2", "value2");
            assertFalse(docMap.isEmpty());
            assertEquals(2, docMap.size());
    
            docMap.clear();
            assertTrue(docMap.isEmpty());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.7K bytes
    - Click Count (0)
Back to Top