Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for Spacer (0.2 sec)

  1. guava-tests/test/com/google/common/io/CharStreamsTest.java

       *
       * <p>CharStreams.copy was failing to clear its CharBuffer after each read call, which effectively
       * reduced the available size of the buffer each time a call to read didn't fill up the available
       * space in the buffer completely. In general this is a performance problem since the buffer size
       * is permanently reduced, but with certain Reader implementations it could also cause the buffer
       * size to reach 0, causing an infinite loop.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

       *
       * <p>CharStreams.copy was failing to clear its CharBuffer after each read call, which effectively
       * reduced the available size of the buffer each time a call to read didn't fill up the available
       * space in the buffer completely. In general this is a performance problem since the buffer size
       * is permanently reduced, but with certain Reader implementations it could also cause the buffer
       * size to reach 0, causing an infinite loop.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMap.java

         * {@code Builder} object, even though only one of them will be used in the built map. If there
         * can be many repeated keys, it may be more space-efficient to use a {@link
         * java.util.LinkedHashMap LinkedHashMap} and {@link ImmutableMap#copyOf(Map)} rather than
         * {@code ImmutableMap.Builder}.
         *
         * @since 31.1
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/Traverser.java

       *       notes on element objects</a> for more information.)
       *   <li>While traversing, the traverser will use <i>O(n)</i> space (where <i>n</i> is the number
       *       of nodes that have thus far been visited), plus <i>O(H)</i> space (where <i>H</i> is the
       *       number of nodes that have been seen but not yet visited, that is, the "horizon").
       * </ul>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

     *   <li><a target="_parent" href="http://www.cymru.com/Bogons/v6bogon.html">http://www.cymru.com/
     *       Bogons/v6bogon.html</a>
     *   <li><a target="_parent" href="http://www.space.net/~gert/RIPE/ipv6-filters.html">http://www.
     *       space.net/~gert/RIPE/ipv6-filters.html</a>
     * </ul>
     *
     * @author Erik Kline
     * @since 5.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/collect/Multiset.java

         * for this entry is one, this is simply the string representation of the corresponding element.
         * Otherwise, it is the string representation of the element, followed by the three characters
         * {@code " x "} (space, letter x, space), followed by the count.
         */
        @Override
        String toString();
      }
    
      // Comparison and hashing
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/InetAddressesTest.java

            .isEqualTo(
                InetAddresses.getCoercedIPv4Address(
                    InetAddresses.forString("2001:0000:5136:f378:9000:73bf:3fff:fdd2")));
    
        // Test that an address hashes in to the 224.0.0.0/3 number-space.
        int coercedInt =
            InetAddresses.coerceToInteger(
                InetAddresses.getCoercedIPv4Address(InetAddresses.forString("2001:4860::1")));
        assertThat(coercedInt).isAtLeast(0xe0000000);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedSet.java

            /*
             * Sorting operations can only be allowed to occur once every O(n) operations to keep
             * amortized O(n log n) performance.  Therefore, ensure there are at least O(n) *unused*
             * spaces in the builder array.
             */
            int newLength = ImmutableCollection.Builder.expandedCapacity(n, n + 1);
            if (newLength > elements.length) {
              elements = Arrays.copyOf(elements, newLength);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Comparators.java

       *
       * <p>This {@code Collector} uses O(k) memory and takes expected time O(n) (worst-case O(n log
       * k)), as opposed to e.g. {@code Stream.sorted(comparator).limit(k)}, which currently takes O(n
       * log n) time and O(n) space.
       *
       * @throws IllegalArgumentException if {@code k < 0}
       * @since 22.0
       */
      public static <T extends @Nullable Object> Collector<T, ?, List<T>> least(
          int k, Comparator<? super T> comparator) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

            monitor.leave();
          }
        } else {
          return false;
        }
      }
    
      /**
       * Inserts the specified element at the tail of this queue, waiting up to the specified wait time
       * for space to become available if the queue is full.
       *
       * @throws InterruptedException {@inheritDoc}
       * @throws NullPointerException {@inheritDoc}
       */
      @CanIgnoreReturnValue
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
Back to top