Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 411 for Enum (0.01 seconds)

  1. fastapi/_compat/v2.py

    import re
    import warnings
    from collections.abc import Sequence
    from copy import copy, deepcopy
    from dataclasses import dataclass, is_dataclass
    from enum import Enum
    from functools import lru_cache
    from typing import (
        Annotated,
        Any,
        Union,
        cast,
    )
    
    from fastapi._compat import shared
    from fastapi.openapi.constants import REF_TEMPLATE
    from fastapi.types import IncEx, ModelNameMap, UnionType
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

            }
            for (MethodMetaData methodMetaData : declaredMethods) {
                methodMetaData.visitTypes(action);
            }
        }
    
        public static enum MetaType {
            CLASS, INTERFACE, ENUM, ANNOTATION
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java

    /**
     * Optional features of classes derived from {@link Multiset}.
     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MultisetFeature implements Feature<Multiset> {
      /**
       * Indicates that elements from {@code Multiset.entrySet()} update to reflect changes in the
       * backing multiset.
       */
      ENTRIES_ARE_VIEWS;
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/model/CIBuildModel.kt

            timeout = 30,
            channel = "adhoc",
            extraParameters = "--checks none",
        ),
    }
    
    enum class Trigger {
        NEVER,
        EACH_COMMIT,
        DAILY,
        WEEKLY,
    }
    
    const val GRADLE_BUILD_SMOKE_TEST_NAME = "gradleBuildSmokeTest"
    
    enum class SpecificBuild {
        CompileAll {
            override fun create(
                model: CIBuildModel,
                stage: Stage,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 05 13:00:26 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/ProjectScope.java

     * Defines the type of source files to compile, usually either the one that compose the output package
     * (i.e. the <i>main</i> artifact) or the ones that will be used when building <i>tests</i>).
     * <p>
     * This extensible enum has two defined values, {@link #MAIN} and {@link #TEST},
     * but can be extended by registering a {@code org.apache.maven.api.spi.ProjectScopeProvider}.
     * <p>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Feb 05 09:42:51 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  6. guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java

     * com.google.common.net.InternetDomainName}.</b>
     *
     * <p>Specifies the type of a top-level domain definition.
     *
     * @since 23.3
     */
    @Beta
    @GwtCompatible
    public enum PublicSuffixType {
    
      /** Public suffix that is provided by a private company, e.g. "blogspot.com" */
      PRIVATE(':', ','),
      /** Public suffix that is backed by an ICANN-style domain name registry */
      REGISTRY('!', '?');
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 10 15:48:57 GMT 2020
    - 2K bytes
    - Click Count (0)
  7. build-logic/documentation/src/test/resources/org/gradle/test/GroovyEnum.groovy

    package org.gradle.test
    
    public enum GroovyEnum {
        A, B
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Apr 26 10:58:32 GMT 2023
    - 61 bytes
    - Click Count (0)
  8. android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for various algorithms for computing the mean and/or variance.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class StatsBenchmark {
    
      enum MeanAlgorithm {
        SIMPLE {
          @Override
          double mean(double[] values) {
            double sum = 0.0;
            for (double value : values) {
              sum += value;
            }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      // In the unittest, create each ordered factory with its own set of lock
      // graph nodes (as opposed to using the static per-Enum map) to avoid
      // conflicts across different test runs.
      private <E extends Enum<E>>
          CycleDetectingLockFactory.WithExplicitOrdering<E> newInstanceWithExplicitOrdering(
              Class<E> enumClass, Policy policy) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 16.2K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

        }
    
        @Override
        protected Queue<T> delegate() {
          return mmHeap;
        }
    
        @Override
        public @Nullable T poll() {
          return mmHeap.pollLast();
        }
      }
    
      public enum HeapType {
        MIN_MAX {
          @Override
          public Queue<Integer> create(Comparator<Integer> comparator) {
            return MinMaxPriorityQueue.orderedBy(comparator).create();
          }
        },
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
Back to Top