Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for DUMMY (0.03 sec)

  1. guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

            sort(copy);
            dummy += ImmutableList.copyOf(copy).get(0);
          }
        }
        return dummy;
      }
    
      @Benchmark
      int ordering(int reps) {
        int dummy = 0;
        if (mutable) {
          for (int i = 0; i < reps; i++) {
            dummy += ORDERING.sortedCopy(input).get(0);
          }
        } else {
          for (int i = 0; i < reps; i++) {
            dummy += ORDERING.immutableSortedCopy(input).get(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

            sort(copy);
            dummy += ImmutableList.copyOf(copy).get(0);
          }
        }
        return dummy;
      }
    
      @Benchmark
      int ordering(int reps) {
        int dummy = 0;
        if (mutable) {
          for (int i = 0; i < reps; i++) {
            dummy += ORDERING.sortedCopy(input).get(0);
          }
        } else {
          for (int i = 0; i < reps; i++) {
            dummy += ORDERING.immutableSortedCopy(input).get(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /**
       * Not supported. <b>You are attempting to create a set that may contain a non-{@code Comparable}
       * element.</b> Proper calls will resolve to the version in {@code ImmutableSortedSet}, not this
       * dummy version.
       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass a parameter of type {@code Comparable} to use {@link
       *     ImmutableSortedSet#of(Comparable)}.</b>
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /**
       * Not supported. <b>You are attempting to create a set that may contain a non-{@code Comparable}
       * element.</b> Proper calls will resolve to the version in {@code ImmutableSortedSet}, not this
       * dummy version.
       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass a parameter of type {@code Comparable} to use {@link
       *     ImmutableSortedSet#of(Comparable)}.</b>
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      /**
       * Not supported. <b>You are attempting to create a map that may contain a non-{@code Comparable}
       * key.</b> Proper calls will resolve to the version in {@code ImmutableSortedMap}, not this dummy
       * version.
       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass a key of type {@code Comparable} to use {@link
       *     ImmutableSortedMap#of(Comparable, Object)}.</b>
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      /**
       * Not supported. <b>You are attempting to create a map that may contain a non-{@code Comparable}
       * key.</b> Proper calls will resolve to the version in {@code ImmutableSortedMap}, not this dummy
       * version.
       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass a key of type {@code Comparable} to use {@link
       *     ImmutableSortedMap#of(Comparable, Object)}.</b>
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  7. android/pom.xml

          <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
        </repository>
        <site>
          <id>guava-site</id>
          <name>Guava Documentation Site</name>
          <url>scp://dummy.server/dontinstall/usestaging</url>
        </site>
      </distributionManagement>
      <dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>com.google.code.findbugs</groupId>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. pom.xml

          <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
        </repository>
        <site>
          <id>guava-site</id>
          <name>Guava Documentation Site</name>
          <url>scp://dummy.server/dontinstall/usestaging</url>
        </site>
      </distributionManagement>
      <dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>com.google.code.findbugs</groupId>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/OrderingTest.java

          }
        },
        ;
    
        abstract <T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario);
      }
    
      /**
       * A dummy object we create so that we can have something meaningful to have a compound ordering
       * over.
       */
      private static class Composite<T extends @Nullable Object> implements Comparable<Composite<T>> {
        final T value;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/OrderingTest.java

          }
        },
        ;
    
        abstract <T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario);
      }
    
      /**
       * A dummy object we create so that we can have something meaningful to have a compound ordering
       * over.
       */
      private static class Composite<T extends @Nullable Object> implements Comparable<Composite<T>> {
        final T value;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top