Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 547 for Enum (0.02 sec)

  1. guava/src/com/google/common/primitives/Booleans.java

     * @author Kevin Bourrillion
     * @since 1.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Booleans {
      private Booleans() {}
    
      /** Comparators for {@code Boolean} values. */
      private enum BooleanComparator implements Comparator<Boolean> {
        TRUE_FIRST(1, "Booleans.trueFirst()"),
        FALSE_FIRST(-1, "Booleans.falseFirst()");
    
        private final int trueValue;
        private final String toString;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. 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.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/EquivalenceTest.java

        new EqualsTester()
            .addEqualityGroup(Equivalence.equals().pairwise(), Equivalence.equals().pairwise())
            .addEqualityGroup(Equivalence.identity().pairwise())
            .testEquals();
      }
    
      private enum LengthFunction implements Function<String, Integer> {
        INSTANCE;
    
        @Override
        public Integer apply(String input) {
          return input.length();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/StandardSystemProperty.java

     *
     * @author Kurt Alfred Kluever
     * @since 15.0
     */
    @J2ktIncompatible
    @GwtIncompatible // java.lang.System#getProperty
    @ElementTypesAreNonnullByDefault
    public enum StandardSystemProperty {
    
      /** Java Runtime Environment version. */
      JAVA_VERSION("java.version"),
    
      /** Java Runtime Environment vendor. */
      JAVA_VENDOR("java.vendor"),
    
      /** Java vendor URL. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

                  + " but returned result: "
                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

                    deltas[keyIndex] -= delta;
                  }
                  break;
                }
            }
          }
          return deltas;
        }
    
        private enum Operation {
          ADD,
          SET_COUNT,
          SET_COUNT_IF,
          REMOVE,
          REMOVE_EXACTLY,
          ;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            });
        }
    
        @Override
        public void visit(EnumDeclaration enumDeclaration, ClassMetaDataRepository<ClassMetaData> repository) {
            visitTypeDeclaration(enumDeclaration, repository, MetaType.ENUM, () -> {
                visitImplementedTypes(enumDeclaration);
                enumDeclaration.getEntries().forEach(entry -> getCurrentClass().addEnumConstant(entry.getNameAsString()));
                super.visit(enumDeclaration, repository);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/query-params.md

    ```
    
    위 예시에서는 3가지 쿼리 매개변수가 있습니다:
    
    * `needy`, 필수적인 `str`.
    * `skip`, 기본값이 `0`인 `int`.
    * `limit`, 선택적인 `int`.
    
    /// tip | "팁"
    
    [경로 매개변수](path-params.md#_8){.internal-link target=_blank}와 마찬가지로 `Enum`을 사용할 수 있습니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. 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();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

    public class TreeMultimapExplicitTest extends TestCase {
    
      /**
       * Compare strings lengths, and if the lengths are equal compare the strings. A {@code null} is
       * less than any non-null value.
       */
      private enum StringLength implements Comparator<@Nullable String> {
        COMPARATOR;
    
        @Override
        public int compare(@Nullable String first, @Nullable String second) {
          if (first == second) {
            return 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top