Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2711 - 2720 of 3,587 for findall (0.12 sec)

  1. android/guava-tests/test/com/google/common/base/StopwatchTest.java

    /**
     * Unit test for {@link Stopwatch}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullUnmarked
    public class StopwatchTest extends TestCase {
    
      private final FakeTicker ticker = new FakeTicker();
      private final Stopwatch stopwatch = new Stopwatch(ticker);
    
      public void testCreateStarted() {
        Stopwatch startedStopwatch = Stopwatch.createStarted();
        assertTrue(startedStopwatch.isRunning());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible
    @NullMarked
    final class ReflectionFreeAssertThrows {
      interface ThrowingRunnable {
        void run() throws Throwable;
      }
    
      interface ThrowingSupplier {
        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

    import java.util.SortedSet;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a NavigableSet
     * implementation.
     */
    @GwtIncompatible
    public final class NavigableSetTestSuiteBuilder<E> extends SortedSetTestSuiteBuilder<E> {
      public static <E> NavigableSetTestSuiteBuilder<E> using(TestSortedSetGenerator<E> generator) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

     * @author Ben Yu
     * @since 12.0
     */
    public abstract class AbstractInvocationHandler implements InvocationHandler {
      /** Constructor for use by subclasses. */
      public AbstractInvocationHandler() {}
    
      private static final Object[] NO_ARGS = {};
    
      /**
       * {@inheritDoc}
       *
       * <ul>
       *   <li>{@code proxy.hashCode()} delegates to {@link AbstractInvocationHandler#hashCode}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

    /**
     * Benchmarks for the ASCII class.
     *
     * @author Kevin Bourrillion
     */
    @NullUnmarked
    public class AsciiBenchmark {
      private static final String ALPHA = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
      private static final String NONALPHA = "0123456789`~-_=+[]{}|;:',.<>/?!@#$%^&*()\"\\";
    
      @Param({"20", "2000"})
      int size;
    
      @Param({"2", "20"})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

        // without resorting to even crazier hacks to reset static final boolean fields.
        System.setProperty("guava.concurrent.generate_cancellation_cause", "true");
        String concurrentPackage = SettableFuture.class.getPackage().getName();
        classReloader =
            new URLClassLoader(ClassPathUtil.getClassPathUrls()) {
              @GuardedBy("loadedClasses")
              final Map<String, Class<?>> loadedClasses = new HashMap<>();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible
    @NullMarked
    final class ReflectionFreeAssertThrows {
      interface ThrowingRunnable {
        void run() throws Throwable;
      }
    
      interface ThrowingSupplier {
        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

        // without resorting to even crazier hacks to reset static final boolean fields.
        System.setProperty("guava.concurrent.generate_cancellation_cause", "true");
        String concurrentPackage = SettableFuture.class.getPackage().getName();
        classReloader =
            new URLClassLoader(ClassPathUtil.getClassPathUrls()) {
              @GuardedBy("loadedClasses")
              final Map<String, Class<?>> loadedClasses = new HashMap<>();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. docs/pt/docs/benchmarks.md

        * Você não conseguiria escrever uma aplicação em Uvicorn diretamente. Isso significa que seu código deveria conter, mais ou menos, todo o código fornecido pelo Starlette (ou **FastAPI**). E se você fizesse isso, sua aplicação final poderia ter a mesma sobrecarga que utilizar um _framework_ que minimiza o código e _bugs_ da sua aplicação.
        * Se você quer fazer comparações com o Uvicorn, compare com Daphne, Hypercorn, uWSGI, etc. Servidores de Aplicação.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

    @NullMarked
    @GwtCompatible
    public class FloatsTest extends TestCase {
      private static final float[] EMPTY = {};
      private static final float[] ARRAY1 = {1.0f};
      private static final float[] ARRAY234 = {2.0f, 3.0f, 4.0f};
    
      private static final float LEAST = Float.NEGATIVE_INFINITY;
      private static final float GREATEST = Float.POSITIVE_INFINITY;
    
      private static final float[] NUMBERS =
          new float[] {
            LEAST,
            -Float.MAX_VALUE,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
Back to top