Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 6,658 for makeID (0.11 sec)

  1. src/internal/types/testdata/check/builtins0.go

    	_ = make(chan<- int, "foo" /* ERROR "cannot convert" */)
    	_ = make(chan int, - /* ERROR "must not be negative" */ 10)
    	_ = make(<-chan float64, 10)
    	_ = make(chan chan int, n)
    	_ = make(chan string, int64(n))
    	_ = make(chan bool, 10.0)
    	_ = make(chan bool, 10.0<<s)
            _ = &make /* ERROR "cannot take address" */ (chan bool)
    
    	make /* ERROR "not used" */ ([]int, 10)
    
    	var t []int
    	_ = make([]int, t[0], t[1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  2. src/runtime/pprof/label.go

    // and makes a [LabelSet] containing them.
    // A label overwrites a prior label with the same key.
    // Currently only the CPU and goroutine profiles utilize any labels
    // information.
    // See https://golang.org/issue/23458 for details.
    func Labels(args ...string) LabelSet {
    	if len(args)%2 != 0 {
    		panic("uneven number of arguments to pprof.Labels")
    	}
    	list := make([]label, 0, len(args)/2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates.go

    		return nil
    	}
    	gates := make([]string, 0, len(p.Spec.SchedulingGates))
    	for _, gate := range p.Spec.SchedulingGates {
    		gates = append(gates, gate.Name)
    	}
    	return framework.NewStatus(framework.UnschedulableAndUnresolvable, fmt.Sprintf("waiting for scheduling gates: %v", gates))
    }
    
    // EventsToRegister returns the possible events that may make a Pod
    // failed by this plugin schedulable.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. mockwebserver/README.md

    MockWebServer
    =============
    
    A scriptable web server for testing HTTP clients
    
    
    ### Motivation
    
    This library makes it easy to test that your app Does The Right Thing when it
    makes HTTP and HTTPS calls. It lets you specify which responses to return and
    then verify that requests were made as expected.
    
    Because it exercises your full HTTP stack, you can be confident that you're
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. cmd/namespace-lock_test.go

    		// not be required but makes reproduction much easier.
    		nsLk.lockMapMutex.Lock()
    
    		// lk3 blocks.
    		lk3ch := make(chan bool)
    		go func() {
    			lk3ch <- nsLk.lock(ctx, "volume", "path", "source", "opsID", false, 0)
    		}()
    
    		// lk4, blocks.
    		lk4ch := make(chan bool)
    		go func() {
    			lk4ch <- nsLk.lock(ctx, "volume", "path", "source", "opsID", false, 0)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  6. src/net/dial_unix_test.go

    		testHookCanceledDial = oldTestHookCanceledDial
    	}()
    
    	ln := newLocalListener(t, "tcp")
    	listenerDone := make(chan struct{})
    	go func() {
    		defer close(listenerDone)
    		c, err := ln.Accept()
    		if err == nil {
    			c.Close()
    		}
    	}()
    	defer func() { <-listenerDone }()
    	defer ln.Close()
    
    	sawCancel := make(chan bool, 1)
    	testHookCanceledDial = func() {
    		sawCancel <- true
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/conditional-openapi.md

    If there's a security flaw in your code, it will still exist.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go

    				makePVC("pvc-b", waitSC.Name).withBoundPV("pv-b").PersistentVolumeClaim,
    			},
    			pvs: []*v1.PersistentVolume{
    				makePV("pv-a", waitSC.Name).withPhase(v1.VolumeBound).withNodeAffinity(map[string][]string{
    					v1.LabelHostname: {"node-a"},
    				}).PersistentVolume,
    				makePV("pv-b", waitSC.Name).withPhase(v1.VolumeBound).withNodeAffinity(map[string][]string{
    					v1.LabelHostname: {"node-a"},
    				}).PersistentVolume,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 32K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionSelectorScheme.java

         */
        String renderSelector(VersionSelector selector);
    
        /**
         * Creates another version selector which complements the provided one, but also makes sense to use
         * in a rejection rule. It will therefore fail when computing a complement for this use case doesn't
         * make sense.
         * @param selector the selector to create a complement for
         * @return a selector that complements the provided one and can be used in a reject rule
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/promise/promise.go

    type promise struct {
    	doneCtx context.Context
    	doneVal interface{}
    	setCh   chan struct{}
    	onceler sync.Once
    	value   interface{}
    }
    
    var _ WriteOnce = &promise{}
    
    // NewWriteOnce makes a new thread-safe WriteOnce.
    //
    // If `initial` is non-nil then that value is Set at creation time.
    //
    // If a `Get` is waiting soon after the channel associated with the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 19:19:31 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top