Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 254 for chanOf (0.11 sec)

  1. src/reflect/type.go

    	m sync.Map
    }
    
    // ChanOf returns the channel type with the given direction and element type.
    // For example, if t represents int, ChanOf(RecvDir, t) represents <-chan int.
    //
    // The gc runtime imposes a limit of 64 kB on channel element types.
    // If t's size is equal to or exceeds this limit, ChanOf panics.
    func ChanOf(dir ChanDir, t Type) Type {
    	typ := t.common()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    		stopCh := make(chan struct{})
    		controller, controllerCompletedCh := startAPFController(t, stopCh, apfConfiguration, serverConcurrency, plName, plConcurrency)
    
    		headerMatcher := headerMatcher{}
    		rquestTimesOutPath := "/request/time-out-as-designed"
    		reqHandlerCompletedCh, callerRoundTripDoneCh := make(chan struct{}), make(chan struct{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformInputArtifactIntegrationTest.groovy

            when:
            succeeds(":resolve")
    
            then: // no change, should be up-to-date
            transformed()
            outputContains("result = [lib-1.0.jar.green, lib2-1.0.jar.green]")
    
            when:
            succeeds(":resolve", "-PexternalCoords=group2:lib:1.0")
    
            then: // path change, should be up-to-date
            transformed()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 27 19:15:32 UTC 2023
    - 51.9K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    // be used to simulate concurrent changes by some other entities
    // like a resource driver.
    type prepare struct {
    	filter     change
    	prescore   change
    	reserve    change
    	unreserve  change
    	prebind    change
    	postbind   change
    	postfilter change
    }
    
    func TestPlugin(t *testing.T) {
    	testcases := map[string]struct {
    		nodes       []*v1.Node // default if unset is workerNode
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    						"noRestrictions": 50,
    					}},
    				expectError{
    					applyPatchOperation{
    						"Change a single old field to be invalid",
    						myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    							"hasMinimum": 5,
    						}},
    				},
    				expectError{
    					applyPatchOperation{
    						"Change multiple old fields to be invalid",
    						myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  6. src/runtime/mprof.go

    	if mp.profStack == nil {
    		// mp.profStack is nil if we happen to sample an allocation during the
    		// initialization of mp. This case is rare, so we just ignore such
    		// allocations. Change MemProfileRate to 1 if you need to reproduce such
    		// cases for testing purposes.
    		return
    	}
    	// Only use the part of mp.profStack we need and ignore the extra space
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    		// Service change, so we need a full push
    		expectEvents(t, events,
    			Event{Type: "service", ID: "*.google.com", Namespace: httpStaticOverlay.Namespace},
    			Event{Type: "eds cache", ID: "*.google.com", Namespace: httpStaticOverlay.Namespace},
    			Event{Type: "xds full", ID: "*.google.com"})
    	})
    
    	t.Run("change target port", func(t *testing.T) {
    		// Change the target port
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  8. pkg/kubelet/pod_workers.go

    	// in channel communication. The function is invoked once each time a new worker
    	// goroutine starts.
    	workerChannelFn func(uid types.UID, in chan struct{}) (out <-chan struct{})
    
    	// The EventRecorder to use
    	recorder record.EventRecorder
    
    	// backOffPeriod is the duration to back off when there is a sync error.
    	backOffPeriod time.Duration
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/devicemanager/manager_test.go

    	as.True(ok)
    	as.Equal(int64(3), resource1Capacity.Value())
    	as.Equal(int64(2), resource1Allocatable.Value())
    	as.Equal(0, len(removedResources))
    
    	// Deletes an unhealthy device should NOT change allocatable but change capacity.
    	devs1 := devs[:len(devs)-1]
    	callback(resourceName1, devs1)
    	capacity, allocatable, removedResources = testManager.GetCapacity()
    	resource1Capacity, ok = capacity[v1.ResourceName(resourceName1)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_3x.md

        upgrading OkHttp. With this change it is now a regular Java class with
        enum-like constants. Application code that uses enum methods on cipher
        suites (`ordinal()`, `name()`, etc.) will break with this change.
    
     *  Fix: `CertificatePinner` now matches canonicalized hostnames. Previously
        this was case sensitive. This change should also make it easier to configure
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top