Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 58 of 58 for clen (0.12 sec)

  1. cmd/erasure-server-pool.go

    	serverPools := make(serverPoolsAvailableSpace, len(z.serverPools))
    
    	storageInfos := make([][]*DiskInfo, len(z.serverPools))
    	nSets := make([]int, len(z.serverPools))
    	g := errgroup.WithNErrs(len(z.serverPools))
    	for index := range z.serverPools {
    		index := index
    		// Skip suspended pools or pools participating in rebalance for any new
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Sets.java

       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>. One caveat to this is that the {@code TreeSet}
       * constructor uses a null {@code Comparator} to mean "natural ordering," whereas this factory
       * rejects null. Clean your code accordingly.
       *
       * @param comparator the comparator to use to sort the set
       * @return a new, empty {@code TreeSet}
       * @throws NullPointerException if {@code comparator} is null
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	// If all pending claims are handled with the builtin controller,
    	// there is no need for a PodSchedulingContext change.
    	if numDelayedAllocationPending == 1 && len(claimsWithBuiltinController) == 0 ||
    		numClaimsWithStatusInfo+len(claimsWithBuiltinController) == numDelayedAllocationPending && len(claimsWithBuiltinController) < numDelayedAllocationPending {
    		// TODO: can we increase the chance that the scheduler picks
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  4. src/testing/testing.go

    	p.mu.Lock()
    	defer p.mu.Unlock()
    
    	c.mu.Lock()
    	defer c.mu.Unlock()
    
    	if len(c.output) > 0 {
    		// Add the current c.output to the print,
    		// and then arrange for the print to replace c.output.
    		// (This displays the logged output after the --- FAIL line.)
    		format += "%s"
    		args = append(args[:len(args):len(args)], c.output)
    		c.output = c.output[:0]
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  5. pkg/controller/volume/persistentvolume/pv_controller.go

    	message := "waiting for first consumer to be created before binding"
    	podNames, err := ctrl.findNonScheduledPodsByPVC(claim)
    	if err != nil {
    		return err
    	}
    	if len(podNames) > 0 {
    		reason = events.WaitForPodScheduled
    		if len(podNames) > 1 {
    			// Although only one pod is taken into account in
    			// volume scheduling, more than one pods can reference
    			// the PVC at the same time. We can't know which pod is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/lib.go

    	hostobjs(ctxt)
    	hostlinksetup(ctxt)
    
    	if ctxt.LinkMode == LinkInternal && len(hostobj) != 0 {
    		// If we have any undefined symbols in external
    		// objects, try to read them from the libgcc file.
    		any := false
    		undefs, froms := ctxt.loader.UndefinedRelocTargets(1)
    		if len(undefs) > 0 {
    			any = true
    			if ctxt.Debugvlog > 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  7. src/os/os_test.go

    	file1, err2 := Open(dir)
    	if err2 != nil {
    		t.Fatalf("open %q failed: %v", dir, err2)
    	}
    	defer file1.Close()
    	small := smallReaddirnames(file1, len(all)+100, t) // +100 in case we screw up
    	if len(small) < len(all) {
    		t.Fatalf("len(small) is %d, less than %d", len(small), len(all))
    	}
    	for i, n := range all {
    		if small[i] != n {
    			t.Errorf("small read %q mismatch: %v", small[i], n)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  8. src/net/http/transport.go

    	// overhead of reversing the list when swapping stages.
    	head    []*wantConn
    	headPos int
    	tail    []*wantConn
    }
    
    // len returns the number of items in the queue.
    func (q *wantConnQueue) len() int {
    	return len(q.head) - q.headPos + len(q.tail)
    }
    
    // pushBack adds w to the back of the queue.
    func (q *wantConnQueue) pushBack(w *wantConn) {
    	q.tail = append(q.tail, w)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
Back to top