Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for chanOf (0.25 sec)

  1. src/reflect/all_test.go

    	{struct{ x (chan<- string) }{}, "chan<- string"},
    	{struct{ x (chan<- chan string) }{}, "chan<- chan string"},
    	{struct{ x (chan<- <-chan string) }{}, "chan<- <-chan string"},
    	{struct{ x (<-chan <-chan string) }{}, "<-chan <-chan string"},
    	{struct{ x (chan (<-chan string)) }{}, "chan (<-chan string)"},
    	{struct {
    		x struct {
    			c chan *int32
    			d float32
    		}
    	}{},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  2. src/reflect/value.go

    			}
    			haveDefault = true
    			if c.Chan.IsValid() {
    				panic("reflect.Select: default case has Chan value")
    			}
    			if c.Send.IsValid() {
    				panic("reflect.Select: default case has Send value")
    			}
    
    		case SelectSend:
    			ch := c.Chan
    			if !ch.IsValid() {
    				break
    			}
    			ch.mustBe(Chan)
    			ch.mustBeExported()
    			tt := (*chanType)(unsafe.Pointer(ch.typ()))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  3. src/net/http/serve_test.go

    	}
    
    	readErrCh := make(chan error, 1)
    	errCh := make(chan error, 2)
    
    	server := newClientServerTest(t, mode, HandlerFunc(func(rw ResponseWriter, req *Request) {
    		go func(body io.Reader) {
    			_, err := body.Read(make([]byte, 100))
    			readErrCh <- err
    		}(req.Body)
    		time.Sleep(500 * time.Millisecond)
    	})).ts
    
    	closeConn := make(chan bool)
    	defer close(closeConn)
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    			secretKey:     change.Create.SecretKey,
    			sessionPolicy: sp,
    			claims:        change.Create.Claims,
    			name:          change.Create.Name,
    			description:   change.Create.Description,
    			expiration:    change.Create.Expiration,
    		}
    		_, _, err = globalIAMSys.NewServiceAccount(ctx, change.Create.Parent, change.Create.Groups, opts)
    		if err != nil {
    			return wrapSRErr(err)
    		}
    
    	case change.Update != nil:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  5. src/runtime/proc.go

    	// Because the world is stopped or allglock is held, allgadd
    	// cannot happen concurrently with this. allgs grows
    	// monotonically and existing entries never change, so we can
    	// simply return a copy of the slice header. For added safety,
    	// we trim everything past len because that can still change.
    	return allgs[:len(allgs):len(allgs)]
    }
    
    // atomicAllG returns &allgs[0] and len(allgs) for use with atomicAllGIndex.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  6. src/net/http/transport_test.go

    	tr := c.Transport.(*Transport)
    	dialStarted := make(chan struct{})
    	stallDial := make(chan struct{})
    	tr.Dial = func(network, addr string) (net.Conn, error) {
    		dialStarted <- struct{}{}
    		<-stallDial
    		return net.Dial(network, addr)
    	}
    
    	tr.DisableKeepAlives = true
    	tr.MaxConnsPerHost = 1
    
    	preDial := make(chan struct{})
    	reqComplete := make(chan struct{})
    	doReq := func(reqId string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  7. src/database/sql/sql.go

    	// 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
    	dep               map[finalCloser]depSet
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  8. doc/go1.17_spec.html

    &lt;-chan &lt;-chan int  // same as &lt;-chan (&lt;-chan int)
    chan (&lt;-chan int)
    </pre>
    
    <p>
    A new, initialized channel
    value can be made using the built-in function
    <a href="#Making_slices_maps_and_channels"><code>make</code></a>,
    which takes the channel type and an optional <i>capacity</i> as arguments:
    </p>
    
    <pre>
    make(chan int, 100)
    </pre>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.4.md

    * Change maxsize to size in logrotate. ([#29128](https://github.com/kubernetes/kubernetes/pull/29128), [@bprashanth](https://github.com/bprashanth))
    * Change setting "kubectl --record=false" to stop updating the change-cause when a previous change-cause is found. ([#28234](https://github.com/kubernetes/kubernetes/pull/28234), [@damemi](https://github.com/damemi))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 133.5K bytes
    - Viewed (0)
  10. cmd/bucket-replication.go

    	mrfMU      sync.Mutex
    	resyncer   *replicationResyncer
    
    	// workers:
    	workers    []chan ReplicationWorkerOperation
    	lrgworkers []chan ReplicationWorkerOperation
    
    	// mrf:
    	mrfWorkerKillCh chan struct{}
    	mrfReplicaCh    chan ReplicationWorkerOperation
    	mrfSaveCh       chan MRFReplicateEntry
    	mrfStopCh       chan struct{}
    	mrfWorkerSize   int
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
Back to top