Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for TestTe (0.14 sec)

  1. src/crypto/aes/aes_test.go

    		}
    		if j := sbox1[sbox0[i]]; j != byte(i) {
    			t.Errorf("sbox1[sbox0[%#x]] = %#x", i, j)
    		}
    	}
    }
    
    // Test that encryption tables are correct.
    // (Can adapt this code to generate them too.)
    func TestTe(t *testing.T) {
    	for i := 0; i < 256; i++ {
    		s := uint32(sbox0[i])
    		s2 := mul(s, 2)
    		s3 := mul(s, 3)
    		w := s2<<24 | s<<16 | s<<8 | s3
    		te := [][256]uint32{te0, te1, te2, te3}
    		for j := 0; j < 4; j++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 14:58:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. src/math/rand/rand_test.go

    	}
    	return
    }
    
    func initExp() (testKe []uint32, testWe, testFe []float32) {
    	const m2 = 1 << 32
    	var (
    		de float64 = re
    		te         = de
    		ve float64 = 3.9496598225815571993e-3
    	)
    
    	testKe = make([]uint32, 256)
    	testWe = make([]float32, 256)
    	testFe = make([]float32, 256)
    
    	q := ve / math.Exp(-de)
    	testKe[0] = uint32((de / q) * m2)
    	testKe[1] = 0
    	testWe[0] = float32(q / m2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. src/math/rand/v2/rand_test.go

    	}
    	return
    }
    
    func initExp() (testKe []uint32, testWe, testFe []float32) {
    	const m2 = 1 << 32
    	var (
    		de float64 = re
    		te         = de
    		ve float64 = 3.9496598225815571993e-3
    	)
    
    	testKe = make([]uint32, 256)
    	testWe = make([]float32, 256)
    	testFe = make([]float32, 256)
    
    	q := ve / math.Exp(-de)
    	testKe[0] = uint32((de / q) * m2)
    	testKe[1] = 0
    	testWe[0] = float32(q / m2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/events.md

    Você poderia carregá-lo no nível mais alto do módulo/arquivo, mas isso também poderia significaria **carregar o modelo** mesmo se você estiver executando um simples teste automatizado, então esse teste poderia ser **lento** porque teria que esperar o carregamento do modelo antes de ser capaz de executar uma parte independente do código.
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/encoder.md

        ```Python hl_lines="4  21"
        {!> ../../../docs_src/encoder/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="5  22"
        {!> ../../../docs_src/encoder/tutorial001.py!}
        ```
    
    Neste exemplo, ele converteria o modelo Pydantic em um `dict`, e o `datetime` em um `str`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. docs/pt/docs/python-types.md

    ```Python hl_lines="1 4"
    {!../../../docs_src/python_types/tutorial008.py!}
    ```
    
    Isso significa que:
    
    * A variável `prices` é um dict`:
        * As chaves deste `dict` são do tipo `str` (digamos, o nome de cada item).
        * Os valores deste `dict` são do tipo `float` (digamos, o preço de cada item).
    
    #### `Opcional`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/security/first-steps.md

    ```
    
    </div>
    
    ## Verifique-o
    
    Vá até a documentação interativa em: <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    Você verá algo deste tipo:
    
    <img src="/img/tutorial/security/image01.png">
    
    !!! check "Botão de Autorizar!"
    	Você já tem um novo "botão de autorizar!".
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. docs/de/docs/history-design-future.md

    Es war beispielsweise klar, dass es idealerweise auf Standard-Python-Typhinweisen basieren sollte.
    
    Der beste Ansatz bestand außerdem darin, bereits bestehende Standards zu nutzen.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:10:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/first-steps.md

    ```Python hl_lines="3"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Aqui, a variável `app` será uma "instância" da classe `FastAPI`.
    
    Este será o principal ponto de interação para criar toda a sua API.
    
    Este `app` é o mesmo referenciado por `uvicorn` no comando:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/handling-errors.md

    O benefício de lançar uma exceção em vez de retornar um valor ficará mais evidente na seção sobre Dependências e Segurança.
    
    Neste exemplo, quando o cliente pede, na requisição, por um item cujo ID não existe, a exceção com o status code `404` é lançada:
    
    ```Python hl_lines="11"
    {!../../../docs_src/handling_errors/tutorial001.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top