Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 71 for overhead (0.04 sec)

  1. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        new EqualsTester()
            .addEqualityGroup(wrapperFunction.apply(instance), wrapperFunction.apply(instance))
            .addEqualityGroup(wrapperFunction.apply(generator.newFreshProxy(interfaceType)))
            // TODO: add an overload to EqualsTester to print custom error message?
            .testEquals();
      }
    
      private static <T> void testToString(
          Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link FakeTicker}.
     *
     * @author Jige Yu
     */
    @GwtCompatible
    // We also want to test the TimeUnit overload (especially under GWT, where it's the only option).
    @SuppressWarnings("SetAutoIncrementStep_Nanos")
    @NullUnmarked
    public class FakeTickerTest extends TestCase {
    
      @GwtIncompatible // NullPointerTester
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Lists.java

       * advantage of <a
       * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond"
       * syntax</a>. (Unlike here, there is no risk of overload ambiguity, since the {@code ArrayList}
       * constructors very wisely did not accept varargs.)
       *
       * @param initialArraySize the exact size of the initial backing array for the returned array list
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/LongMath.java

       * Math#addExact(long, long)} instead. Note that if both arguments are {@code int} values, writing
       * {@code Math.addExact(a, b)} will call the {@link Math#addExact(int, int)} overload, not {@link
       * Math#addExact(long, long)}. Also note that adding two {@code int} values can <b>never</b>
       * overflow a {@code long}, so you can just write {@code (long) a + b}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

                    allEntries.addAll(normalValues);
                    SortedMultiset<E> multiset =
                        (SortedMultiset<E>) delegate.create(allEntries.toArray());
    
                    // call the smallest subMap overload that filters out the extreme
                    // values
                    if (from == Bound.INCLUSIVE) {
                      multiset = multiset.tailMultiset(firstInclusive, BoundType.CLOSED);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Suppliers.java

       * @param unit the unit that {@code duration} is expressed in
       * @throws IllegalArgumentException if {@code duration} is not positive
       * @since 2.0
       */
      @SuppressWarnings("GoodTime") // Prefer the Duration overload
      public static <T extends @Nullable Object> Supplier<T> memoizeWithExpiration(
          Supplier<T> delegate, long duration, TimeUnit unit) {
        checkNotNull(delegate);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/JoinerTest.java

          return delegate;
        }
    
        @Override
        public int size() {
          return delegate.size() + delta;
        }
      }
    
      @SuppressWarnings("JoinIterableIterator") // explicitly testing iterator overload, too
      public void testNoSpecialNullBehavior() {
        checkNoOutput(J, iterable);
        checkResult(J, iterable1, "1");
        checkResult(J, iterable12, "1-2");
        checkResult(J, iterable123, "1-2-3");
    Registered: Fri Sep 05 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

        testBytes(numBytes, expectedCount, 0, -1);
      }
    
      /**
       * Helper to run the loop to test all the permutations for the number of bytes specified. This
       * overload is useful for debugging to get the loop to start at a certain character.
       *
       * @param numBytes the number of bytes in the byte array
       * @param expectedCount the expected number of roundtrippable permutations
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Suppliers.java

       * @param unit the unit that {@code duration} is expressed in
       * @throws IllegalArgumentException if {@code duration} is not positive
       * @since 2.0
       */
      @SuppressWarnings("GoodTime") // Prefer the Duration overload
      public static <T extends @Nullable Object> Supplier<T> memoizeWithExpiration(
          Supplier<T> delegate, long duration, TimeUnit unit) {
        checkNotNull(delegate);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.20.md

    ### Bug or Regression
    
    - Avoid systemd-logind loading configuration warning ([#97950](https://github.com/kubernetes/kubernetes/pull/97950), [@wzshiming](https://github.com/wzshiming)) [SIG Node]
    - Count pod overhead against an entity's ResourceQuota ([#99600](https://github.com/kubernetes/kubernetes/pull/99600), [@gjkim42](https://github.com/gjkim42)) [SIG API Machinery and Node]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jan 19 21:05:45 UTC 2022
    - 409K bytes
    - Viewed (0)
Back to top