Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for Thresholds (0.18 sec)

  1. pkg/kubelet/cm/helpers.go

    func hardEvictionReservation(thresholds []evictionapi.Threshold, capacity v1.ResourceList) v1.ResourceList {
    	if len(thresholds) == 0 {
    		return nil
    	}
    	ret := v1.ResourceList{}
    	for _, threshold := range thresholds {
    		if threshold.Operator != evictionapi.OpLessThan {
    			continue
    		}
    		switch threshold.Signal {
    		case evictionapi.SignalMemoryAvailable:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. src/math/big/calibrate_test.go

    		if i == from {
    			initPos = pos
    		}
    		if threshold == 0 && pos != initPos {
    			threshold = i
    			fmt.Printf("  threshold  found")
    		}
    		fmt.Println()
    
    	}
    	if threshold != 0 {
    		fmt.Printf("Found threshold = %d between %d - %d\n", threshold, from, to)
    	} else {
    		fmt.Printf("Found NO threshold between %d - %d\n", from, to)
    	}
    	return threshold
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. pkg/kubelet/eviction/types.go

    	MaxPodGracePeriodSeconds int64
    	// Thresholds define the set of conditions monitored to trigger eviction.
    	Thresholds []evictionapi.Threshold
    	// KernelMemcgNotification if true will integrate with the kernel memcg notification to determine if memory thresholds are crossed.
    	KernelMemcgNotification bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. pkg/istio-agent/health/health_check.go

    			numSuccess++
    			// wipe numFail (need consecutive success)
    			numFail = 0
    			// if we reached the threshold, mark the target as healthy
    			if numSuccess == w.config.SuccessThresh && lastState != lastStateHealthy {
    				healthCheckLog.Info("success threshold hit, marking as healthy")
    				callback(&ProbeEvent{Healthy: true})
    				numSuccess = 0
    				lastState = lastStateHealthy
    			}
    		} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 21 03:06:44 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  5. tests/binary/binaries_test.go

    		if got < tt.minMb {
    			t.Fatalf("Binary size of %dmb was smaller than min allowed size %dmb. This is very likely a good thing, "+
    				"indicating the binary size has decreased. The test will fail to ensure you update the test thresholds to ensure "+
    				"the improvements are 'locked in'.", got, tt.minMb)
    		}
    	})
    }
    
    // If this flag is present, it means "testing" was imported by code that is built by the binary
    var denylistedFlags = []string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. pkg/kubelet/eviction/threshold_notifier_linux.go

    // to receive notifications from the cgroup when the threshold is crossed in either direction.
    func NewCgroupNotifier(path, attribute string, threshold int64) (CgroupNotifier, error) {
    	// cgroupv2 does not support monitoring cgroup memory thresholds using cgroup.event_control.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 01 21:59:54 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/imagelocality/image_locality.go

    	"fmt"
    	"strings"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/names"
    )
    
    // The two thresholds are used as bounds for the image score range. They correspond to a reasonable size range for
    // container images compressed and stored in registries; 90%ile of images on dockerhub drops into this range.
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 06:17:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. docs/en/docs/fastapi-people.md

    Here I'm also highlighting contributions from sponsors.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 16 23:54:24 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. pkg/kubelet/eviction/memory_threshold_notifier_test.go

    	}
    	return &statsapi.Summary{
    		Node: statsapi.NodeStats{
    			Memory: &memoryStats,
    		},
    	}
    }
    
    func newTestMemoryThresholdNotifier(threshold evictionapi.Threshold, factory NotifierFactory, handler func(string)) *memoryThresholdNotifier {
    	return &memoryThresholdNotifier{
    		threshold:  threshold,
    		cgroupPath: testCgroupPath,
    		events:     make(chan struct{}),
    		factory:    factory,
    		handler:    handler,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. test/fixedbugs/issue29329.go

    	}
    }
    
    // A DouglasPeuckerSimplifier wraps the DouglasPeucker function.
    type DouglasPeuckerSimplifier struct {
    	Threshold float64
    }
    
    // DouglasPeucker creates a new DouglasPeuckerSimplifier.
    func DouglasPeucker(threshold float64) *DouglasPeuckerSimplifier {
    	return &DouglasPeuckerSimplifier{
    		Threshold: threshold,
    	}
    }
    
    func (s *DouglasPeuckerSimplifier) LineString(ls LineString) LineString {
    	return lineString(s, ls)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top