- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 311 for Closed1 (0.07 sec)
-
internal/grid/grid_test.go
time.Sleep(time.Millisecond) } cancel() <-serverCanceled local.debugMsg(debugIsOutgoingClosed, st.muxID, func(closed bool) { if !closed { t.Error("expected outgoing closed") } else { t.Log("outgoing was closed") } }) // Drain responses and check if error propagated. err = st.Results(func(b []byte) error { return nil })
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 36.4K bytes - Viewed (0) -
internal/grid/handlers.go
// responses from the remote server. // Channel will be closed after error or when remote closes. // responses *must* be read to either an error is returned or the channel is closed. responses *Stream newResp func() Resp // Requests sent to the server. // If the handler is defined with 0 incoming capacity this will be nil. // Channel *must* be closed to signal the end of the stream.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 27.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtStatus.java
"The pipe state is invalid.", "All pipe instances are busy.", "No process is on the other end of the pipe.", "The pipe is being closed.", "Waiting for a process to open the other end of the pipe.", "File is a directory.", "A duplicate name exists on the network.",
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 01 10:09:29 UTC 2019 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
* @see java.lang.Object#finalize() */ @Override protected void finalize () throws Throwable { if ( this.usageCount.get() != 0 && this.open ) { log.warn("File handle was not properly closed: " + this); if ( this.creationBacktrace != null ) { log.warn(Arrays.toString(this.creationBacktrace)); } } } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.6K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/CallTest.kt
callback.await(server.url("/a")).assertFailure("Canceled", "Socket closed", "Socket is closed") } @Test fun cancelAll() { val call = client.newCall(Request(server.url("/"))) call.enqueue(callback) client.dispatcher.cancelAll() callback.await(server.url("/")).assertFailure("Canceled", "Socket closed", "Socket is closed") } @Test fun cancelWhileRequestHeadersAreSent() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
src/builtin/builtin.go
// the last sent value is received. After the last value has been received // from a closed channel c, any receive from c will succeed without // blocking, returning the zero value for the channel element. The form // // x, ok := <-c // // will also set ok to false for a closed and empty channel. func close(c chan<- Type) // The panic built-in function stops normal execution of the current
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 12.7K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
r, err := os.Open(f) if err != nil { return local.ReaderSource{}, err } runtime.SetFinalizer(r, func(x *os.File) { err = x.Close() if err != nil { log.Infof("file : %s is not closed: %v", f, err) } }) return local.ReaderSource{Name: f, Reader: r}, nil } func gatherFilesInDirectory(cmd *cobra.Command, dir string) ([]local.ReaderSource, error) { var readers []local.ReaderSource
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0) -
internal/logger/logrotate.go
} // close everything before we delete. if err = gw.Close(); err != nil { return err } if err = r.Close(); err != nil { return err } // Attempt to remove after all fd's are closed. return os.Remove(oldLgFile) } func (w *Writer) rotate() error { if w.f != nil { if err := w.closeCurrentFile(); err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.8K bytes - Viewed (0) -
internal/grid/muxserver.go
} } func (m *muxServer) unblockSend(seq uint32) { if !m.checkSeq(seq) { return } m.recvMu.Lock() defer m.recvMu.Unlock() if m.outBlock == nil { // Closed return } select { case m.outBlock <- struct{}{}: default: gridLogIf(m.ctx, errors.New("output unblocked overflow")) } } func (m *muxServer) ping(seq uint32) pongMsg {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 9.7K bytes - Viewed (0) -
docs/en/docs/advanced/websockets.md
With that you can connect the WebSocket and then send and receive messages: <img src="/img/tutorial/websockets/image05.png"> ## Handling disconnections and multiple clients When a WebSocket connection is closed, the `await websocket.receive_text()` will raise a `WebSocketDisconnect` exception, which you can then catch and handle like in this example. //// tab | Python 3.9+ ```Python hl_lines="79-81"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.3K bytes - Viewed (0)