Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 396 for meanOf (0.04 sec)

  1. guava-tests/test/com/google/common/hash/BloomFilterTest.java

                  bloomFilter.put(key);
                  // False negative should *never* happen.
                  assertThat(bloomFilter.mightContain(key)).isTrue();
    
                  // If this check ever fails, that means we need to either bump the
                  // number of expected insertions or don't run the test for so long.
                  // Don't forget, the bloom filter slowly saturates over time and the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. internal/lru/lru.go

    }
    
    // Len returns the number of items in the cache.
    func (c *LRU[K, V]) Len() int {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	return c.evictList.Length()
    }
    
    // Resize changes the cache size. Size of 0 means unlimited.
    func (c *LRU[K, V]) Resize(size int) (evicted int) {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	if size <= 0 {
    		c.size = 0
    		return 0
    	}
    	diff := c.evictList.Length() - size
    	if diff < 0 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/LongMath.java

        return (int) x == x;
      }
    
      /**
       * Returns the arithmetic mean of {@code x} and {@code y}, rounded toward negative infinity. This
       * method is resilient to overflow.
       *
       * @since 14.0
       */
      public static long mean(long x, long y) {
        // Efficient method for computing the arithmetic mean.
        // The alternative (x + y) / 2 fails for large values.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 03 21:01:09 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheBuilder.java

     *
     * <p>The returned cache implements all optional operations of the {@link LoadingCache} and {@link
     * Cache} interfaces. The {@code asMap} view (and its collection views) have <i>weakly consistent
     * iterators</i>. This means that they are safe for concurrent use, but if other threads modify the
     * cache after the iterator is created, it is undefined which of these changes, if any, are
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                String mKey = m.getGroupId() + ":" + m.getArtifactId() + ":" + m.getVersion();
                if (key.equals(mKey)) {
                    // This means a module which is build has a dependency which has the same
                    // groupId, artifactId, version and classifier coordinates. This is in consequence
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 03 15:06:05 UTC 2025
    - 66.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Tables.java

       * <p>The returned table is not thread-safe or serializable, even if the underlying table is.
       *
       * <p>The function is applied lazily, invoked when needed. This is necessary for the returned
       * table to be a view, but it means that the function will be applied many times for bulk
       * operations like {@link Table#containsValue} and {@code Table.toString()}. For this to perform
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/JoinerTest.java

        OVERREPORTING_SIZE_LIST = unmodifiableList(new MisleadingSizeList<>(collection123, 1));
      }
    
      /*
       * c.g.c.collect.testing.Helpers.misleadingSizeList has a broken Iterator, so we can't use it. (I
       * mean, ideally we'd fix it....) Also, we specifically need a List so that we trigger the fast
       * path in join(Iterable).
       */
      private static final class MisleadingSizeList<E extends @Nullable Object>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/Utf8Test.java

       * @param expectedCount the expected number of roundtrippable permutations
       * @param start the starting bytes encoded as a long as big-endian
       * @param lim the limit of bytes to process encoded as a long as big-endian, or -1 to mean the max
       *     limit for numBytes
       */
      @GwtIncompatible // java.nio.charset.Charset
      private static void testBytes(int numBytes, long expectedCount, long start, long lim) {
        byte[] bytes = new byte[numBytes];
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. docs/en/docs/deployment/https.md

    * The **HTTPS certificates** "certify" a **certain domain**, but the protocol and encryption happen at the TCP level, **before knowing** which domain is being dealt with.
    * **By default**, that would mean that you can only have **one HTTPS certificate per IP address**.
        * No matter how big your server is or how small each application you have on it might be.
        * There is a **solution** to this, however.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                            verifyChecksum(sha1ChecksumObserver, destination, temp, remotePath, ".sha1", wagon);
                        } catch (ChecksumFailedException e) {
                            // if we catch a ChecksumFailedException, it means the transfer/read succeeded, but the
                            // checksum doesn't match. This could be a problem with the server (ibiblio HTTP-200 error
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
Back to top