Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,068 for shares (0.39 sec)

  1. pkg/apis/flowcontrol/v1beta3/conversion_test.go

    				Type: v1beta3.PriorityLevelEnablementLimited,
    				Limited: &v1beta3.LimitedPriorityLevelConfiguration{
    					NominalConcurrencyShares: shares,
    					LimitResponse: v1beta3.LimitResponse{
    						Type: v1beta3.LimitResponseTypeReject,
    					},
    				},
    			},
    		}
    	}
    
    	outObjFn := func(shares int32, annotations map[string]string) *flowcontrol.PriorityLevelConfiguration {
    		return &flowcontrol.PriorityLevelConfiguration{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/helpers_linux.go

    }
    
    // sharesToMilliCPU converts CpuShares (cpu.shares) to milli-CPU value
    // TODO(vinaykul,InPlacePodVerticalScaling): Address issue that sets min req/limit to 2m/10m before beta
    // See: https://github.com/kubernetes/kubernetes/pull/102884#discussion_r662552642
    func sharesToMilliCPU(shares int64) int64 {
    	milliCPU := int64(0)
    	if shares >= int64(cm.MinShares) {
    		milliCPU = int64(math.Ceil(float64(shares*milliCPUToCPU) / float64(cm.SharesPerCPU)))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. pkg/apis/flowcontrol/v1beta2/conversion_test.go

    	tests := []struct {
    		name     string
    		in       *v1beta2.LimitedPriorityLevelConfiguration
    		expected *flowcontrol.LimitedPriorityLevelConfiguration
    	}{
    		{
    			name: "nominal concurrency shares is set as expected",
    			in: &v1beta2.LimitedPriorityLevelConfiguration{
    				AssuredConcurrencyShares: 100,
    				LimitResponse: v1beta2.LimitResponse{
    					Type: v1beta2.LimitResponseTypeReject,
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 26 19:34:10 UTC 2022
    - 3K bytes
    - Viewed (0)
  4. pkg/apis/flowcontrol/v1beta1/conversion_test.go

    	tests := []struct {
    		name     string
    		in       *v1beta1.LimitedPriorityLevelConfiguration
    		expected *flowcontrol.LimitedPriorityLevelConfiguration
    	}{
    		{
    			name: "nominal concurrency shares is set as expected",
    			in: &v1beta1.LimitedPriorityLevelConfiguration{
    				AssuredConcurrencyShares: 100,
    				LimitResponse: v1beta1.LimitResponse{
    					Type: v1beta1.LimitResponseTypeReject,
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 26 19:34:10 UTC 2022
    - 3K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/scopeids/id/BuildInvocationScopeId.java

     *
     * Here, the term "build" is used to represent the overall invocation.
     * For example, buildSrc shares the same build scope ID as the overall build.
     * All composite participants also share the same build scope ID.
     * That is, all “nested” build trees (in terms of GradleLauncher, GradleBuild etc.) share the same build invocation ID.
     *
     * This ID is, by definition, not persistent.
     */
    @ServiceScope(Scope.BuildTree.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/types.go

    	SetCgroupConfig(name CgroupName, resource v1.ResourceName, resourceConfig *ResourceConfig) error
    }
    
    // QOSContainersInfo stores the names of containers per qos
    type QOSContainersInfo struct {
    	Guaranteed CgroupName
    	BestEffort CgroupName
    	Burstable  CgroupName
    }
    
    // PodContainerManager stores and manages pod level containers
    // The Pod workers interact with the PodContainerManager to create and destroy
    // containers for the pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. platforms/software/resources/src/integTest/groovy/org/gradle/internal/resource/ExternalResourceNameIntegrationTest.groovy

    class ExternalResourceNameIntegrationTest extends AbstractIntegrationSpec {
    
        // Network shares on Linux and macOS are just normal file paths, so we don't have anything to test here
        @Requires(UnitTestPreconditions.Windows)
        def "can access repository on network share"() {
            //since we do not have a network share, we test the failure case and assert that the correct path was searched
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 08:36:39 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/helpers_unsupported.go

    	MinQuotaPeriod = 0
    )
    
    // MilliCPUToQuota converts milliCPU and period to CFS quota values.
    func MilliCPUToQuota(milliCPU, period int64) int64 {
    	return 0
    }
    
    // MilliCPUToShares converts the milliCPU to CFS shares.
    func MilliCPUToShares(milliCPU int64) int64 {
    	return 0
    }
    
    // ResourceConfigForPod takes the input pod and outputs the cgroup resource config.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.h

    #include "mlir/IR/Builders.h"  // from @llvm-project
    
    namespace mlir::quant {
    
    // Caclulate padding values for XLA ops.
    // Padding values for Uniform Quantized ops can be generated with this method as
    // well as it shares the same definition for padding attribute with the XLA ops.
    Value CalculatePaddingAndPadIfNeeded(OpBuilder &builder, Location loc,
                                         Value input, Value filter,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/ApplicationServiceRegistration.kt

    import kotlin.concurrent.withLock
    import kotlin.reflect.KClass
    import kotlin.reflect.KProperty
    
    /**
     * [ApplicationServiceRegistration] centralizes registration of services with shared [MockApplication]s.
     *
     * The Kotlin core environment shares the application between multiple tests running in parallel. We need to ensure that application
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 16 11:53:35 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top