Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for sendto (0.36 sec)

  1. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	procrecvfrom                                             = modws2_32.NewProc("recvfrom")
    	procsendto                                               = modws2_32.NewProc("sendto")
    	procsetsockopt                                           = modws2_32.NewProc("setsockopt")
    	procshutdown                                             = modws2_32.NewProc("shutdown")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  2. src/net/http/serve_test.go

    	return nil
    }
    
    func TestTimeoutHandler(t *testing.T) { run(t, testTimeoutHandler) }
    func testTimeoutHandler(t *testing.T, mode testMode) {
    	sendHi := make(chan bool, 1)
    	writeErrors := make(chan error, 1)
    	sayHi := HandlerFunc(func(w ResponseWriter, r *Request) {
    		<-sendHi
    		_, werr := w.Write([]byte("hi"))
    		writeErrors <- werr
    	})
    	ctx, cancel := context.WithCancel(context.Background())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  3. src/database/sql/sql.go

    	numOpen      int // number of opened and pending open connections
    	// Used to signal the need for new connections
    	// a goroutine running connectionOpener() reads on this chan and
    	// maybeOpenNewConnections sends on the chan (one send per needed connection)
    	// It is closed during db.Close(). The close tells the connectionOpener
    	// goroutine to exit.
    	openerCh          chan struct{}
    	closed            bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  4. src/reflect/value.go

    		val = Value{}
    	}
    	return
    }
    
    // Send sends x on the channel v.
    // It panics if v's kind is not [Chan] or if x's type is not the same type as v's element type.
    // As in Go, x's value must be assignable to the channel's element type.
    func (v Value) Send(x Value) {
    	v.mustBe(Chan)
    	v.mustBeExported()
    	v.send(x, false)
    }
    
    // internal send, possibly non-blocking.
    // v is known to be a channel.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top