Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Facade (0.17 sec)

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

        long r = 0;
        List<Facade<Integer>> list = new ArrayList<>(reps);
        for (int i = 0; i < reps; i++) {
          final Facade<Integer> localFuture = impl.newFacade();
          list.add(localFuture);
          localFuture.setException(exception);
        }
        for (int i = 0; i < reps; i++) {
          Facade<Integer> facade = list.get(i);
          try {
            facade.get();
            r++;
          } catch (ExecutionException e) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jul 16 17:22:27 GMT 2019
    - 3.6K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

        long r = 0;
        List<Facade<Integer>> list = new ArrayList<>(reps);
        for (int i = 0; i < reps; i++) {
          final Facade<Integer> localFuture = impl.newFacade();
          list.add(localFuture);
          localFuture.setException(exception);
        }
        for (int i = 0; i < reps; i++) {
          Facade<Integer> facade = list.get(i);
          try {
            facade.get();
            r++;
          } catch (ExecutionException e) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jul 16 17:22:27 GMT 2019
    - 3.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

    final class AbstractFutureBenchmarks {
      private AbstractFutureBenchmarks() {}
    
      interface Facade<T> extends ListenableFuture<T> {
        @CanIgnoreReturnValue
        boolean set(T t);
    
        @CanIgnoreReturnValue
        boolean setException(Throwable t);
      }
    
      private static class NewAbstractFutureFacade<T> extends AbstractFuture<T> implements Facade<T> {
        @CanIgnoreReturnValue
        @Override
        public boolean set(T t) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 13.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

    final class AbstractFutureBenchmarks {
      private AbstractFutureBenchmarks() {}
    
      interface Facade<T> extends ListenableFuture<T> {
        @CanIgnoreReturnValue
        boolean set(T t);
    
        @CanIgnoreReturnValue
        boolean setException(Throwable t);
      }
    
      private static class NewAbstractFutureFacade<T> extends AbstractFuture<T> implements Facade<T> {
        @CanIgnoreReturnValue
        @Override
        public boolean set(T t) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 13.6K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

    import com.google.caliper.Param;
    import com.google.caliper.api.Footprint;
    import com.google.caliper.api.SkipThisScenarioException;
    import com.google.common.util.concurrent.AbstractFutureBenchmarks.Facade;
    import com.google.common.util.concurrent.AbstractFutureBenchmarks.Impl;
    import java.util.HashSet;
    import java.util.Set;
    import java.util.concurrent.Executor;
    
    /** Measures the size of AbstractFuture implementations. */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Jan 17 15:34:54 GMT 2018
    - 3K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

    import com.google.caliper.Param;
    import com.google.caliper.api.Footprint;
    import com.google.caliper.api.SkipThisScenarioException;
    import com.google.common.util.concurrent.AbstractFutureBenchmarks.Facade;
    import com.google.common.util.concurrent.AbstractFutureBenchmarks.Impl;
    import java.util.HashSet;
    import java.util.Set;
    import java.util.concurrent.Executor;
    
    /** Measures the size of AbstractFuture implementations. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Jan 17 15:34:54 GMT 2018
    - 3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Preconditions.java

       * checkNotNull *should* be annotated to require it to be non-null.
       *
       * However, for a variety of reasons, Google developers have written a ton of code over the past
       * decade that assumes that they can use checkNotNull for non-precondition checks. I had hoped to
       * take a principled stand on this, but the amount of such code is simply overwhelming. To avoid
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Preconditions.java

       * checkNotNull *should* be annotated to require it to be non-null.
       *
       * However, for a variety of reasons, Google developers have written a ton of code over the past
       * decade that assumes that they can use checkNotNull for non-precondition checks. I had hoped to
       * take a principled stand on this, but the amount of such code is simply overwhelming. To avoid
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

    ?hcraeser?l&anruoj?euf?icnuoc?ortnoc!-ciffart-ria???n&gised?oi&nu?t&a&cifitrec?ercer?gi&tsevni-tnedicca?van??i&cossa!-regnessap??valivic??redef??cudorp?neverp-tnedicca????ograc?p&ihsnoipmahc?uorg!gnikrow???r&e&dart?enigne?korb?niart?trahc??o&htua?tacude???s&citsigol?e&civres?r??krow?serp!xe??tnega??t&farcr&ia?otor??hgil&f?orcim??liubemoh?n&atlusnoc?e&duts?m&esuma?n&iatretne?revog??piuqe????olip?ropria?si&lanruoj?tneics???w&erc?ohs??y&cnegreme?dobper?tefas????rref?z??p!.&a&aa?ca?pc??dem?ecartsnd....
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 21 21:04:43 GMT 2024
    - 72.4K bytes
    - Viewed (1)
Back to top