Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 461 for enums (0.04 seconds)

  1. guava/src/com/google/common/collect/CollectCollectors.java

            EnumSetAccumulator::toImmutableSet,
            Collector.Characteristics.UNORDERED);
      }
    
      private static final class EnumSetAccumulator<E extends Enum<E>> {
        @SuppressWarnings({"rawtypes", "unchecked"})
        static final Collector<Enum<?>, ?, ImmutableSet<? extends Enum<?>>> TO_IMMUTABLE_ENUM_SET =
            (Collector) toImmutableEnumSetGeneric();
    
        private @Nullable EnumSet<E> set;
    
        void add(E e) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  2. docs/de/docs/tutorial/path-params.md

    ### Eine `Enum`-Klasse erstellen { #create-an-enum-class }
    
    Importieren Sie `Enum` und erstellen Sie eine Unterklasse, die von `str` und `Enum` erbt.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  3. tests/test_jsonable_encoder.py

    import warnings
    from collections import deque
    from dataclasses import dataclass
    from datetime import datetime, timezone
    from decimal import Decimal
    from enum import Enum
    from math import isinf, isnan
    from pathlib import PurePath, PurePosixPath, PureWindowsPath
    from typing import Optional, TypedDict
    
    import pytest
    from fastapi._compat import Undefined
    from fastapi.encoders import jsonable_encoder
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. docs/debugging/hash-set/main.go

    	if cardinality <= 0 {
    		// Returns an empty int slice for cardinality < 0.
    		return nil
    	}
    
    	nums := make([]int, cardinality)
    	keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable)
    
    	start := int(keyCrc % uint32(cardinality))
    	for i := 1; i <= cardinality; i++ {
    		nums[i-1] = 1 + ((start + i) % cardinality)
    	}
    	return nums
    }
    
    var (
    	file, object, deploymentID, prefix string
    	setCount, shards                   int
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Click Count (0)
  5. fastapi/openapi/models.py

    from collections.abc import Iterable, Mapping
    from enum import Enum
    from typing import Annotated, Any, Callable, Optional, Union
    
    from fastapi._compat import with_info_plain_validator_function
    from fastapi.logger import logger
    from pydantic import (
        AnyUrl,
        BaseModel,
        Field,
        GetJsonSchemaHandler,
    )
    from typing_extensions import Literal, TypedDict
    from typing_extensions import deprecated as typing_deprecated
    
    try:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/GradleModuleApiAttribute.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.basics
    
    import org.gradle.api.attributes.Attribute
    
    
    enum class GradleModuleApiAttribute {
        API,
        IMPLEMENTATION;
    
        companion object {
            val attribute = Attribute.of(GradleModuleApiAttribute::class.java)
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 864 bytes
    - Click Count (0)
  7. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithInnerTypes.groovy

    package org.gradle.test
    
    import org.gradle.test.sub2.GroovyInterface
    
    class GroovyClassWithInnerTypes implements GroovyInterface {
        /**
         * This is an inner enum.
         */
        enum InnerEnum {}
    
        /**
         * This is an inner class.
         */
        static class InnerClass {
            InnerEnum enumProp
    
            /**
             * This is an inner inner class.
             */
            class AnotherInner {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 609 bytes
    - Click Count (0)
  8. android/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: Wed Dec 16 19:54:45 GMT 2020
    - 2K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/AnEnum.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A sample enumerated type we use for testing.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public enum AnEnum {
      A,
      B,
      C,
      D,
      E,
      F
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 854 bytes
    - Click Count (0)
  10. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/model/License.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.modules.model
    
    
    enum class License(val displayName: String) {
        Apache2("Apache 2.0"),
        BSD3("3-Clause BSD"),
        BSDStyle("BSD-style"),
        CDDL("CDDL"),
        EDL("Eclipse Distribution License 1.0"),
        EPL("Eclipse Public License 1.0"),
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jan 08 10:41:04 GMT 2021
    - 922 bytes
    - Click Count (0)
Back to Top