Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,383 for wereld (0.2 sec)

  1. src/io/pipe_test.go

    func TestPipe1(t *testing.T) {
    	c := make(chan int)
    	r, w := Pipe()
    	var buf = make([]byte, 64)
    	go checkWrite(t, w, []byte("hello, world"), c)
    	n, err := r.Read(buf)
    	if err != nil {
    		t.Errorf("read: %v", err)
    	} else if n != 12 || string(buf[0:12]) != "hello, world" {
    		t.Errorf("bad read: got %q", buf[0:n])
    	}
    	<-c
    	r.Close()
    	w.Close()
    }
    
    func reader(t *testing.T, r Reader, c chan int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitIntegrationTest.groovy

            failure.assertHasCause("There were failing tests. See the results at: ")
    
            and:
            executedAndNotSkipped ":compileHelloTestCUnitExeHelloC", ":compileHelloTestCUnitExeHelloTestC",
                ":linkHelloTestCUnitExe", ":helloTestCUnitExe", ":runHelloTestCUnitExe"
            contains "There were test failures:"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17K bytes
    - Viewed (0)
  3. doc/go_mem.html

    </p>
    
    <p>
    For example, in this program:
    </p>
    
    <pre>
    var a string
    
    func f() {
    	print(a)
    }
    
    func hello() {
    	a = "hello, world"
    	go f()
    }
    </pre>
    
    <p>
    calling <code>hello</code> will print <code>"hello, world"</code>
    at some point in the future (perhaps after <code>hello</code> has returned).
    </p>
    
    <h3 id="goexit">Goroutine destruction</h3>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. src/io/fs/readfile_test.go

    	data, err := ReadFile(readFileOnly{testFsys}, "hello.txt")
    	if string(data) != "hello, world" || err != nil {
    		t.Fatalf(`ReadFile(readFileOnly, "hello.txt") = %q, %v, want %q, nil`, data, err, "hello, world")
    	}
    
    	// Test that ReadFile uses Open when the method is not present.
    	data, err = ReadFile(openOnly{testFsys}, "hello.txt")
    	if string(data) != "hello, world" || err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 16:25:41 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. src/runtime/testdata/testprog/lockosthread.go

    	runtime.UnlockOSThread()
    	println("OK")
    }
    
    func LockOSThreadTemplateThreadRace() {
    	// This test attempts to reproduce the race described in
    	// golang.org/issue/38931. To do so, we must have a stop-the-world
    	// (achieved via ReadMemStats) racing with two LockOSThread calls.
    	//
    	// While this test attempts to line up the timing, it is only expected
    	// to fail (and thus hang) around 2% of the time if the race is
    	// present.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/testKit/spockQuickstart/groovy/src/test/groovy/org/gradle/sample/BuildLogicFunctionalTest.groovy

            buildFile = new File(testProjectDir, 'build.gradle')
        }
    
        def "hello world task prints hello world"() {
            given:
            settingsFile << "rootProject.name = 'hello-world'"
            buildFile << """
                task helloWorld {
                    doLast {
                        println 'Hello world!'
                    }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. src/encoding/gob/decode.go

    	if !ok {
    		inProgress[wireId] = &op
    		if wireId == tInterface {
    			// Special case because it's a method: the ignored item might
    			// define types and we need to record their state in the decoder.
    			op = func(i *decInstr, state *decoderState, value reflect.Value) {
    				state.dec.ignoreInterface(state)
    			}
    			return &op
    		}
    		// Special cases
    		wire := dec.wireType[wireId]
    		switch {
    		case wire == nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
  8. src/encoding/json/fold_test.go

    	for _, ss := range [][2]string{
    		{"", ""},
    		{"123abc", "123ABC"},
    		{"αβδ", "ΑΒΔ"},
    		{"abc", "xyz"},
    		{"abc", "XYZ"},
    		{"1", "2"},
    		{"hello, world!", "hello, world!"},
    		{"hello, world!", "Hello, World!"},
    		{"hello, world!", "HELLO, WORLD!"},
    		{"hello, world!", "jello, world!"},
    		{"γειά, κόσμε!", "γειά, κόσμε!"},
    		{"γειά, κόσμε!", "Γειά, Κόσμε!"},
    		{"γειά, κόσμε!", "ΓΕΙΆ, ΚΌΣΜΕ!"},
    		{"γειά, κόσμε!", "ΛΕΙΆ, ΚΌΣΜΕ!"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 27 17:37:27 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. pkg/kubelet/server/server_websocket_test.go

    			require.NoError(t, err, "parse port")
    			p16 := uint16(p)
    
    			channel, data, err := wsRead(ws)
    			require.NoError(t, err, "read")
    			assert.Equal(t, dataChannel, int(channel), "channel")
    			assert.Len(t, data, binary.Size(p16), "data size")
    			assert.Equal(t, p16, binary.LittleEndian.Uint16(data), "data")
    
    			channel, data, err = wsRead(ws)
    			assert.NoError(t, err, "read")
    			assert.Equal(t, errorChannel, int(channel), "channel")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 06:08:18 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  10. pkg/kubelet/pluginmanager/reconciler/reconciler.go

    			unregisterPlugin = true
    		} else {
    			// We also need to unregister the plugins that exist in both actual state of world
    			// and desired state of world cache, but the timestamps don't match.
    			// Iterate through desired state of world plugins and see if there's any plugin
    			// with the same socket path but different timestamp.
    			for _, dswPlugin := range rc.desiredStateOfWorld.GetPluginsToRegister() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 6.2K bytes
    - Viewed (0)
Back to top