Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for resize (0.18 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSet.java

       * with linear probing in its implementation. The returned size is the smallest power of two that
       * can hold setSize elements with the desired load factor. Always returns at least setSize + 2.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        setSize = Math.max(setSize, 2);
        // Correct the size for open addressing to match desired load factor.
        if (setSize < CUTOFF) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  2. RELEASE.md

        *   Added gradient for `SparseToDense` op.
        *   Expose a flag that allows the number of threads to vary across Python
            benchmarks.
        *   `image.resize` in 2.0 now supports gradients for the new resize kernels.
        *   `image.resize` now considers proper pixel centers and has new kernels
            (incl. anti-aliasing).
        *   Renamed `tf.image` functions to remove duplicate "image" where it is
            redundant.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  3. maven-api-impl/src/test/remote-repo/org/apache/apache/1/apache-1.pom

        The Apache projects are characterized by a collaborative, consensus based development process, an open and
        pragmatic software license, and a desire to create high quality software that leads the way in its field.
        We consider ourselves not simply a group of projects sharing a server, but rather a community of developers
        and users.
      </description>
      <licenses>
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        }
      }
    
      public void testSize0() {
        Iterator<String> iterator = Iterators.emptyIterator();
        assertEquals(0, Iterators.size(iterator));
      }
    
      public void testSize1() {
        Iterator<Integer> iterator = Collections.singleton(0).iterator();
        assertEquals(1, Iterators.size(iterator));
      }
    
      public void testSize_partiallyConsumed() {
        Iterator<Integer> iterator = asList(1, 2, 3, 4, 5).iterator();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    	var buffer []byte
    	switch size := data.Size(); {
    	case size == 0:
    		buffer = make([]byte, 1) // Allocate at least a byte to reach EOF
    	case size >= fi.Erasure.BlockSize || size == -1:
    		buffer = globalBytePoolCap.Load().Get()
    		defer globalBytePoolCap.Load().Put(buffer)
    	case size < fi.Erasure.BlockSize:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
  6. android/guava/src/com/google/common/collect/Maps.java

        if (expectedSize < Ints.MAX_POWER_OF_TWO) {
          // This seems to be consistent across JDKs. The capacity argument to HashMap and LinkedHashMap
          // ends up being used to compute a "threshold" size, beyond which the internal table
          // will be resized. That threshold is ceilingPowerOfTwo(capacity*loadFactor), where
          // loadFactor is 0.75 by default. So with the calculation here we ensure that the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top