- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for tcpNone (0.28 sec)
-
pilot/pkg/serviceregistry/serviceentry/conversion_test.go
Resolution: networking.ServiceEntry_NONE, }, } ) var tcpNone = &config.Config{ Meta: config.Meta{ GroupVersionKind: gvk.ServiceEntry, Name: "tcpNone", Namespace: "tcpNone", CreationTimestamp: GlobalTime, }, Spec: &networking.ServiceEntry{ Hosts: []string{"tcpnone.com"}, Addresses: []string{"172.217.0.0/16"}, Ports: []*networking.ServicePort{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 39K bytes - Viewed (0) -
src/net/net_test.go
// both have completed. func withTCPConnPair(t *testing.T, peer1, peer2 func(c *TCPConn) error) { t.Helper() ln := newLocalListener(t, "tcp") defer ln.Close() errc := make(chan error, 2) go func() { c1, err := ln.Accept() if err != nil { errc <- err return } err = peer1(c1.(*TCPConn)) c1.Close() errc <- err }() go func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 21:04:44 UTC 2024 - 13.3K bytes - Viewed (0) -
src/net/tcpsock.go
return &TCPAddr{ IP: addr.Addr().AsSlice(), Zone: addr.Addr().Zone(), Port: int(addr.Port()), } } // TCPConn is an implementation of the [Conn] interface for TCP network // connections. type TCPConn struct { conn } // KeepAliveConfig contains TCP keep-alive options. // // If the Idle, Interval, or Count fields are zero, a default value is chosen.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 13.7K bytes - Viewed (0) -
src/net/splice_linux_test.go
if n := r.(*io.LimitedReader).N; n != int64(wantN) { t.Errorf("r.N = %d, want %d", n, wantN) } } // poll.Splice is expected to be called when the source is not // a wrapper or the destination is TCPConn. if tc.limitReadSize == 0 || tc.downNet == "tcp" { // We should have called poll.Splice with the right file descriptor arguments. if n > 0 && !hook.called { t.Fatal("expected poll.Splice to be called") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:49:26 UTC 2024 - 14.5K bytes - Viewed (0) -
src/net/net.go
// tcpConnWithoutReadFrom implements all the methods of *TCPConn other // than ReadFrom. This is used to permit ReadFrom to call io.Copy // without leading to a recursive call to ReadFrom. type tcpConnWithoutReadFrom struct { noReadFrom *TCPConn } // Fallback implementation of io.ReaderFrom's ReadFrom, when sendfile isn't // applicable. func genericReadFrom(c *TCPConn, r io.Reader) (n int64, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 26.8K bytes - Viewed (0) -
src/net/dial_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 30.3K bytes - Viewed (0) -
src/net/error_test.go
if err != nil { t.Fatal(err) } defer c.Close() for i := 0; i < 3; i++ { err = c.(*TCPConn).CloseRead() if perr := parseCloseError(err, true); perr != nil { t.Errorf("#%d: %v", i, perr) } } for i := 0; i < 3; i++ { err = c.(*TCPConn).CloseWrite() if perr := parseCloseError(err, true); perr != nil { t.Errorf("#%d: %v", i, perr) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 20.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/secure_serving.go
type tcpKeepAliveListener struct { net.Listener } func (ln tcpKeepAliveListener) Accept() (net.Conn, error) { c, err := ln.Listener.Accept() if err != nil { return nil, err } if tc, ok := c.(*net.TCPConn); ok { tc.SetKeepAlive(true) tc.SetKeepAlivePeriod(defaultKeepAlivePeriod) } return c, nil } // tlsHandshakeErrorWriter writes TLS handshake errors to klog with
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 12 20:54:07 UTC 2023 - 10.3K bytes - Viewed (0) -
api/go1.9.txt
pkg mime/multipart, type FileHeader struct, Size int64 pkg mime/multipart, var ErrMessageTooLarge error pkg net, method (*IPConn) SyscallConn() (syscall.RawConn, error) pkg net, method (*TCPConn) SyscallConn() (syscall.RawConn, error) pkg net, method (*UDPConn) SyscallConn() (syscall.RawConn, error) pkg net, method (*UnixConn) SyscallConn() (syscall.RawConn, error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 04 20:20:20 UTC 2021 - 10.7K bytes - Viewed (0) -
src/net/sendfile_test.go
if !called { t.Error("internal/poll.SendFile was not called, want it to be") return } if !gotHandled { t.Error("internal/poll.SendFile did not handle the write, want it to") return } if &wantConn.(*TCPConn).fd.pfd != gotFD { t.Error("internal.poll.SendFile called with unexpected FD") } } func TestSendfile(t *testing.T) { ln := newLocalListener(t, "tcp") defer ln.Close() errc := make(chan error, 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 12.1K bytes - Viewed (0)