Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Miller (0.23 sec)

  1. doc/next/6-stdlib/99-minor/net/62254.md

    The new type [KeepAliveConfig] permits fine-tuning the keep-alive
    options for TCP connections, via a new [TCPConn.SetKeepAliveConfig]
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 205 bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    	// The C string is allocated in the C heap using malloc.
    	// It is the caller's responsibility to arrange for it to be
    	// freed, such as by calling C.free (be sure to include stdlib.h
    	// if C.free is needed).
    	func C.CString(string) *C.char
    
    	// Go []byte slice to C array
    	// The C array is allocated in the C heap using malloc.
    	// It is the caller's responsibility to arrange for it to be
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    // removing those divisible by 'prime'.
    func filter(src <-chan int, dst chan<- int, prime int) {
    	for i := range src {  // Loop over values received from 'src'.
    		if i%prime != 0 {
    			dst <- i  // Send 'i' to channel 'dst'.
    		}
    	}
    }
    
    // The prime sieve: Daisy-chain filter processes together.
    func sieve() {
    	ch := make(chan int)  // Create a new channel.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. src/bufio/bufio_test.go

    		b := NewWriterSize(tw, BufSize)
    		b.WriteString("1234")
    		tw.check(t, "", "")
    		b.WriteString("56789012")   // longer than BufSize
    		tw.check(t, "12345678", "") // but not enough (after filling the partially-filled buffer)
    		b.Flush()
    		tw.check(t, "123456789012", "")
    	}
    	{
    		tw := &teststringwriter{}
    		b := NewWriterSize(tw, BufSize)
    		b.WriteString("123456789")   // long string, empty buffer:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  5. src/builtin/builtin.go

    // goroutine. When a function F calls panic, normal execution of F stops
    // immediately. Any functions whose execution was deferred by F are run in
    // the usual way, and then F returns to its caller. To the caller G, the
    // invocation of F then behaves like a call to panic, terminating G's
    // execution and running any deferred functions. This continues until all
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. doc/go_spec.html

    // removing those divisible by 'prime'.
    func filter(src <-chan int, dst chan<- int, prime int) {
    	for i := range src {  // Loop over values received from 'src'.
    		if i%prime != 0 {
    			dst <- i  // Send 'i' to channel 'dst'.
    		}
    	}
    }
    
    // The prime sieve: Daisy-chain filter processes together.
    func sieve() {
    	ch := make(chan int)  // Create a new channel.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/swig/testdata/callback/main.h

    // license that can be found in the LICENSE file.
    
    class Callback {
    public:
    	virtual ~Callback() { }
    	virtual std::string run() { return "Callback::run"; }
    };
    
    class Caller {
    private:
    	Callback *callback_;
    public:
    	Caller(): callback_(0) { }
    	~Caller() { delCallback(); }
    	void delCallback() { delete callback_; callback_ = 0; }
    	void setCallback(Callback *cb) { delCallback(); callback_ = cb; }
    	std::string call();
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 529 bytes
    - Viewed (0)
  8. api/go1.21.txt

    pkg net/http, method (*ProtocolError) Is(error) bool #41198
    pkg net/http, method (*ResponseController) EnableFullDuplex() error #57786
    pkg net/http, var ErrSchemeMismatch error #44855
    pkg net, method (*Dialer) MultipathTCP() bool #56539
    pkg net, method (*Dialer) SetMultipathTCP(bool) #56539
    pkg net, method (*ListenConfig) MultipathTCP() bool #56539
    pkg net, method (*ListenConfig) SetMultipathTCP(bool) #56539
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue1435.go

    		call           string
    		fn             func() error
    		filter, expect string
    	}{
    		{call: "Setegid(1)", fn: func() error { return syscall.Setegid(1) }, filter: "Gid:", expect: "\t0\t1\t0\t1"},
    		{call: "Setegid(0)", fn: func() error { return syscall.Setegid(0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
    
    		{call: "Seteuid(1)", fn: func() error { return syscall.Seteuid(1) }, filter: "Uid:", expect: "\t0\t1\t0\t1"},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/swig/testdata/callback/main.cc

    // license that can be found in the LICENSE file.
    
    // This .cc file will be automatically compiled by the go tool and
    // included in the package.
    
    #include <string>
    #include "main.h"
    
    std::string Caller::call() {
    	if (callback_ != 0)
    		return callback_->run();
    	return "";
    C++
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 384 bytes
    - Viewed (0)
Back to top