- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 116 for chain (0.22 sec)
-
plugin/pkg/admission/resourcequota/admission_test.go
return createHandlerWithConfig(kubeClient, informerFactory, nil, stopCh) } func createHandlerWithConfig(kubeClient kubernetes.Interface, informerFactory informers.SharedInformerFactory, config *resourcequotaapi.Configuration, stopCh chan struct{}) (*resourcequota.QuotaAdmission, error) { if config == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 84.1K bytes - Viewed (0) -
src/go/types/api_test.go
}, {`package t3; type C[T any] interface{chan<- T}; func f[T any, P C[T], Q C[[]*P]]() []T { return nil }; func _() { _ = f[int] }`, []testInst{ {`C`, []string{`T`}, `interface{chan<- T}`}, {`C`, []string{`[]*P`}, `interface{chan<- []*P}`}, {`f`, []string{`int`, `chan<- int`, `chan<- []*chan<- int`}, `func() []int`}, }, },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0) -
src/net/http/transport.go
pconn = &persistConn{ t: t, cacheKey: cm.key(), reqch: make(chan requestAndChan, 1), writech: make(chan writeRequest, 1), closech: make(chan struct{}), writeErrCh: make(chan error, 1), writeLoopDone: make(chan struct{}), } trace := httptrace.ContextClientTrace(ctx) wrapErr := func(err error) error { if cm.proxyURL != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 91K bytes - Viewed (0) -
src/reflect/type.go
switch dir { default: panic("reflect.ChanOf: invalid dir") case SendDir: s = "chan<- " + stringFor(typ) case RecvDir: s = "<-chan " + stringFor(typ) case BothDir: typeStr := stringFor(typ) if typeStr[0] == '<' { // typ is recv chan, need parentheses as "<-" associates with leftmost // chan possible, see: // * https://golang.org/ref/spec#Channel_types
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
// // <-(chan E) => (<-chan E) // <-(chan<-E) => (<-chan (<-E)) if _, ok := x.(*ChanType); ok { // x is a channel type => re-associate <- dir := SendOnly t := x for dir == SendOnly { c, ok := t.(*ChanType) if !ok { break } dir = c.Dir if dir == RecvOnly { // t is type <-chan E but <-<-chan E is not permitted
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go
type immediateCloseWatcher struct { result chan watch.Event } func newImmediateCloseWatcher() *immediateCloseWatcher { watcher := &immediateCloseWatcher{result: make(chan watch.Event)} close(watcher.result) return watcher } // Implements watch.Interface. func (c *immediateCloseWatcher) ResultChan() <-chan watch.Event { return c.result }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 51.8K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
type ChanArgs struct { T *Type // reference to a chan type whose elements need a width check } // // FuncArgs contains Type fields specific to TFUNCARGS types. type FuncArgs struct { T *Type // reference to a func type whose elements need a width check } // Chan contains Type fields specific to channel types. type Chan struct { Elem *Type // element type Dir ChanDir // channel direction
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0) -
cmd/batch-handlers.go
ctx: ctx, objLayer: o, jobCh: make(chan *BatchJobRequest, 10000), workerKillCh: make(chan struct{}, workers), jobCancelers: make(map[string]context.CancelFunc), } jpool.ResizeWorkers(workers) jpool.resume() return jpool } func (j *BatchJobPool) resume() { results := make(chan itemOrErr[ObjectInfo], 100) ctx, cancel := context.WithCancel(j.ctx)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 56K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconciler_test.go
} // Start the reconciler to fill ASW. stopChan, stoppedChan := make(chan struct{}), make(chan struct{}) go func() { reconciler.Run(stopChan) close(stoppedChan) }() waitForMount(t, fakePlugin, generatedVolumeName, asw) // Stop the reconciler. close(stopChan) <-stoppedChan finished := make(chan interface{}) fakePlugin.Lock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 75.4K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager_test.go
topology []cadvisorapi.Node) (Manager, <-chan interface{}) { topologyStore := topologymanager.NewFakeManager() m, err := newManagerImpl(socketName, topology, topologyStore) require.NoError(t, err) updateChan := make(chan interface{}) w := newWrappedManagerImpl(socketName, m) if callback != nil { w.callback = callback }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0)