Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,246 for ctan (0.07 sec)

  1. src/crypto/tls/handshake_test.go

    	return errors.New("version of OpenSSL does not appear to be suitable for updating test data")
    }
    
    // recordingConn is a net.Conn that records the traffic that passes through it.
    // WriteTo can be used to produce output that can be later be loaded with
    // ParseTestData.
    type recordingConn struct {
    	net.Conn
    	sync.Mutex
    	flows   [][]byte
    	reading bool
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. src/text/template/funcs.go

    // apply to arguments of arbitrary type can use parameters of type interface{} or
    // of type [reflect.Value]. Similarly, functions meant to return a result of arbitrary
    // type can return interface{} or [reflect.Value].
    type FuncMap map[string]any
    
    // builtins returns the FuncMap.
    // It is not a global variable so the linker can dead code eliminate
    // more when this isn't called. See golang.org/issue/36021.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. pkg/kube/krt/collection.go

    	transformation TransformationMulti[I, O]
    
    	// augmentation allows transforming an object into another for usage throughout the library. See WithObjectAugmentation.
    	augmentation func(a any) any
    	synced       chan struct{}
    	stop         <-chan struct{}
    }
    
    var _ internalCollection[any] = &manyCollection[any, any]{}
    
    type handlers[O any] struct {
    	mu   sync.RWMutex
    	h    []func(o []Event[O], initialSync bool)
    	init bool
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    	inProgress sets.String
    
    	// controls the run method so that we can cleanly conform to the Evaluator interface
    	workers int
    	stopCh  <-chan struct{}
    	init    sync.Once
    
    	// lets us know what resources are limited by default
    	config *resourcequotaapi.Configuration
    }
    
    type admissionWaiter struct {
    	attributes admission.Attributes
    	finished   chan struct{}
    	result     error
    }
    
    type defaultDeny struct{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. pilot/pkg/bootstrap/certcontroller.go

    		if err := s.fileWatcher.Add(file); err != nil {
    			return fmt.Errorf("could not watch %v: %v", file, err)
    		}
    	}
    	s.addStartFunc("certificate rotation", func(stop <-chan struct{}) error {
    		go func() {
    			var keyCertTimerC <-chan time.Time
    			for {
    				select {
    				case <-keyCertTimerC:
    					keyCertTimerC = nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. internal/grid/grid_test.go

    	remoteHost := remote.HostName()
    
    	// 1: Echo
    	serverSent := make(chan struct{})
    	serverCanceled := make(chan struct{})
    	register := func(manager *Manager) {
    		errFatal(manager.RegisterStreamingHandler(handlerTest, StreamHandler{
    			Handle: func(ctx context.Context, payload []byte, _ <-chan []byte, resp chan<- []byte) *RemoteErr {
    				// Send many responses.
    				// Test that this doesn't block.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  7. tests/integration/telemetry/api/dashboard_test.go

            port:
              number: 80
      tcp:
      - match:
        - port: 31400
        route:
        - destination:
            host: b
            port:
              number: 9090
    `
    
    func setupDashboardTest(done <-chan struct{}) {
    	// Send 200 http requests, 20 tcp requests across goroutines, generating a variety of error codes.
    	// Spread out over 20s so rate() queries will behave correctly
    	ticker := time.NewTicker(time.Second)
    	times := 0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. src/net/lookup_plan9.go

    			n, _ := file.Read(buf)
    			if n <= 0 {
    				break
    			}
    			addrs = append(addrs, string(buf[:n]))
    		}
    		return addrs, nil
    	}
    
    	type ret struct {
    		addrs []string
    		err   error
    	}
    
    	ch := make(chan ret, 1)
    	go func() {
    		addrs, err := queryAddrs()
    		ch <- ret{addrs: addrs, err: err}
    	}()
    
    	select {
    	case r := <-ch:
    		return r.addrs, r.err
    	case <-ctx.Done():
    		return nil, &DNSError{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:08:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. pkg/kube/kclient/client.go

    type handlerRegistration struct {
    	registration cache.ResourceEventHandlerRegistration
    	// handler is the actual handler. Note this does NOT have the filtering applied.
    	handler cache.ResourceEventHandler
    }
    
    type informerClient[T controllers.Object] struct {
    	informer      cache.SharedIndexInformer
    	startInformer func(stopCh <-chan struct{})
    	filter        func(t any) bool
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 07:14:28 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. cmd/globals.go

    	globalIsTLS bool
    
    	globalTLSCerts *certs.Manager
    
    	globalHTTPServer        *xhttp.Server
    	globalTCPOptions        xhttp.TCPOptions
    	globalHTTPServerErrorCh = make(chan error)
    	globalOSSignalCh        = make(chan os.Signal, 1)
    
    	// global Trace system to send HTTP request/response
    	// and Storage/OS calls info to registered listeners.
    	globalTrace = pubsub.New[madmin.TraceInfo, madmin.TraceType](8)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top