Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 59 for nearest (0.07 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertSame(testEquivalence, map.valueEquivalence);
        assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence);
      }
    
      public void testSetConcurrencyLevel() {
        // round up to the nearest power of two
    
        checkConcurrencyLevel(1, 1);
        checkConcurrencyLevel(2, 2);
        checkConcurrencyLevel(3, 4);
        checkConcurrencyLevel(4, 4);
        checkConcurrencyLevel(5, 8);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Longs.java

        long max = array[0];
        for (int i = 1; i < array.length; i++) {
          if (array[i] > max) {
            max = array[i];
          }
        }
        return max;
      }
    
      /**
       * Returns the value nearest to {@code value} which is within the closed range {@code [min..max]}.
       *
       * <p>If {@code value} is within the range {@code [min..max]}, {@code value} is returned
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactHashMap.java

      }
    
      /** Resizes the entries storage if necessary. */
      private void resizeMeMaybe(int newSize) {
        int entriesSize = requireEntries().length;
        if (newSize > entriesSize) {
          // 1.5x but round up to nearest odd (this is optimal for memory consumption on Android)
          int newCapacity = min(CompactHashing.MAX_SIZE, (entriesSize + max(1, entriesSize >>> 1)) | 1);
          if (newCapacity != entriesSize) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.18.md

    - Kubeadm: support automatic retry after failing to pull image ([#86899](https://github.com/kubernetes/kubernetes/pull/86899), [@SataQiu](https://github.com/SataQiu)) [SIG Cluster Lifecycle]
    - Kubeadm: upgrade supports fallback to the nearest known etcd version if an unknown k8s version is passed ([#88373](https://github.com/kubernetes/kubernetes/pull/88373), [@SataQiu](https://github.com/SataQiu)) [SIG Cluster Lifecycle]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jun 16 17:18:28 UTC 2021
    - 373.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            ArtifactSpec b = createArtifactSpec("b", "1.0", nearestScope);
            ArtifactSpec c = createArtifactSpec("c", "1.0");
            a.addDependency(c);
            ArtifactSpec dNearest = createArtifactSpec("d", "2.0");
            b.addDependency(dNearest);
            ArtifactSpec dFarthest = createArtifactSpec("d", "3.0", farthestScope);
            c.addDependency(dFarthest);
    
            /* system and provided dependencies are not transitive */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 42.7K bytes
    - Viewed (0)
  6. RELEASE.md

                when `is_training=False`
            *   (since v2.7) `tf.image.adjust_contrast` forward
            *   (since v2.7) `tf.image.resize` with `method=ResizeMethod.NEAREST`
                backprop
            *   (since v2.7) `tf.linalg.svd`
            *   (since v2.7) `tf.math.bincount`
            *   (since v2.7) `tf.nn.depthwise_conv2d` backprop to `filter` when not
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (2)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolver.java

    /**
     * Resolves conflicting artifacts by always selecting the newest declaration. Newest is defined as the
     * declaration whose version is greater according to <code>ArtifactVersion.compareTo</code>.
     *
     * @see ArtifactVersion#compareTo
     * @since 3.0
     */
    @Named("newest")
    @Singleton
    @Deprecated
    public class NewestConflictResolver implements ConflictResolver {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. cmd/admin-handlers-idp-openid.go

    			continue
    		}
    		arn := dummyRoleARN
    		if config.RoleARN != "" {
    			arn = config.RoleARN
    		}
    		roleArnMap[arn] = config.Name
    		newResp := make(map[string]madmin.OpenIDUserAccessKeys)
    		cfgToUsersMap[config.Name] = newResp
    	}
    	if len(roleArnMap) == 0 {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminNoSuchConfigTarget), r.URL)
    		return
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:38:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. internal/lru/lru.go

    	}
    }
    
    // deleteExpired deletes expired records from the oldest bucket, waiting for the newest entry
    // in it to expire first.
    func (c *LRU[K, V]) deleteExpired() {
    	c.mu.Lock()
    	bucketIdx := c.nextCleanupBucket
    	timeToExpire := time.Until(c.buckets[bucketIdx].newestEntry)
    	// wait for newest entry to expire before cleanup without holding lock
    	if timeToExpire > 0 {
    		c.mu.Unlock()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolverTest.java

    @Deprecated
    class NewestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        NewestConflictResolverTest() throws Exception {
            super("newest");
        }
    
        // tests ------------------------------------------------------------------
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * b:1.0 -&gt; a:2.0
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top