- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 198 for receiving (0.38 sec)
-
test/chan/select3.go
func main() { const async = 1 // asynchronous channels var nilch chan int closedch := make(chan int) close(closedch) // sending/receiving from a nil channel blocks testBlock(always, func() { nilch <- 7 }) testBlock(always, func() { <-nilch }) // sending/receiving from a nil channel inside a select is never selected testPanic(never, func() { select { case nilch <- 7: unreachable() default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jul 08 02:10:12 UTC 2017 - 4.1K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/Connection.java
* However, the implementations: * <ul> * <li>should allow separate threads for dispatching and receiving, i.e. single thread that dispatches * and a different single thread that receives should be perfectly safe</li> * <li>should allow stopping or requesting stopping from a different thread than receiving/dispatching</li> * <li>don't guarantee allowing multiple threads dispatching</li> * </ul> */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 1.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/FlowControlListener.kt
interface FlowControlListener { /** * Notification that the receiving stream flow control window has changed. * [WindowCounter] generally carries the client view of total and acked bytes. */ fun receivingStreamWindowChanged( streamId: Int, windowCounter: WindowCounter, bufferSize: Long, ) /** * Notification that the receiving connection flow control window has changed.
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
releasenotes/notes/50138.yaml
apiVersion: release-notes/v2 kind: bug-fix area: traffic-management releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 18:33:02 UTC 2024 - 173 bytes - Viewed (0) -
subprojects/build-events/src/main/java/org/gradle/build/event/package-info.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Types for receiving build events. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 03 03:29:18 UTC 2019 - 694 bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/StreamFailureHandler.java
* limitations under the License. */ package org.gradle.internal.remote.internal.hub; /** * A handler for messages that fail while streaming to the peer, either on the sending side or on the receiving side */ public interface StreamFailureHandler { /** * Called when notification of a streaming failure is received on an incoming channel. */ void handleStreamFailure(Throwable t);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 984 bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/http2/Http2FlowControlConnectionListener.kt
*/ package okhttp3.internal.http2 import okhttp3.ConnectionListener import okhttp3.internal.http2.flowcontrol.WindowCounter /** * ConnectionListener that outputs CSV for flow control of client receiving streams. */ class Http2FlowControlConnectionListener : ConnectionListener(), FlowControlListener { val start = System.currentTimeMillis() override fun receivingStreamWindowChanged( streamId: Int,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/execution/TaskExecutionAdapter.java
* limitations under the License. */ package org.gradle.api.execution; import org.gradle.api.Task; import org.gradle.api.tasks.TaskState; /** * A {@link TaskExecutionListener} adapter class for receiving task execution events. * * The methods in this class are empty. This class exists as convenience for creating listener objects. */ @SuppressWarnings("deprecation")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 11:17:19 UTC 2024 - 1.1K bytes - Viewed (0) -
test/ken/chan1.go
// license that can be found in the LICENSE file. // Test communication with multiple simultaneous goroutines. package main import "runtime" const N = 1000 // sent messages const M = 10 // receiving goroutines const W = 2 // channel buffering var h [N]int // marking of send/recv func r(c chan int, m int) { for { select { case r := <-c: if h[r] != 1 { println("r", "m=", m,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 21:47:04 UTC 2012 - 879 bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/GroovyInteroperabilityTest.kt
assertEquals( "GROOVY", closure { uppercase(Locale.US) }.call("groovy") ) } @Test fun `can adapt unary null receiving function using KotlinClosure1`() { fun closure(function: String?.() -> String?) = KotlinClosure1(function) assertEquals( null, closure { null }.call(null) )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 10.1K bytes - Viewed (0)