Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 598 for enum (0.02 sec)

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

     *
     */
    @NullUnmarked
    public class SortedCopyBenchmark {
      @Param({"1", "10", "1000", "1000000"})
      int size; // logarithmic triangular
    
      @Param boolean mutable;
    
      @Param InputOrder inputOrder;
    
      enum InputOrder {
        SORTED {
          @Override
          void arrange(List<Integer> list) {
            sort(list);
          }
        },
        ALMOST_SORTED {
          @Override
          void arrange(List<Integer> list) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginValidationManager.java

    import org.eclipse.aether.artifact.Artifact;
    
    /**
     * Component collecting plugin validation issues and reporting them.
     *
     * @since 3.9.2
     */
    public interface PluginValidationManager {
        enum IssueLocality {
            /**
             * Issue is "user actionable", is internal to the currently built project and is reparable from scope of it
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

     * collection instance can only be one size at once.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum CollectionSize implements Feature<Collection>, Comparable<CollectionSize> {
      /** Test an empty collection. */
      ZERO(0),
      /** Test a one-element collection. */
      ONE(1),
      /** Test a three-element collection. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. tests/test_application.py

                },
                "/enum-status-code": {
                    "get": {
                        "responses": {
                            "201": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            },
                        },
                        "summary": "Get Enum Status Code",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

      ) {
        val builder = "http://host/".toHttpUrl().newBuilder()
        component[builder] = codePointString
        val url = builder.build()
        assertThat(url.host).startsWith(Punycode.PREFIX_STRING)
      }
    
      enum class Encoding {
        IDENTITY {
          override fun encode(codePoint: Int): String = String(codePoint)
        },
        PERCENT {
          override fun encode(codePoint: Int): String {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

     *
     * @author Osvaldo Doederlein
     */
    @NullUnmarked
    public class ToStringHelperBenchmark {
    
      @Param({"0", "1", "5"})
      int dataSize;
    
      @Param({"false", "true"})
      boolean omitNulls;
    
      enum Dataset {
        SMALL {
          @Override
          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, 10)
                .addValue(10L)
                .add(SHORT_NAME, 3.14f)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Resolution.java

     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.FIELD)
    public @interface Resolution {
    
        /**
         * The id of a {@link org.apache.maven.api.PathScope} enum value.
         * If specified, a dependency resolution request will be issued,
         * else a dependency collection request will be done.
         *
         * @return the id of the path scope
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/storage/StorageClientFactory.java

         */
        public static StorageClient createClient() {
            return createClient(ComponentUtil.getFessConfig());
        }
    
        /**
         * Parses a storage type string to StorageType enum.
         *
         * @param typeStr the type string (s3, gcs, s3_compat, auto)
         * @return parsed StorageType
         */
        private static StorageType parseStorageType(final String typeStr) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java

                    (biMap, o) -> {
                      Object unused = biMap.inverse().get(o);
                    },
                    Math::log)));
      }
    
      /** All the ways to create an ImmutableBiMap. */
      enum ConstructionPathway {
        COPY_OF_MAP {
          @Override
          public ImmutableBiMap<Object, Object> create(List<Entry<?, ?>> entries) {
            Map<Object, Object> sourceMap = new LinkedHashMap<>();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 19:11:14 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. fastapi/routing.py

    import json
    from collections.abc import (
        AsyncIterator,
        Awaitable,
        Collection,
        Coroutine,
        Mapping,
        Sequence,
    )
    from contextlib import AsyncExitStack, asynccontextmanager
    from enum import Enum, IntEnum
    from typing import (
        Annotated,
        Any,
        Callable,
        Optional,
        Union,
    )
    
    from annotated_doc import Doc
    from fastapi import params
    from fastapi._compat import (
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
Back to top