Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for countpwg (0.52 sec)

  1. src/runtime/gc_test.go

    			b.ResetTimer()
    			for i := 0; i < b.N; i++ {
    				runtime.MSpanCountAlloc(s, bits)
    			}
    		})
    	}
    }
    
    func countpwg(n *int, ready *sync.WaitGroup, teardown chan bool) {
    	if *n == 0 {
    		ready.Done()
    		<-teardown
    		return
    	}
    	*n--
    	countpwg(n, ready, teardown)
    }
    
    func TestMemoryLimit(t *testing.T) {
    	if testing.Short() {
    		t.Skip("stress test that takes time to run")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy

            file('settings.gradle') << """
                pluginManagement {
                    includeBuild 'counting-service-plugin'
                }
                enableFeaturePreview 'STABLE_CONFIGURATION_CACHE'
            """
            file('build.gradle') << """
                plugins { id 'counting-service-plugin' version '1.0' }
    
                def altServiceProvider = project.getGradle().getSharedServices().registerIfAbsent(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 11:47:23 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/quota/v1/generic/evaluator.go

    	// Names associated with this resource in the quota for generic counting.
    	resourceNames []corev1.ResourceName
    }
    
    // Constraints returns an error if the configured resource name is not in the required set.
    func (o *objectCountEvaluator) Constraints(required []corev1.ResourceName, item runtime.Object) error {
    	// no-op for object counting
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 05 00:02:47 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/nodevolumelimits/non_csi.go

    			}
    			// If the PVC is invalid, we don't count the volume because
    			// there's no guarantee that it belongs to the running predicate.
    			logger.V(4).Info("Unable to look up PVC info, assuming PVC doesn't match predicate when counting limits", "pod", klog.KObj(pod), "PVC", klog.KRef(pod.Namespace, pvcName), "err", err)
    			continue
    		}
    
    		// The PVC for an ephemeral volume must be owned by the pod.
    		if isEphemeral {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 30 23:00:56 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    		panic("streamSafe was not reset")
    	}
    	n := p.nLeadingNonStarters()
    	if *ss += streamSafe(n); *ss > maxNonStarters {
    		*ss = 0
    		return ssOverflow
    	}
    	// The Stream-Safe Text Processing prescribes that the counting can stop
    	// as soon as a starter is encountered. However, there are some starters,
    	// like Jamo V and T, that can combine with other runes, leaving their
    	// successive non-starters appended to the previous, possibly causing an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/internal/profile/graph.go

    					residual = true
    					continue
    				}
    				// Add cum weight to all nodes in stack, avoiding double counting.
    				_, sawNode := seenNode[n]
    				if !sawNode {
    					seenNode[n] = true
    					n.addSample(dw, w, false)
    				}
    				// Update edge weights for all edges in stack, avoiding double counting.
    				if (!sawNode || !seenEdge[nodePair{n, parent}]) && parent != nil && n != parent {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 20:59:15 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. src/math/big/ratconv.go

    	d := x.Denom().abs // d >= 1
    
    	// Determine p2 by counting factors of 2.
    	// p2 corresponds to the trailing zero bits in d.
    	// Do this first to reduce q as much as possible.
    	var q nat
    	p2 := d.trailingZeroBits()
    	q = q.shr(d, p2)
    
    	// Determine p5 by counting factors of 5.
    	// Build a table starting with an initial power of 5,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 22:16:34 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/nodevolumelimits/csi.go

    			}
    		}
    
    		driverName, volumeHandle := pl.getCSIDriverInfo(logger, csiNode, pvc)
    		if driverName == "" || volumeHandle == "" {
    			logger.V(5).Info("Could not find a CSI driver name or volume handle, not counting volume")
    			continue
    		}
    
    		volumeUniqueName := fmt.Sprintf("%s/%s", driverName, volumeHandle)
    		volumeLimitKey := volumeutil.GetCSIAttachLimitKey(driverName)
    		result[volumeUniqueName] = volumeLimitKey
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/text/unicode/norm/composition.go

    		panic("streamSafe was not reset")
    	}
    	n := p.nLeadingNonStarters()
    	if *ss += streamSafe(n); *ss > maxNonStarters {
    		*ss = 0
    		return ssOverflow
    	}
    	// The Stream-Safe Text Processing prescribes that the counting can stop
    	// as soon as a starter is encountered. However, there are some starters,
    	// like Jamo V and T, that can combine with other runes, leaving their
    	// successive non-starters appended to the previous, possibly causing an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 14.1K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParametersIntegrationTest.groovy

                        println("service: value is \${value}")
                        return value
                    }
                }
    
                def countingService = gradle.sharedServices.registerIfAbsent("counting", CountingService) { }
    
                task runWork(type: ParameterTask) {
                    isolationMode = '${isolationMode}'
                    parameters {
                        testParam.set(countingService)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 13.2K bytes
    - Viewed (0)
Back to top