Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 735 for adds (0.01 sec)

  1. internal/lru/lru.go

    		ent.Value = value
    		ent.ExpiresAt = now.Add(c.ttl)
    		c.addToBucket(ent)
    		return false
    	}
    
    	// Add new item
    	ent := c.evictList.PushFrontExpirable(key, value, now.Add(c.ttl))
    	c.items[key] = ent
    	c.addToBucket(ent) // adds the entry to the appropriate bucket and sets entry.expireBucket
    
    	evict := c.size > 0 && c.evictList.Length() > c.size
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                addPropertyDesc(propDesc);
            } else if (propDesc.getPropertyType() != propertyType) {
                invalidPropertyNames.add(propertyName);
            } else {
                propDesc.setWriteMethod(writeMethod);
            }
        }
    
        /**
         * Adds a {@link PropertyDesc}.
         *
         * @param propertyDesc
         *            {@link PropertyDesc}
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                        if (StringUtil.isNotEmpty(role)) {
                            roleSet.add(role);
                        }
                    }
                }
            } else {
                final String[] roles = rolesStr.split(roleSeparator);
                for (final String role : roles) {
                    if (StringUtil.isNotEmpty(role)) {
                        roleSet.add(role);
                    }
                }
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

      }
    
      public static <T> EquivalenceTester<T> of(Equivalence<? super T> equivalence) {
        return new EquivalenceTester<>(equivalence);
      }
    
      /**
       * Adds a group of objects that are supposed to be equivalent to each other and not equivalent to
       * objects in any other equivalence group added to this tester.
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

    /**
     * A map containing {@code long} values that can be atomically updated. While writes to a
     * traditional {@code Map} rely on {@code put(K, V)}, the typical mechanism for writing to this map
     * is {@code addAndGet(K, long)}, which adds a {@code long} to the value currently associated with
     * {@code K}. If a key has not yet been associated with a value, its implicit value is zero.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/TopKSelector.java

        this.buffer = (T[]) new Object[Math.multiplyExact(k, 2)];
        this.bufferSize = 0;
        this.threshold = null;
      }
    
      /**
       * Adds {@code elem} as a candidate for the top {@code k} elements. This operation takes amortized
       * O(1) time.
       */
      public void offer(@ParametricNullness T elem) {
        if (k == 0) {
          return;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

        }
    
        /**
         * Adds a new duplicate host rule to the list.
         * Initializes the list if it doesn't exist.
         *
         * @param duplicateHost the duplicate host rule to add
         */
        public void add(final DuplicateHost duplicateHost) {
            if (duplicateHostList == null) {
                duplicateHostList = new ArrayList<>();
            }
            duplicateHostList.add(duplicateHost);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LongAdder.java

              || !(uncontended = a.cas(v = a.value, v + x))) retryUpdate(x, hc, uncontended);
        }
      }
    
      /** Equivalent to {@code add(1)}. */
      @Override
      public void increment() {
        add(1L);
      }
    
      /** Equivalent to {@code add(-1)}. */
      public void decrement() {
        add(-1L);
      }
    
      /**
       * Returns the current sum. The returned value is NOT an atomic snapshot; invocation in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. cmd/xl-storage-free-version.go

    func (j xlMetaV2Version) FreeVersion() bool {
    	if j.Type == DeleteType {
    		return j.DeleteMarker.FreeVersion()
    	}
    	return false
    }
    
    // AddFreeVersion adds a free-version if needed for fi.VersionID version.
    // Free-version will be added if fi.VersionID has transitioned.
    func (x *xlMetaV2) AddFreeVersion(fi FileInfo) error {
    	var uv uuid.UUID
    	var err error
    	switch fi.VersionID {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

                }
                queue.addAll(convertedTexts);
            }
    
            return convertedTexts;
        }
    
        /**
         * Adds a converter to the chain.
         * @param converter The converter to add.
         */
        public void addConverter(final ReadingConverter converter) {
            converters.add(converter);
        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top