Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 1,093 for Sets (0.02 sec)

  1. internal/lru/lru.go

    		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
    	// Verify size not exceeded
    	if evict {
    		c.removeOldest()
    	}
    	return evict
    }
    
    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. cmd/object-handlers.go

    	objInfo, err := getObjectInfo(ctx, bucket, object, gopts)
    	if err != nil {
    		// Versioning enabled quite possibly object is deleted might be delete-marker
    		// if present set the headers, no idea why AWS S3 sets these headers.
    		if objInfo.VersionID != "" && objInfo.DeleteMarker {
    			w.Header()[xhttp.AmzVersionID] = []string{objInfo.VersionID}
    			w.Header()[xhttp.AmzDeleteMarker] = []string{strconv.FormatBool(objInfo.DeleteMarker)}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

          Multimap<? extends K, ? extends V> multimap) {
        if (multimap.isEmpty()) {
          return of();
        }
    
        // TODO(lowasser): copy ImmutableSetMultimap by using asList() on the sets
        if (multimap instanceof ImmutableListMultimap) {
          @SuppressWarnings("unchecked") // safe since multimap is not writable
          ImmutableListMultimap<K, V> kvMultimap = (ImmutableListMultimap<K, V>) multimap;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Queues.java

    import java.util.concurrent.TimeUnit;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Static utility methods pertaining to {@link Queue} and {@link Deque} instances. Also see this
     * class's counterparts {@link Lists}, {@link Sets}, and {@link Maps}.
     *
     * @author Kurt Alfred Kluever
     * @since 11.0
     */
    @GwtCompatible
    public final class Queues {
      private Queues() {}
    
      // ArrayBlockingQueue
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(0x003300, (int) webSafeColors.get(6));
        ImmutableList<Integer> addedColor = webSafeColorsBuilder.add(0x00BFFF).build();
        assertEquals(
            "Modifying the builder should not have changed any already built sets",
            216,
            webSafeColors.size());
        assertEquals("the new array should be one bigger than webSafeColors", 217, addedColor.size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Joiner.java

         *
         * In theory, we can quickly determine the size of any Collection. However, thanks to
         * regrettable implementations like our own Sets.filter, Collection.size() is sometimes a
         * linear-time operation, and it can even have side effects. Thus, we limit the special case to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                return query;
            }
    
            /**
             * Gets the suggest fields for the request.
             * @return Array of field names to search in for suggestions
             */
            protected String[] getSuggestFields() {
                return fields;
            }
    
            /**
             * Gets the maximum number of suggestions to return.
             * @return The maximum number of suggestions
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (1)
  8. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(0x003300, (int) webSafeColors.get(6));
        ImmutableList<Integer> addedColor = webSafeColorsBuilder.add(0x00BFFF).build();
        assertEquals(
            "Modifying the builder should not have changed any already built sets",
            216,
            webSafeColors.size());
        assertEquals("the new array should be one bigger than webSafeColors", 217, addedColor.size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/LongMath.java

          long minDeltaOrZero = delta & (delta >> (Long.SIZE - 1));
          // equivalent to Math.min(delta, 0)
    
          a = delta - minDeltaOrZero - minDeltaOrZero; // sets a to Math.abs(a - b)
          // a is now nonnegative and even
    
          b += minDeltaOrZero; // sets b to min(old a, b)
          a >>= Long.numberOfTrailingZeros(a); // divide out all 2s, since 2 doesn't divide b
        }
        return a << min(aTwos, bTwos);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  10. docs/debugging/xl-meta/main.go

    	for i := range m.filled {
    		if m.filled[i] == 1 {
    			lastValid = i
    		} else {
    			missing++
    		}
    	}
    	if missing > 0 && len(m.parityData) > 0 {
    		fmt.Println("Attempting to reconstruct using parity sets:")
    		for k, v := range m.parityData {
    			if missing == 0 {
    				break
    			}
    			fmt.Println("* Setup: Data shards:", k, "- Parity blocks:", m.shards-k)
    			rs, err := reedsolomon.New(k, m.shards-k)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
Back to top