Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 680 for Enum (0.02 seconds)

  1. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

     *
     * <p>Note: the Apache benchmarks are not open sourced to avoid the extra dependency.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ApacheBenchmark {
      private enum Impl {
        GUAVA {
          @Override
          public double factorialDouble(int n) {
            return DoubleMath.factorial(n);
          }
    
          @Override
          public int gcdInt(int a, int b) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  2. guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

     *
     * <p>Note: the Apache benchmarks are not open sourced to avoid the extra dependency.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ApacheBenchmark {
      private enum Impl {
        GUAVA {
          @Override
          public double factorialDouble(int n) {
            return DoubleMath.factorial(n);
          }
    
          @Override
          public int gcdInt(int a, int b) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

     * will be constant across algorithms).
     *
     * @author Pete Gillin
     * @since 20.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @NullUnmarked
    enum QuantilesAlgorithm {
    
      /**
       * Sorts the dataset, and picks values from it. When computing multiple quantiles, we sort once
       * and pick multiple values.
       */
      SORTING {
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

      public static <E> MultisetTestSuiteBuilder<E> using(TestMultisetGenerator<E> generator) {
        return new MultisetTestSuiteBuilder<E>().usingGenerator(generator);
      }
    
      public enum NoRecurse implements Feature<Void> {
        NO_ENTRY_SET;
    
        @Override
        public Set<Feature<? super Void>> getImpliedFeatures() {
          return emptySet();
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        assertThat(ordering.toString()).isEqualTo("Ordering.usingToString()");
        assertThat(reserialize(ordering)).isSameInstanceAs(ordering);
      }
    
      // use an enum to get easy serializability
      private enum CharAtFunction implements Function<String, Character> {
        AT0(0),
        AT1(1),
        AT2(2),
        AT3(3),
        AT4(4),
        AT5(5),
        ;
    
        final int index;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/OrderingTest.java

        assertThat(ordering.toString()).isEqualTo("Ordering.usingToString()");
        assertThat(reserialize(ordering)).isSameInstanceAs(ordering);
      }
    
      // use an enum to get easy serializability
      private enum CharAtFunction implements Function<String, Character> {
        AT0(0),
        AT1(1),
        AT2(2),
        AT3(3),
        AT4(4),
        AT5(5),
        ;
    
        final int index;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

         */
        // CHECKSTYLE_ON: LineLength
        // TODO Move me to Maven Shared Utils
        static class FileSizeFormat {
            enum ScaleUnit {
                BYTE {
                    @Override
                    public long bytes() {
                        return 1L;
                    }
    
                    @Override
                    public String symbol() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Apr 22 22:13:51 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

    import org.junit.jupiter.params.provider.EnumSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    public class JAASAuthenticatorTest {
    
        enum SubjectVariant {
            DEFAULT_NO_PS, // configuration null, no preset Subject
            DEFAULT_WITH_PS, // configuration null, but super.getSubject() returns non-null
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  9. tensorflow/c/eager/c_api.h

        TF_Status* status);
    
    // Controls how to act when we try to run an operation on a given device but
    // some input tensors are not on that device.
    // LINT.IfChange
    // Note: Keep in sync with internal copy of enum in eager/context.h.
    typedef enum TFE_ContextDevicePlacementPolicy {
      // Running operations with input tensors on the wrong device will fail.
      TFE_DEVICE_PLACEMENT_EXPLICIT = 0,
      // Copy the tensor to the right device but log a warning.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

      }
    
      /**
       * Different orderings for combining the elements of an input array, which must all produce the
       * same result.
       */
      @IgnoreJRERequirement // *should* be redundant with the one on CollectorTester
      enum CollectStrategy {
        /** Get one accumulator and accumulate the elements into it sequentially. */
        SEQUENTIAL {
          @Override
          final <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 6.8K bytes
    - Click Count (0)
Back to Top