Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 1,472 for bize (0.02 seconds)

  1. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

          frequency.set(0);
        }
        backingMap.clear();
        size = 0L;
      }
    
      @Override
      int distinctElements() {
        return backingMap.size();
      }
    
      // Optimizations - Query Operations
    
      @Override
      public int size() {
        return Ints.saturatedCast(size);
      }
    
      @Override
      public Iterator<E> iterator() {
        return new MapBasedMultisetIterator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/Striped64.java

       * them until they are needed.  When there is no contention, all
       * updates are made to the base field.  Upon first contention (a
       * failed CAS on base update), the table is initialized to size 2.
       * The table size is doubled upon further contention until
       * reaching the nearest power of two greater than or equal to the
       * number of CPUS. Table slots remain empty (null) until they are
       * needed.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 15 22:17:15 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/SearchBody.java

            super();
        }
    
        // `size` is an alias of `num`.
        // `size` is prepared to be compatible with other Admin APIs
        /** Number of search results to retrieve (alias for num) */
        @ValidateTypeFailure
        public Integer size;
    
        @Override
        public void initialize() {
            if (size != null) {
                num = num == null || num < size ? size : num;
            }
            super.initialize();
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/chat/ChatPhaseCallbackTest.java

            assertEquals(3, events.size());
            assertEquals("chunk:test content:false", events.get(2));
    
            callback.onChunk("final content", true);
            assertEquals(4, events.size());
            assertEquals("chunk:final content:true", events.get(3));
    
            // Test onError
            callback.onError(ChatPhaseCallback.PHASE_SEARCH, "Search failed");
            assertEquals(5, events.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/llm/RelevanceEvaluationResultTest.java

            assertTrue(result.isHasRelevantResults());
            assertEquals(1, result.getRelevantDocIds().size());
            assertEquals("doc1", result.getRelevantDocIds().get(0));
            assertEquals(1, result.getRelevantIndexes().size());
            assertEquals(Integer.valueOf(1), result.getRelevantIndexes().get(0));
        }
    
        @Test
        public void test_withRelevantDocs_emptyLists() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/nio/ChannelUtil.java

                return channel.map(mode, 0, channel.size());
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Returns the size of the file.
         *
         * @param channel
         *            The file channel. Must not be {@literal null}.
         * @return The size of the file.
         */
        public static long size(final FileChannel channel) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java

            BoolQueryBuilder boolResult = (BoolQueryBuilder) result;
            assertTrue(boolResult.hasClauses());
            assertEquals(1, boolResult.must().size());
            assertEquals(1, boolResult.should().size());
            assertEquals(1, boolResult.mustNot().size());
        }
    
        // Test convertBooleanQuery with empty BooleanQuery
        @Test
        public void test_convertBooleanQuery_withEmptyQuery() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * size() as a hint only.
       *
       * @param delta the difference between the true size of the collection and the values returned by
       *     the size method
       */
      public static <T extends @Nullable Object> Collection<T> misleadingSizeCollection(int delta) {
        // It would be nice to be able to return a real concurrent
        // collection like ConcurrentLinkedQueue, so that e.g. concurrent
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      }
    
      private static <K, V> ImmutableMap<K, V> fromEntryList(
          boolean throwIfDuplicateKeys, Collection<? extends Entry<? extends K, ? extends V>> entries) {
        int size = entries.size();
        switch (size) {
          case 0:
            return of();
          case 1:
            Entry<? extends K, ? extends V> entry = getOnlyElement(entries);
            return of((K) entry.getKey(), (V) entry.getValue());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:51:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/IndexedImmutableSet.java

        return asList().iterator();
      }
    
      @Override
      public Spliterator<E> spliterator() {
        return CollectSpliterators.indexed(size(), SPLITERATOR_CHARACTERISTICS, this::get);
      }
    
      @Override
      public void forEach(Consumer<? super E> consumer) {
        checkNotNull(consumer);
        int n = size();
        for (int i = 0; i < n; i++) {
          consumer.accept(get(i));
        }
      }
    
      @Override
      @GwtIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top