Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 630 for Receive (0.23 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DefaultDaemonConnectionTest.groovy

            def result = []
            result << daemonConnection.receive(20, TimeUnit.SECONDS)
            result << daemonConnection.receive(20, TimeUnit.SECONDS)
            result << daemonConnection.receive(20, TimeUnit.SECONDS)
            daemonConnection.stop()
    
            then:
            result*.message == ["incoming1", "incoming2", "incoming3"]
        }
    
        def "receive blocks until message available"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. pkg/proxy/util/utils_test.go

    			expectCorrect:   nil,
    			expectIncorrect: nil,
    		},
    		{
    			desc:            "want IPv4 and receive IPv6",
    			ipString:        []string{"fd00:20::1"},
    			wantIPv6:        false,
    			expectCorrect:   nil,
    			expectIncorrect: []string{"fd00:20::1"},
    		},
    		{
    			desc:            "want IPv6 and receive IPv4",
    			ipString:        []string{"192.168.200.2"},
    			wantIPv6:        true,
    			expectCorrect:   nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonClientTest.groovy

            1 * connection.dispatch({ it instanceof Build })
            1 * connection.receive() >> Stub(DaemonUnavailable)
            1 * connection.dispatch({ it instanceof Finished })
            1 * connection.stop()
            _ * connection2.daemon >> Stub(DaemonConnectDetails)
            2 * connection2.receive() >>> [Stub(BuildStarted), new Success(resultMessage)]
            0 * connection._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DefaultDaemonConnection.java

            // 2. Stop the connection. This means that the thread receiving from the connection will receive a null and finish up.
            // 3. Stop receiving incoming messages. Blocks until the receive thread has finished. This will notify the stdin and receive queues to signal end of input.
            // 4. Stop the receive queue, to unblock any threads blocked in receive().
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TaskProgressCrossVersionSpec.groovy

            ex.causes == [failure]
    
            and: "expected events received"
            resultsOfFirstListener.size() == 1
            resultsOfLastListener.size() == 1
    
            and: "build execution is successful"
            assertHasBuildSuccessfulLogging()
        }
    
        def "receive task progress events for successful tasks"() {
            given:
            goodCode()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go

    	supportsStreamClose := protocolSupportsStreamClose(conn.selectedProtocol)
    
    	for {
    		conn.resetTimeout()
    		var data []byte
    		if err := websocket.Message.Receive(ws, &data); err != nil {
    			if err != io.EOF {
    				klog.Errorf("Error on socket receive: %v", err)
    			}
    			break
    		}
    		if len(data) == 0 {
    			continue
    		}
    		if supportsStreamClose && data[0] == remotecommand.StreamClose {
    			if len(data) != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy

                'Did not receive all expected requests. Waiting for 1 further requests, received [], released [], not yet received [GET /a]',
                'Did not receive all expected requests. Waiting for 1 further requests, received [], released [], not yet received [GET /b]',
                'Did not receive all expected requests. Waiting for 1 further requests, received [], released [], not yet received [GET /c, GET /d]',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

       * synchronization to safely receive incoming data frames, it is not intended for use by multiple
       * readers.
       */
      inner class FramingSource internal constructor(
        /** Maximum number of bytes to buffer before reporting a flow control error. */
        private val maxByteCount: Long,
        /**
         * True if either side has cleanly shut down this stream. We will receive no more bytes beyond
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressCrossVersionSpec.groovy

            ex.causes == [failure]
    
            and: "expected events received"
            resultsOfFirstListener.size() == 1
            resultsOfLastListener.size() == 1
    
            and: "build execution is successful"
            assertHasBuildSuccessfulLogging()
        }
    
        def "receive test progress events for successful test run"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. src/runtime/chan.go

    	chanrecv(c, elem, true)
    }
    
    //go:nosplit
    func chanrecv2(c *hchan, elem unsafe.Pointer) (received bool) {
    	_, received = chanrecv(c, elem, true)
    	return
    }
    
    // chanrecv receives on channel c and writes the received data to ep.
    // ep may be nil, in which case received data is ignored.
    // If block == false and no elements are available, returns (false, false).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top