Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GREETING (0.2 sec)

  1. doc/go_spec.html

    call site.
    </p>
    
    <p>
    Given the function and calls
    </p>
    <pre>
    func Greeting(prefix string, who ...string)
    Greeting("nobody")
    Greeting("hello:", "Joe", "Anna", "Eileen")
    </pre>
    
    <p>
    within <code>Greeting</code>, <code>who</code> will have the value
    <code>nil</code> in the first call, and
    <code>[]string{"Joe", "Anna", "Eileen"}</code> in the second.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  2. src/net/http/h2_bundle.go

    	case <-sc.doneServing:
    	}
    }
    
    var http2errPrefaceTimeout = errors.New("timeout waiting for client preface")
    
    // readPreface reads the ClientPreface greeting from the peer or
    // returns errPrefaceTimeout on timeout, or an error if the greeting
    // is invalid.
    func (sc *http2serverConn) readPreface() error {
    	if sc.sawClientPreface {
    		return nil
    	}
    	errc := make(chan error, 1)
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top