Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,400 for shares (0.52 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/kubelet/cm/helpers_linux.go

    		return MinShares
    	}
    	if shares > MaxShares {
    		return MaxShares
    	}
    	return uint64(shares)
    }
    
    // HugePageLimits converts the API representation to a map
    // from huge page size (in bytes) to huge page limit (in bytes).
    func HugePageLimits(resourceList v1.ResourceList) map[int64]int64 {
    	hugePageLimits := map[int64]int64{}
    	for k, v := range resourceList {
    		if v1helper.IsHugePageResourceName(k) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 11:52:28 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/helpers_linux_test.go

    		for testMilliCPU = 0; testMilliCPU <= 2000; testMilliCPU++ {
    			shares := int64(cm.MilliCPUToShares(testMilliCPU))
    			if expectedShares, found := knownMilliCPUToShares[testMilliCPU]; found {
    				if shares != expectedShares {
    					t.Errorf("Test milliCPIToShares: Input milliCPU %v, expected shares %v, but got %v", testMilliCPU, expectedShares, shares)
    				}
    			}
    			expectedMilliCPU := testMilliCPU
    			if testMilliCPU < 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResource.java

         * the share permissions on the share exporting this file or directory.
         * If no DACL is present, null is returned. If the DACL is empty, an array with 0 elements is returned.
         * <p>
         * Note that this is different from calling <tt>getSecurity</tt> on a
         * share. There are actually two different ACLs for shares - the ACL on
         * the share and the ACL on the folder being shared.
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * the share permissions on the share exporting this file or directory.
     * If no DACL is present, null is returned. If the DACL is empty, an array with 0 elements is returned.
     * <p>
     * Note that this is different from calling <tt>getSecurity</tt> on a
     * share. There are actually two different ACLs for shares - the ACL on
     * the share and the ACL on the folder being shared.
     * Go to <i>Computer Management</i>
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top