Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 530 for enum_ (0.31 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapEntrySetTester<K, V> extends AbstractMapTester<K, V> {
      private enum IncomparableType {
        INSTANCE;
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testIteratorRemoveOnly() {
        Set<Entry<K, V>> entrySet = getMap().entrySet();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * @param <V> the value type of {@link EnumMap}
         * @param keyType the class object of the key type for this {@literal enum} map
         * @return a new instance of {@link EnumMap}
         * @see EnumMap#EnumMap(Class)
         */
        public static <K extends Enum<K>, V> EnumMap<K, V> newEnumMap(final Class<K> keyType) {
            return new EnumMap<>(keyType);
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  3. 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)
  4. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

                break;
            default:
                break;
            }
            return this;
        }
    
        /**
         * Enumeration of supported query types.
         */
        enum QueryType {
            /** Boolean query type. */
            BOOL,
            /** DisMax query type. */
            DISMAX;
        }
    
        /**
         * Returns the writeable name of the wrapped query builder.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/query-params.md

    In this case, there are 3 query parameters:
    
    * `needy`, a required `str`.
    * `skip`, an `int` with a default value of `0`.
    * `limit`, an optional `int`.
    
    /// tip
    
    You could also use `Enum`s the same way as with [Path Parameters](path-params.md#predefined-values).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  7. fastapi/applications.py

    from collections.abc import Awaitable, Callable, Coroutine, Sequence
    from enum import Enum
    from typing import Annotated, Any, TypeVar
    
    from annotated_doc import Doc
    from fastapi import routing
    from fastapi.datastructures import Default, DefaultPlaceholder
    from fastapi.exception_handlers import (
        http_exception_handler,
        request_validation_exception_handler,
        websocket_request_validation_exception_handler,
    )
    from fastapi.exceptions import (
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/query-params.md

    在此例中,有 3 個查詢參數:
    
    * `needy`,必填的 `str`。
    * `skip`,具有預設值 `0` 的 `int`。
    * `limit`,選填的 `int`。
    
    /// tip | 提示
    
    你也可以像在[路徑參數](path-params.md#predefined-values)中一樣使用 `Enum`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  9. tensorflow/c/eager/abstract_operation.h

    namespace tensorflow {
    
    // Abstract interface to an operation.
    // This interface allows building and executing an operation in either
    // tracing or immediate execution mode.
    class AbstractOperation {
     protected:
      enum AbstractOperationKind {
        kGraph,
        kMlir,
        kEager,
        kTfrt,
        kTape,
        kOpHandler
      };
      explicit AbstractOperation(AbstractOperationKind kind) : kind_(kind) {}
      virtual ~AbstractOperation() {}
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  10. 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)
Back to Top