Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for enumeration (0.18 sec)

  1. src/runtime/traceruntime.go

    //
    // nosplit because traceAcquire is nosplit.
    //
    //go:nosplit
    func lockRankMayTraceFlush() {
    	lockWithRankMayAcquire(&trace.lock, getLockRank(&trace.lock))
    }
    
    // traceBlockReason is an enumeration of reasons a goroutine might block.
    // This is the interface the rest of the runtime uses to tell the
    // tracer why a goroutine blocked. The tracer then propagates this information
    // into the trace however it sees fit.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/path-params.md

    ```
    
    그렇지 않으면 `/users/{user_id}`는 `/users/me` 요청 또한 매개변수 `user_id`의 값이 `"me"`인 것으로 "생각하게" 됩니다.
    
    ## 사전정의 값
    
    만약 *경로 매개변수*를 받는 *경로 작동*이 있지만, *경로 매개변수*로 가능한 값들을 미리 정의하고 싶다면 파이썬 표준 <abbr title="열거형(Enumeration)">`Enum`</abbr>을 사용할 수 있습니다.
    
    ### `Enum` 클래스 생성
    
    `Enum`을 임포트하고 `str`과 `Enum`을 상속하는 서브 클래스를 만듭니다.
    
    `str`을 상속함으로써 API 문서는 값이 `string` 형이어야 하는 것을 알게 되고 이는 문서에 제대로 표시됩니다.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.8K 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: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. pilot/pkg/model/endpointshards.go

    			delete(e.shardsBySvc[serviceName], namespace)
    		}
    		if len(e.shardsBySvc[serviceName]) == 0 {
    			delete(e.shardsBySvc, serviceName)
    		}
    	}
    	epShards.Unlock()
    }
    
    // PushType is an enumeration that decides what type push we should do when we get EDS update.
    type PushType int
    
    const (
    	// NoPush does not push any thing.
    	NoPush PushType = iota
    	// IncrementalPush just pushes endpoints.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy

                abstract class GuavaVersionWorkAction extends TestWorkAction {
                    @Inject
                    public GuavaVersionWorkAction() { }
    
                    public void execute() {
                        Enumeration<URL> resources = this.getClass().getClassLoader()
                                .getResources("META-INF/MANIFEST.MF")
                        while (resources.hasMoreElements()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 31K bytes
    - Viewed (0)
  6. src/image/png/writer.go

    	// This is the same heuristic that libpng uses, although the filters are attempted in order of
    	// estimated most likely to be minimal (ftUp, ftPaeth, ftNone, ftSub, ftAverage), rather than
    	// in their enumeration order (ftNone, ftSub, ftUp, ftAverage, ftPaeth).
    	cdat0 := cr[0][1:]
    	cdat1 := cr[1][1:]
    	cdat2 := cr[2][1:]
    	cdat3 := cr[3][1:]
    	cdat4 := cr[4][1:]
    	pdat := pr[1:]
    	n := len(cdat0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. 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: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 22K bytes
    - Viewed (0)
  10. src/internal/abi/type.go

    	TFlag       TFlag   // extra type information flags
    	Align_      uint8   // alignment of variable with this type
    	FieldAlign_ uint8   // alignment of struct field with this type
    	Kind_       Kind    // enumeration for C
    	// function for comparing objects of this type
    	// (ptr to object A, ptr to object B) -> ==?
    	Equal func(unsafe.Pointer, unsafe.Pointer) bool
    	// GCData stores the GC type data for the garbage collector.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top