Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for Ord (0.03 sec)

  1. 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)
  2. docs/pt/docs/tutorial/path-params-numeric-validations.md

    O Python não vai fazer nada com esse `*`, mas ele vai saber que a partir dali os parâmetros seguintes deverão ser chamados argumentos nomeados (pares chave-valor), também conhecidos como <abbr title="Do inglês: K-ey W-ord Arg-uments"><code>kwargs</code></abbr>. Mesmo que eles não possuam um valor padrão.
    
    ```Python hl_lines="7"
    {!../../../docs_src/path_params_numeric_validations/tutorial003.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. src/go/constant/value.go

    // or invalid (say, nil) both results are that value.
    func match(x, y Value) (_, _ Value) {
    	switch ox, oy := ord(x), ord(y); {
    	case ox < oy:
    		x, y = match0(x, y)
    	case ox > oy:
    		y, x = match0(y, x)
    	}
    	return x, y
    }
    
    // match0 must only be called by match.
    // Invariant: ord(x) < ord(y)
    func match0(x, y Value) (_, _ Value) {
    	// Prefer to return the original x and y arguments when possible,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. docs/ko/docs/tutorial/path-params-numeric-validations.md

    `Query`나 아무런 기본값으로도 `q` 경로 매개변수를 선언하고 싶지 않지만 `Path`를 사용하여 경로 매개변수를 `item_id` 다른 순서로 선언하고 싶다면, 파이썬은 이를 위한 작고 특별한 문법이 있습니다.
    
    `*`를 함수의 첫 번째 매개변수로 전달하세요.
    
    파이썬은 `*`으로 아무런 행동도 하지 않지만, 따르는 매개변수들은 <abbr title="유래: K-ey W-ord Arg-uments"><code>kwargs</code></abbr>로도 알려진 키워드 인자(키-값 쌍)여야 함을 인지합니다. 기본값을 가지고 있지 않더라도 그렇습니다.
    
    ```Python hl_lines="7"
    {!../../../docs_src/path_params_numeric_validations/tutorial003.py!}
    ```
    
    ## 숫자 검증: 크거나 같음
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/path-params-numeric-validations.md

    ## 按需对参数排序的技巧
    
    如果你想不使用 `Query` 声明没有默认值的查询参数 `q`,同时使用 `Path` 声明路径参数 `item_id`,并使它们的顺序与上面不同,Python 对此有一些特殊的语法。
    
    传递 `*` 作为函数的第一个参数。
    
    Python 不会对该 `*` 做任何事情,但是它将知道之后的所有参数都应作为关键字参数(键值对),也被称为 <abbr title="来自:K-ey W-ord Arg-uments"><code>kwargs</code></abbr>,来调用。即使它们没有默认值。
    
    ```Python hl_lines="7"
    {!../../../docs_src/path_params_numeric_validations/tutorial003.py!}
    ```
    
    ## 数值校验:大于等于
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 6.3K 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/cmd/internal/objfile/disasm.go

    		}
    		f(pc, uint64(size), file, line, text)
    		pc += uint64(size)
    	}
    }
    
    type lookupFunc = func(addr uint64) (sym string, base uint64)
    type disasmFunc func(code []byte, pc uint64, lookup lookupFunc, ord binary.ByteOrder, _ bool) (text string, size int)
    
    func disasm_386(code []byte, pc uint64, lookup lookupFunc, _ binary.ByteOrder, gnuAsm bool) (string, int) {
    	return disasm_x86(code, pc, lookup, 32, gnuAsm)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  10. 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)
Back to top