Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for ORD (0.03 sec)

  1. pkg/controller/statefulset/stateful_set_test.go

    			return err
    		}
    		ord := len(pods) - 1
    		if pods, err = om.setPodPending(set, ord); err != nil {
    			return err
    		}
    		pod := getPodAtOrdinal(pods, ord)
    		ssc.addPod(logger, pod)
    		fakeWorker(ssc)
    		pod = getPodAtOrdinal(pods, ord)
    		prev := *pod
    		if pods, err = om.setPodRunning(set, ord); err != nil {
    			return err
    		}
    		pod = getPodAtOrdinal(pods, ord)
    		ssc.updatePod(logger, &prev, pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  2. src/syscall/dirent_test.go

    	if len(names) != 10 {
    		t.Errorf("got %d names; expected 10", len(names))
    	}
    	for i, name := range names {
    		ord, err := strconv.Atoi(name[:1])
    		if err != nil {
    			t.Fatalf("names[%d] is non-integer %q: %v", i, names[i], err)
    		}
    		if expected := strings.Repeat(name[:1], filenameMinSize+ord); name != expected {
    			t.Errorf("names[%d] is %q (len %d); expected %q (len %d)", i, name, len(name), expected, len(expected))
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. pkg/controller/statefulset/stateful_set_control.go

    			condemned = append(condemned, pod)
    		}
    		// If the ordinal could not be parsed (ord < 0), ignore the Pod.
    	}
    
    	// for any empty indices in the sequence [0,set.Spec.Replicas) create a new Pod at the correct revision
    	for ord := getStartOrdinal(set); ord <= getEndOrdinal(set); ord++ {
    		replicaIdx := ord - getStartOrdinal(set)
    		if replicas[replicaIdx] == nil {
    			replicas[replicaIdx] = newVersionedStatefulSetPod(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  4. src/crypto/internal/nistec/p256_asm.go

    // p256OrdElement is a P-256 scalar field element in [0, ord(G)-1] in the
    // Montgomery domain (with R 2²⁵⁶) as four uint64 limbs in little-endian order.
    type p256OrdElement [4]uint64
    
    // p256OrdReduce ensures s is in the range [0, ord(G)-1].
    func p256OrdReduce(s *p256OrdElement) {
    	// Since 2 * ord(G) > 2²⁵⁶, we can just conditionally subtract ord(G),
    	// keeping the result if it doesn't underflow.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. src/crypto/ecdh/ecdh_test.go

    		k, err := curve.GenerateKey(r)
    		if err != nil {
    			t.Fatal(err)
    		}
    
    		// GenerateKey does rejection sampling. If the masking works correctly,
    		// the probability of a rejection is 1-ord(G)/2^ceil(log2(ord(G))),
    		// which for all curves is small enough (at most 2^-32, for P-256) that
    		// a bit flip is more likely to make this test fail than bad luck.
    		// Account for the extra MaybeReadByte byte, too.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 18K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/path-params-numeric-validations.md

    Pass `*`, as the first parameter of the function.
    
    Python won't do anything with that `*`, but it will know that all the following parameters should be called as keyword arguments (key-value pairs), also known as <abbr title="From: K-ey W-ord Arg-uments"><code>kwargs</code></abbr>. Even if they don't have a default value.
    
    ```Python hl_lines="7"
    {!../../../docs_src/path_params_numeric_validations/tutorial003.py!}
    ```
    
    ### Better with `Annotated`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jun 01 21:05:52 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/path-params-numeric-validations.md

    Передайте `*` в качестве первого параметра функции.
    
    Python не будет ничего делать с `*`, но он будет знать, что все следующие параметры являются именованными аргументами (парами ключ-значение), также известными как <abbr title="From: K-ey W-ord Arg-uments"><code>kwargs</code></abbr>, даже если у них нет значений по умолчанию.
    
    ```Python hl_lines="7"
    {!../../../docs_src/path_params_numeric_validations/tutorial003.py!}
    ```
    
    ### Лучше с `Annotated`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/path-params-numeric-validations.md

    ```Python hl_lines="7"
    {!../../../docs_src/path_params_numeric_validations/tutorial003.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 17:59:29 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. src/runtime/map_test.go

    			}
    			// Check that iterating over the map produces at least two different orderings.
    			ord := func() []int {
    				var s []int
    				for key := range m {
    					s = append(s, key)
    				}
    				return s
    			}
    			first := ord()
    			ok := false
    			for try := 0; try < 100; try++ {
    				if !reflect.DeepEqual(first, ord()) {
    					ok = true
    					break
    				}
    			}
    			if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/path-params-numeric-validations.md

    クエリパラメータ`q`を`Query`やデフォルト値なしで宣言し、パスパラメータ`item_id`を`Path`を用いて宣言し、それらを別の順番に並びたい場合、Pythonには少し特殊な構文が用意されています。
    
    関数の最初のパラメータとして`*`を渡します。
    
    Pythonはその`*`で何かをすることはありませんが、それ以降のすべてのパラメータがキーワード引数(キーと値のペア)として呼ばれるべきものであると知っているでしょう。それは<abbr title="From: K-ey W-ord Arg-uments"><code>kwargs</code></abbr>としても知られています。たとえデフォルト値がなくても。
    
    ```Python hl_lines="8"
    {!../../../docs_src/path_params_numeric_validations/tutorial003.py!}
    ```
    
    ## 数値の検証: 以上
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 15 15:46:32 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top