Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for measureSize (0.11 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

      // larger than they are.
      @SuppressWarnings("FutureReturnValueIgnored")
      @Footprint(exclude = {Runnable.class, Executor.class, Thread.class, Exception.class})
      public Object measureSize() {
        for (Thread thread : blockedThreads) {
          thread.interrupt();
        }
        blockedThreads.clear();
        final Facade<Object> f = impl.newFacade();
        for (int i = 0; i < numThreads; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

        }
      }
    
      @AfterExperiment
      void tearDown() throws Exception {
        executorService.shutdown();
      }
    
      @Footprint(exclude = {Runnable.class, Executor.class})
      public Object measureSize() {
        list = impl.newExecutionList();
        for (int i = 0; i < numListeners; i++) {
          list.add(listener, directExecutor());
        }
        return list.getImpl();
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top