Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,046 for shares (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/xl-storage-format-v2_test.go

    			versionID: mustGetUUID(),
    			dataDir:   d1,
    			data:      data2,
    			shares:    0,
    		},
    		{ // transitioned object version don't count towards shared data directory
    			versionID:        mustGetUUID(),
    			dataDir:          d2,
    			shares:           3,
    			transitionStatus: lifecycle.TransitionComplete,
    		},
    		{ // transitioned object version with an ongoing restore-object request.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/qos_container_manager_linux.go

    			burstablePodCPURequest += request.MilliValue()
    		}
    	}
    
    	// make sure best effort is always 2 shares
    	bestEffortCPUShares := uint64(MinShares)
    	configs[v1.PodQOSBestEffort].ResourceParameters.CPUShares = &bestEffortCPUShares
    
    	// set burstable shares based on current observe state
    	burstableCPUShares := MilliCPUToShares(burstablePodCPURequest)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 20:42:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/cgroup_manager_linux.go

    }
    
    // Convert cgroup v1 cpu.shares value to cgroup v2 cpu.weight
    // https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/2254-cgroup-v2#phase-1-convert-from-cgroups-v1-settings-to-v2
    func CpuSharesToCpuWeight(cpuShares uint64) uint64 {
    	return uint64((((cpuShares - 2) * 9999) / 262142) + 1)
    }
    
    // Convert cgroup v2 cpu.weight value to cgroup v1 cpu.shares
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  7. src/image/image.go

    	s[0] = c.R
    	s[1] = c.G
    	s[2] = c.B
    	s[3] = c.A
    }
    
    // SubImage returns an image representing the portion of the image p visible
    // through r. The returned value shares pixels with the original image.
    func (p *RGBA) SubImage(r Rectangle) Image {
    	r = r.Intersect(p.Rect)
    	// If r1 and r2 are Rectangles, r1.Intersect(r2) is not guaranteed to be inside
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 34.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
        val request = Request(server.url("/"))
        val response = client.newCall(request).execute()
        response.body.close()
    
        // This client shares a connection pool but has a different SSL socket factory.
        val handshakeCertificates2 = HandshakeCertificates.Builder().build()
        val anotherClient =
          client.newBuilder()
            .sslSocketFactory(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/node_container_manager_linux.go

    		nodeAllocatable = cm.getNodeAllocatableInternalAbsolute()
    	}
    
    	cgroupConfig := &CgroupConfig{
    		Name: cm.cgroupRoot,
    		// The default limits for cpu shares can be very low which can lead to CPU starvation for pods.
    		ResourceParameters: getCgroupConfig(nodeAllocatable),
    	}
    	if cm.cgroupManager.Exists(cgroupConfig.Name) {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

        Allocate futures and promsies for tensorflow tensors.
    
        $num_futures: The number of futures to be allocated.
    
        $promises: There are $num_futures promises. promises[i] shares the state with futures[i].
        $futures: There are $num_futures futures. futures[i] shares the state with promises[i].
      }];
    
      let arguments = (ins
        I32Attr:$num_futures
      );
    
      let results = (outs
        Variadic<MlrtPromiseType>:$promises,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top