Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,978 for seni (0.06 sec)

  1. src/internal/types/testdata/check/chans.go

    	runtime.SetFinalizer(r, r.finalize)
    	return s, r
    }
    
    // A sender is used to send values to a Receiver.
    type Sender[T any] struct {
    	values chan<- T
    	done <-chan bool
    }
    
    // Send sends a value to the receiver. It returns whether any more
    // values may be sent; if it returns false the value was not sent.
    func (s *Sender[T]) Send(v T) bool {
    	select {
    	case s.values <- v:
    		return true
    	case <-s.done:
    		return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/doc.go

    // byte indicating the channel number (zero indexed) the message was sent on. Messages in both
    // directions should prefix their messages with this channel byte. Used for remote execution,
    // the channel numbers are by convention defined to match the POSIX file-descriptors assigned
    // to STDIN, STDOUT, and STDERR (0, 1, and 2). No other conversion is performed on the raw
    // subprotocol - writes are sent as they are received by the server.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 18:37:18 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/ztunnelserver.go

    			}
    		}()
    	}
    }
    
    // ZDS protocol is very simple, for every message sent, and ack is sent.
    // the ack only has temporal correlation (i.e. it is the first and only ack msg after the message was sent)
    // All this to say, that we want to make sure that message to ztunnel are sent from a single goroutine
    // so we don't mix messages and acks.
    // nolint: unparam
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 22:07:03 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        taskFaker.runTasks()
        assertThat(client.closed).isTrue()
        server.listener.assertExhausted() // Client should not have sent second close.
        client.listener.assertExhausted() // Server should not have sent second close.
      }
    
      @Test
      fun serverCloseBreaksReadMessageLoop() {
        server.webSocket!!.send("Hello!")
        server.webSocket!!.close(1000, "Bye!")
        assertThat(client.processNextFrame()).isTrue()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. test/typeparam/chans.go

    	return s, r
    }
    
    // A _Sender is used to send values to a Receiver.
    type _Sender[Elem any] struct {
    	values chan<- Elem
    	done   <-chan struct{}
    }
    
    // Send sends a value to the receiver. It reports whether the value was sent.
    // The value will not be sent if the context is closed or the receiver
    // is freed.
    func (s *_Sender[Elem]) Send(ctx context.Context, v Elem) bool {
    	select {
    	case <-ctx.Done():
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  6. test/typeparam/chansimp.dir/a.go

    	return s, r
    }
    
    // A Sender is used to send values to a Receiver.
    type Sender[Elem any] struct {
    	values chan<- Elem
    	done   <-chan struct{}
    }
    
    // Send sends a value to the receiver. It reports whether the value was sent.
    // The value will not be sent if the context is closed or the receiver
    // is freed.
    func (s *Sender[Elem]) Send(ctx context.Context, v Elem) bool {
    	select {
    	case <-ctx.Done():
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 28 21:40:40 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

                            logger.debug("Sent {} to {}.", body, url);
                        }
                    } else {
                        logger.warn("Failed to send {} to {}. HTTP Status is {}. {}", body, url, response.getHttpStatusCode(),
                                response.getContentAsString());
                    }
                } catch (final IOException e) {
                    logger.warn("Failed to send {} to {}.", body, url, e);
                }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/types.go

    	// allowWatchBookmarks requests watch events with type "BOOKMARK".
    	// Servers that do not implement bookmarks may ignore this flag and
    	// bookmarks are sent at the server's discretion. Clients should not
    	// assume bookmarks are returned at any specific interval, nor may they
    	// assume the server will send any BOOKMARK event during a session.
    	// If this is not a watch, this field is ignored.
    	// If the feature gate WatchBookmarks is not enabled in apiserver,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 09:55:40 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/stream.go

    )
    
    // The WebSocket subprotocol "binary.k8s.io" will only send messages to the
    // client and ignore messages sent to the server. The received messages are
    // the exact bytes written to the stream. Zero byte messages are possible.
    const binaryWebSocketProtocol = "binary.k8s.io"
    
    // The WebSocket subprotocol "base64.binary.k8s.io" will only send messages to the
    // client and ignore messages sent to the server. The received messages are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 18:21:43 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. src/crypto/tls/testdata/Server-TLSv12-SNI

    Filippo Valsorda <******@****.***> 1684886145 +0200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:13:30 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top