Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 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. test/typeparam/mdempsky/15.go

    func (X[T]) XGood() {}
    
    type W struct{ X[int] }
    
    func main() {
    	_ = E.EGood
    	_ = E.EBad
    
    	TestE[E]()
    
    	_ = X[int].EGood
    	_ = X[int].EBad
    	_ = X[int].XGood
    	_ = X[int].XBad
    
    	TestE[X[int]]()
    	TestX[X[int]]()
    
    	_ = W.EGood
    	_ = W.EBad
    	_ = W.XGood
    	_ = W.XBad
    
    	TestE[W]()
    	TestX[W]()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulatorTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    @PlexusTest
    class DefaultMavenExecutionRequestPopulatorTest {
        @Inject
        MavenExecutionRequestPopulator testee;
    
        @Test
        void testPluginRepositoryInjection() throws Exception {
            MavenExecutionRequest request = new DefaultMavenExecutionRequest();
    
            Repository r = new Repository();
            r.setId("test");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractApiGroovyCompilerIntegrationSpec/canUseCustomFileExtensions/src/test/groovy/Person.spec

    class Person {
        @org.junit.Test
        void testMe() {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 58 bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top