Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 6,252 for ctan (0.04 sec)

  1. test/fixedbugs/issue65593.go

    // compile
    
    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    const run = false
    
    func f() {
    	if !run {
    		return
    	}
    
    	messages := make(chan struct{}, 1)
    main:
    	for range messages {
    		break main
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 21:07:10 UTC 2024
    - 319 bytes
    - Viewed (0)
  2. internal/bpool/bpool.go

    package bpool
    
    import "github.com/klauspost/reedsolomon"
    
    // BytePoolCap implements a leaky pool of []byte in the form of a bounded channel.
    type BytePoolCap struct {
    	c    chan []byte
    	w    int
    	wcap int
    }
    
    // NewBytePoolCap creates a new BytePool bounded to the given maxSize, with new
    // byte arrays sized based on width.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 16:44:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/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: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/fake.go

    	MeshWatcher       mesh.Watcher
    	ServiceHandler    model.ServiceHandler
    	ClusterID         cluster.ID
    	WatchedNamespaces string
    	DomainSuffix      string
    	XDSUpdater        model.XDSUpdater
    	Stop              chan struct{}
    	SkipRun           bool
    	ConfigCluster     bool
    	SystemNamespace   string
    }
    
    type FakeController struct {
    	*Controller
    	Endpoints *model.EndpointIndex
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/plugin_test.go

    	}
    
    	serverURL, err := url.ParseRequestURI(testServerURL)
    	if err != nil {
    		b.Fatalf("this should never happen? %v", err)
    	}
    
    	objectInterfaces := webhooktesting.NewObjectInterfacesForTest()
    
    	stopCh := make(chan struct{})
    	defer close(stopCh)
    
    	testCases := append(webhooktesting.NewMutatingTestCases(serverURL, "test-webhooks"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. internal/grid/benchmark_test.go

    		// Register a single handler which echos the payload.
    		errFatal(remote.RegisterStreamingHandler(handlerTest, StreamHandler{
    			// Send 10x response.
    			Handle: func(ctx context.Context, payload []byte, _ <-chan []byte, out chan<- []byte) *RemoteErr {
    				for i := 0; i < responses; i++ {
    					toSend := GetByteBuffer()[:0]
    					toSend = append(toSend, byte(i))
    					toSend = append(toSend, payload...)
    					select {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. pkg/controller/tainteviction/taint_eviction.go

    		tc.nodeUpdateChannels = append(tc.nodeUpdateChannels, make(chan nodeUpdateItem, NodeUpdateChannelSize))
    		tc.podUpdateChannels = append(tc.podUpdateChannels, make(chan podUpdateItem, podUpdateChannelSize))
    	}
    
    	// Functions that are responsible for taking work items out of the workqueues and putting them
    	// into channels.
    	go func(stopCh <-chan struct{}) {
    		for {
    			nodeUpdate, shutdown := tc.nodeUpdateQueue.Get()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. pkg/kube/krt/helpers.go

    func keyFunc(name, namespace string) string {
    	if len(namespace) == 0 {
    		return name
    	}
    	return namespace + "/" + name
    }
    
    func waitForCacheSync(name string, stop <-chan struct{}, collections ...<-chan struct{}) (r bool) {
    	t := time.NewTicker(time.Second * 5)
    	defer t.Stop()
    	t0 := time.Now()
    	defer func() {
    		if r {
    			log.WithLabels("name", name, "time", time.Since(t0)).Debugf("sync complete")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. pilot/pkg/trustbundle/trustbundle.go

    	sourceConfig       map[Source]TrustAnchorConfig
    	mutex              sync.RWMutex
    	mergedCerts        []string
    	updatecb           func()
    	endpointMutex      sync.RWMutex
    	endpoints          []string
    	endpointUpdateChan chan struct{}
    	remoteCaCertPool   *x509.CertPool
    	meshConfig         mesh.Watcher
    }
    
    var (
    	trustBundleLog = log.RegisterScope("trustBundle", "Workload mTLS trust bundle logs")
    	remoteTimeout  = 10 * time.Second
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/util/xdsfake/updater.go

    func NewFakeXDS() *Updater {
    	return &Updater{
    		SplitEvents: false,
    		Events:      make(chan Event, 100),
    	}
    }
    
    // NewWithDelegate creates a XdsUpdater reporting events via a channel.
    func NewWithDelegate(delegate model.XDSUpdater) *Updater {
    	return &Updater{
    		Events:   make(chan Event, 100),
    		Delegate: delegate,
    	}
    }
    
    // Updater is used to test the registry.
    type Updater struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top