Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for replyChan (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go

    			switch streamType {
    			case v1.StreamTypeError:
    				replyChan <- struct{}{}
    				ctx.writeStatus = v4WriteStatusFunc(stream)
    			case v1.StreamTypeStdout:
    				replyChan <- struct{}{}
    				ctx.stdoutStream = stream
    			case v1.StreamTypeStdin:
    				replyChan <- struct{}{}
    				ctx.stdinStream = stream
    			case v1.StreamTypeStderr:
    				replyChan <- struct{}{}
    				ctx.stderrStream = stream
    			case v1.StreamTypeResize:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_server_test.go

    	}
    
    	c, s := localPipe(t)
    	replyChan := make(chan any)
    	go func() {
    		cli := Client(c, testConfig)
    		cli.vers = clientHello.vers
    		if _, err := cli.writeHandshakeRecord(clientHello, nil); err != nil {
    			testFatal(t, err)
    		}
    		reply, err := cli.readHandshake(nil)
    		c.Close()
    		if err != nil {
    			replyChan <- err
    		} else {
    			replyChan <- reply
    		}
    	}()
    	config := testConfig.Clone()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    </pre>
    
    <p>
    A function literal can be assigned to a variable or invoked directly.
    </p>
    
    <pre>
    f := func(x, y int) int { return x + y }
    func(ch chan int) { ch &lt;- ACK }(replyChan)
    </pre>
    
    <p>
    Function literals are <i>closures</i>: they may refer to variables
    defined in a surrounding function. Those variables are then shared between
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  4. doc/go_spec.html

    </pre>
    
    <p>
    A function literal can be assigned to a variable or invoked directly.
    </p>
    
    <pre>
    f := func(x, y int) int { return x + y }
    func(ch chan int) { ch &lt;- ACK }(replyChan)
    </pre>
    
    <p>
    Function literals are <i>closures</i>: they may refer to variables
    defined in a surrounding function. Those variables are then shared between
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
Back to top