Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 145 for data32 (0.22 sec)

  1. tests/test_tutorial/test_websockets/test_tutorial003.py

            data1 = connection.receive_text()
            assert data1 == "You wrote: Hello from 1234"
            data2 = connection_two.receive_text()
            client1_says = "Client #1234 says: Hello from 1234"
            assert data2 == client1_says
            data1 = connection.receive_text()
            assert data1 == client1_says
            connection_two.close()
            data1 = connection.receive_text()
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jul 29 09:26:07 UTC 2021
    - 872 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_websockets/test_tutorial003_py39.py

            data1 = connection.receive_text()
            assert data1 == "You wrote: Hello from 1234"
            data2 = connection_two.receive_text()
            client1_says = "Client #1234 says: Hello from 1234"
            assert data2 == client1_says
            data1 = connection.receive_text()
            assert data1 == client1_says
            connection_two.close()
            data1 = connection.receive_text()
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. pkg/kubelet/util/store/filestore_test.go

    	testCases := []struct {
    		key       string
    		data      string
    		expectErr bool
    	}{
    		{
    			"id1",
    			"data1",
    			false,
    		},
    		{
    			"id2",
    			"data2",
    			false,
    		},
    		{
    			"/id1",
    			"data1",
    			true,
    		},
    		{
    			".id1",
    			"data1",
    			true,
    		},
    		{
    			"   ",
    			"data2",
    			true,
    		},
    		{
    			"___",
    			"data2",
    			true,
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 24 13:51:34 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. src/crypto/rc4/rc4_test.go

    	c2b, _ := NewCipher(golden[1].key)
    	data2 := make([]byte, 1<<20)
    	c2a.XORKeyStream(data2, data2)
    	c2b.XORKeyStream(data2, data2)
    
    	if !bytes.Equal(data1, data2) {
    		t.Fatalf("bad block")
    	}
    }
    
    func benchmark(b *testing.B, size int64) {
    	buf := make([]byte, size)
    	c, err := NewCipher(golden[0].key)
    	if err != nil {
    		panic(err)
    	}
    	b.SetBytes(size)
    
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 21 19:49:06 UTC 2018
    - 4.3K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

            Metadata(
                kind = kind.id,
                metadataVersion = metadataVersion.toArray(),
                data1 = JvmProtoBufUtil.writeData(message, stringTable),
                data2 = stringTable.strings.toTypedArray(),
                extraInt = JvmBackendExtension.Default.generateMetadataExtraFlags(JvmAbiStability.STABLE) or
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/converter_test.go

    					{
    						Object: map[string]interface{}{
    							"apiVersion": "example.com/v1",
    							"kind":       "foo",
    							"other":      "data",
    						},
    					},
    					{
    						Object: map[string]interface{}{
    							"apiVersion": "example.com/v1",
    							"kind":       "foo",
    							"other":      "data2",
    						},
    					},
    				},
    			},
    			ExpectedObject: &unstructured.UnstructuredList{
    				Object: map[string]interface{}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 15:27:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. src/testing/fstest/testfs.go

    	if string(data1) != string(data2) {
    		t.errorf("%s: %s: different data returned\n\t%q\n\t%q", file, desc, data1, data2)
    		return
    	}
    }
    
    // checkBadPath checks that various invalid forms of file's name cannot be opened using t.fsys.Open.
    func (t *fsTester) checkOpen(file string) {
    	t.checkBadPath(file, "Open", func(file string) error {
    		f, err := t.fsys.Open(file)
    		if err == nil {
    			f.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/testing/testng-groupbyinstances/kotlin/src/test/java/org/gradle/testng/TestFactory.java

    public class TestFactory {
    
        @DataProvider(name = "data")
        public static Object[][] provide() {
            return new Object[][] {
                { "data1" },
                { "data2" }
            };
        }
    
        private String data;
    
        @Factory(dataProvider = "data")
        public TestFactory(String data) {
            this.data = data;
        }
    
        @BeforeClass
        public void beforeClass() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. src/archive/tar/reader_test.go

    		{data2[:1200], 1, io.EOF},
    		{data2[:1535], 1, io.EOF},
    		{data2[:1536], 1, io.EOF}, // Exact end of padding
    		{data2[:1536] + trash[:1], 1, io.ErrUnexpectedEOF},
    		{data2[:1536] + trash[:511], 1, io.ErrUnexpectedEOF},
    		{data2[:1536] + trash, 1, ErrHeader},
    		{data2[:2048], 1, io.EOF}, // Exactly 1 empty block
    		{data2[:2048] + trash[:1], 1, io.ErrUnexpectedEOF},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractPathSensitivityIntegrationSpec.groovy

        }
    
        def "single source file moved within hierarchy with #pathSensitive as input is loaded from cache: #expectedOutcome"() {
            given:
            file("src/data1").createDir()
            file("src/data2").createDir()
            file("src/data1/input.txt").text = "input"
    
            declareTestTaskWithPathSensitivity(pathSensitive)
    
            buildFile << """
                test {
                    sources = fileTree("src")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 6.1K bytes
    - Viewed (0)
Back to top