Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 450 for enums (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/pt/docs/tutorial/path-params.md

    ### Crie uma classe `Enum` { #create-an-enum-class }
    
    Importe `Enum` e crie uma subclasse que herde de `str` e de `Enum`.
    
    Ao herdar de `str`, a documentação da API saberá que os valores devem ser do tipo `string` e poderá renderizá-los corretamente.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableEnumSet.java

     *
     * @author Jared Levy
     */
    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    final class ImmutableEnumSet<E extends Enum<E>> extends ImmutableSet<E> {
      static <E extends Enum<E>> ImmutableSet<E> asImmutable(EnumSet<E> set) {
        switch (set.size()) {
          case 0:
            return ImmutableSet.of();
          case 1:
            return ImmutableSet.of(getOnlyElement(set));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerStatus.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler;
    
    /**
     * Enum representing the status of a crawler.
     * It can be INITIALIZING, RUNNING, or DONE.
     */
    public enum CrawlerStatus {
        /**
         * The crawler is initializing.
         */
        INITIALIZING,
    
        /**
         * The crawler is currently running.
         */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 997 bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

     *
     */
    public interface ExecutionEvent {
    
        /**
         * The possible types of execution events.
         *
         * Note: do not modify this enum, or, make sure that this enum and
         * {@link org.apache.maven.api.EventType} have same elements in same order.
         */
        enum Type {
            ProjectDiscoveryStarted,
            SessionStarted,
            SessionEnded,
            ProjectSkipped,
            ProjectStarted,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 29 20:53:26 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/storage/StorageType.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.storage;
    
    /**
     * Enum for supported storage types.
     */
    public enum StorageType {
    
        /** Amazon S3 */
        S3,
    
        /** Google Cloud Storage */
        GCS,
    
        /** S3-compatible storage (MinIO, etc.) */
        S3_COMPAT
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 864 bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/sso/SsoResponseType.java

     */
    package org.codelibs.fess.sso;
    
    /**
     * Represents the type of SSO (Single Sign-On) response being requested.
     * This enum is used to differentiate between various SSO operations,
     * such as metadata requests and logout actions.
     */
    public enum SsoResponseType {
        /**
         * Indicates a request for SSO metadata, which is typically used for
         * configuration and discovery in protocols like SAML.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  7. fastapi/openapi/models.py

    from collections.abc import Callable, Iterable, Mapping
    from enum import Enum
    from typing import Annotated, Any, Literal, 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 TypedDict
    from typing_extensions import deprecated as typing_deprecated
    
    try:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/path-params.md

    ### Créer une classe `Enum` { #create-an-enum-class }
    
    Importez `Enum` et créez une sous-classe qui hérite de `str` et de `Enum`.
    
    En héritant de `str`, la documentation de l'API saura que les valeurs doivent être de type `string` et pourra donc s'afficher correctement.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  9. 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/path-params.md

    由于路径首先匹配,始终会使用第一个定义的。
    
    ## 预设值 { #predefined-values }
    
    路径操作使用 Python 的 <abbr title="Enumeration - 枚举">`Enum`</abbr> 类型接收预设的路径参数。
    
    ### 创建 `Enum` 类 { #create-an-enum-class }
    
    导入 `Enum` 并创建继承自 `str` 和 `Enum` 的子类。
    
    通过从 `str` 继承,API 文档就能把值的类型定义为**字符串**,并且能正确渲染。
    
    然后,创建包含固定值的类属性,这些固定值是可用的有效值:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[1,6:9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.6K bytes
    - Click Count (0)
Back to Top