Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 77 for Enumeration (0.11 sec)

  1. src/cmd/asm/internal/arch/arch.go

    	RSP
    	RPC
    )
    
    // Arch wraps the link architecture object with more architecture-specific information.
    type Arch struct {
    	*obj.LinkArch
    	// Map of instruction names to enumeration.
    	Instructions map[string]obj.As
    	// Map of register names to enumeration.
    	Register map[string]int16
    	// Table of register prefix names. These are things like R for R(0) and SPR for SPR(268).
    	RegisterPrefix map[string]bool
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 24 12:32:56 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/path-params.md

    ```Python hl_lines="6  11"
    {!../../docs_src/path_params/tutorial003.py!}
    ```
    
    否则,`/users/{user_id}` 将匹配 `/users/me`,FastAPI 会**认为**正在接收值为 `"me"` 的 `user_id` 参数。
    
    ## 预设值
    
    路径操作使用 Python 的 <abbr title="Enumeration">`Enum`</abbr> 类型接收预设的*路径参数*。
    
    ### 创建 `Enum` 类
    
    导入 `Enum` 并创建继承自 `str` 和 `Enum` 的子类。
    
    通过从 `str` 继承,API 文档就能把值的类型定义为**字符串**,并且能正确渲染。
    
    然后,创建包含固定值的类属性,这些固定值是可用的有效值:
    
    ```Python hl_lines="1  6-9"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/path-params.md

    ```
    
    それ以外の場合、 `/users/{users_id}` は `/users/me` としてもマッチします。値が「"me"」であるパラメータ `user_id` を受け取ると「考え」ます。
    
    ## 定義済みの値
    
    *パスパラメータ*を受け取る *path operation* をもち、有効な*パスパラメータ*の値を事前に定義したい場合は、標準のPython <abbr title="Enumeration">`Enum`</abbr> を利用できます。
    
    ### `Enum` クラスの作成
    
    `Enum` をインポートし、 `str` と `Enum` を継承したサブクラスを作成します。
    
    `str` を継承することで、APIドキュメントは値が `文字列` でなければいけないことを知り、正確にレンダリングできるようになります。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

    import java.net.Proxy;
    import java.net.Proxy.Type;
    import java.net.SocketAddress;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.Date;
    import java.util.Enumeration;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.ConcurrentHashMap;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            int n, level;
            String name;
    
            Config.setProperty( "jcifs.smb1.smb.client.soTimeout", "600000" );
            Config.setProperty( "jcifs.smb1.smb.client.attrExpirationPeriod", "300000" );
    
            Enumeration e = getInitParameterNames();
            while( e.hasMoreElements() ) {
                name = (String)e.nextElement();
                if( name.startsWith( "jcifs.smb1." )) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          this.millis = millis;
          this.label = label;
        }
    
        @Override
        public String toString() {
          return label;
        }
      }
    
      /** Convenient subsets of the {@link Timeout} enumeration for specifying scenario outcomes. */
      private enum TimeoutsToUse {
        ANY(Timeout.values()),
        PAST(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO),
        FUTURE(Timeout.SMALL, Timeout.MAX),
        SMALL(Timeout.SMALL),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	cmd.PersistentFlags().StringVar(&workloadsNamespace, "workload-namespace", "",
    		"Filter workloads by namespace field")
    
    	return cmd
    }
    
    // Level is an enumeration of all supported log levels.
    type Level int
    
    const (
    	defaultLoggerName = "level"
    )
    
    const (
    	// OffLevel disables logging
    	OffLevel Level = iota
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 19:17:45 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          this.millis = millis;
          this.label = label;
        }
    
        @Override
        public String toString() {
          return label;
        }
      }
    
      /** Convenient subsets of the {@link Timeout} enumeration for specifying scenario outcomes. */
      private enum TimeoutsToUse {
        ANY(Timeout.values()),
        PAST(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO),
        FUTURE(Timeout.SMALL, Timeout.MAX),
        SMALL(Timeout.SMALL),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

        ImmutableMap.Builder<String, String> builder = ImmutableMap.builder();
    
        for (Enumeration<?> e = properties.propertyNames(); e.hasMoreElements(); ) {
          /*
           * requireNonNull is safe because propertyNames contains only non-null elements.
           *
           * Accordingly, we have it annotated as returning `Enumeration<? extends Object>` in our
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Maps.java

        ImmutableMap.Builder<String, String> builder = ImmutableMap.builder();
    
        for (Enumeration<?> e = properties.propertyNames(); e.hasMoreElements(); ) {
          /*
           * requireNonNull is safe because propertyNames contains only non-null elements.
           *
           * Accordingly, we have it annotated as returning `Enumeration<? extends Object>` in our
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top