Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 571 - 580 of 2,614 for ksize (0.14 seconds)

  1. src/main/java/org/codelibs/fess/entity/ChatSession.java

            synchronized (messagesLock) {
                if (messages != null && messages.size() > maxMessages) {
                    int start = messages.size() - maxMessages;
                    // Ensure trimmed history starts with a user message, not an assistant message
                    if (start < messages.size() && ChatMessage.ROLE_ASSISTANT.equals(messages.get(start).getRole())) {
                        start = Math.max(0, start - 1);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

      public Predicate<? super Entry<K, V>> entryPredicate() {
        return Maps.keyPredicateOnEntries(keyPredicate);
      }
    
      @Override
      public int size() {
        int size = 0;
        for (Collection<V> collection : asMap().values()) {
          size += collection.size();
        }
        return size;
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        if (unfiltered.containsKey(key)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/FilteredKeyMultimap.java

      public Predicate<? super Entry<K, V>> entryPredicate() {
        return Maps.keyPredicateOnEntries(keyPredicate);
      }
    
      @Override
      public int size() {
        int size = 0;
        for (Collection<V> collection : asMap().values()) {
          size += collection.size();
        }
        return size;
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        if (unfiltered.containsKey(key)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java

            } catch (final Exception e) {
                maxBufferSize = 1000;
            }
            queue.offer(event);
            if (size.incrementAndGet() > maxBufferSize) {
                if (queue.poll() != null) {
                    size.decrementAndGet();
                }
            }
        }
    
        /**
         * Drains all events from the buffer and returns them as a list.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

                    node = readString(buffer, bufferIndex, len, (flags2 & FLAGS2_UNICODE) != 0);
                }
    
                return size;
            }
    
            @Override
            public String toString() {
                return ("Referral[" + "version=" + version + ",size=" + size + ",serverType=" + serverType + ",flags=" + flags + ",proximity="
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

      public void testSerialization() {
        Multimap<String, Integer> multimap = createMultimap();
        SerializableTester.reserializeAndAssert(multimap);
        assertEquals(multimap.size(), SerializableTester.reserialize(multimap).size());
        SerializableTester.reserializeAndAssert(multimap.get("foo"));
        LenientSerializableTester.reserializeAndAssertLenient(multimap.keySet());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

        private int size = 0;
        private int modCount = 0;
    
        private @Nullable ValueEntry<K, V> firstEntry;
        private @Nullable ValueEntry<K, V> lastEntry;
    
        ValueSet(@ParametricNullness K key, int expectedValues) {
          this.key = key;
          // Round expected values up to a power of 2 to get the table size.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/LinkedHashMultimap.java

        private int size = 0;
        private int modCount = 0;
    
        private @Nullable ValueEntry<K, V> firstEntry;
        private @Nullable ValueEntry<K, V> lastEntry;
    
        ValueSet(@ParametricNullness K key, int expectedValues) {
          this.key = key;
          // Round expected values up to a power of 2 to get the table size.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 20K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

      // entry in a *single* long[], though that reduces the maximum size of the set by a factor of 2
    
      /**
       * Pointer to the predecessor of an entry in insertion order. ENDPOINT indicates a node is the
       * first node in insertion order; all values at indices ≥ {@link #size()} are UNSET.
       */
      private transient int @Nullable [] predecessor;
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/CompactLinkedHashSet.java

      // entry in a *single* long[], though that reduces the maximum size of the set by a factor of 2
    
      /**
       * Pointer to the predecessor of an entry in insertion order. ENDPOINT indicates a node is the
       * first node in insertion order; all values at indices ≥ {@link #size()} are UNSET.
       */
      private transient int @Nullable [] predecessor;
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 9.6K bytes
    - Click Count (0)
Back to Top