Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 520 for measure (0.14 sec)

  1. pkg/scheduler/apis/config/v1/default_plugins_test.go

    	"k8s.io/utils/ptr"
    )
    
    func TestApplyFeatureGates(t *testing.T) {
    	tests := []struct {
    		name       string
    		features   map[featuregate.Feature]bool
    		wantConfig *v1.Plugins
    	}{
    		{
    			name: "Feature gate DynamicResourceAllocation disabled",
    			features: map[featuregate.Feature]bool{
    				features.DynamicResourceAllocation: false,
    			},
    			wantConfig: &v1.Plugins{
    				MultiPoint: v1.PluginSet{
    					Enabled: []v1.Plugin{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:03:04 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. pkg/volume/emptydir/empty_dir.go

    		// ensure 0 < value < size
    		if podMemoryLimit.Cmp(zero) > 0 && podMemoryLimit.Cmp(*sizeLimit) < 1 {
    			sizeLimit = podMemoryLimit
    		}
    	}
    
    	// volume local size is  used if and only if less than what pod could consume
    	if spec.Volume.EmptyDir.SizeLimit != nil {
    		volumeSizeLimit := spec.Volume.EmptyDir.SizeLimit
    		// ensure 0 < value < size
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    	)
    	const (
    		pName0 = "pod0"
    		pName1 = "pod1"
    		pName2 = "pod0" // ensure pName2 conflicts with pName0, but is in a different namespace
    		pName3 = "pod3"
    	)
    	const (
    		cName00 = "c0"
    		cName01 = "c1"
    		cName10 = "c0" // ensure cName10 conflicts with cName02, but is in a different pod
    		cName20 = "c1" // ensure cName20 conflicts with cName01, but is in a different pod + namespace
    		cName30 = "c0-init"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. pkg/scheduler/apis/config/validation/validation_pluginargs_test.go

    			name: "[VolumeCapacityPriority=off] shape should be nil when the feature is off",
    			features: map[featuregate.Feature]bool{
    				features.VolumeCapacityPriority: false,
    			},
    			args: config.VolumeBindingArgs{
    				BindTimeoutSeconds: 10,
    				Shape:              nil,
    			},
    		},
    		{
    			name: "[VolumeCapacityPriority=off] error if the shape is not nil when the feature is off",
    			features: map[featuregate.Feature]bool{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  5. cmd/object_api_suite_test.go

    func (r *testOneByteReadNoEOF) Read(p []byte) (n int, err error) {
    	if r.eof {
    		return 0, io.EOF
    	}
    	n = copy(p, r.data)
    	r.eof = true
    	return n, nil
    }
    
    // Wrapper for calling testMakeBucket for both Erasure and FS.
    func TestMakeBucket(t *testing.T) {
    	ExecObjectLayerTest(t, testMakeBucket)
    }
    
    // Tests validate bucket creation.
    func testMakeBucket(obj ObjectLayer, instanceType string, t TestErrHandler) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. src/runtime/lockrank_on.go

    //
    // Caller must hold worldsema.
    //
    // nosplit to ensure it can be called in as many contexts as possible.
    //
    //go:nosplit
    func worldStarted() {
    	if stopped := worldIsStopped.Add(-1); stopped != 0 {
    		systemstack(func() {
    			print("world stop count=", stopped, "\n")
    			throw("released non-stopped world stop")
    		})
    	}
    }
    
    // nosplit to ensure it can be called in as many contexts as possible.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListener.java

     */
    // If this annotation is not present, all diagnostic messages would be wrapped in a ClientCodeWrapper.
    // We don't need this wrapping feature, hence the trusted annotation.
    @ClientCodeWrapper.Trusted
    public class DiagnosticToProblemListener implements DiagnosticListener<JavaFileObject> {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 06:17:43 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. cmd/kube-scheduler/app/server_test.go

    		restoreFeatures      map[featuregate.Feature]bool
    		wantPlugins          map[string]*config.Plugins
    		wantLeaderElection   *componentbaseconfig.LeaderElectionConfiguration
    		wantClientConnection *componentbaseconfig.ClientConnectionConfiguration
    	}{
    		{
    			name: "default config with an alpha feature enabled",
    			flags: []string{
    				"--kubeconfig", configKubeconfig,
    				"--feature-gates=VolumeCapacityPriority=true",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    * Annotate tests that correspond to a bug on GitHub (`@Issue("https://github.com/gradle/gradle/issues/2622")`).
    * Add documentation to the User Manual and DSL Reference (under [platforms/documentation/docs/src/docs](platforms/documentation/docs/src/docs/)).
    * For Javadocs, follow the [Javadoc Style Guide](JavadocStyleGuide.md).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 01:39:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. pkg/kubelet/volumemanager/cache/desired_state_of_world.go

    */
    package cache
    
    import (
    	"fmt"
    	"sync"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/component-base/metrics"
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/volume/csi"
    
    	resourcehelper "k8s.io/kubernetes/pkg/api/v1/resource"
    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/volume"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top