Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for cpuinit (0.15 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/CUnit.h

    #ifndef CU_BOOL
      /** Boolean type for CUnit use. */
      #define CU_BOOL int
    #endif
    
    #ifndef CU_TRUE
      /** Boolean TRUE for CUnit use. */
      #define CU_TRUE 1
    #endif
    
    #ifndef CU_FALSE
      /** Boolean FALSE for CUnit use. */
      #define CU_FALSE 0
    #endif
    
    #ifndef CU_UNREFERENCED_PARAMETER
      /** Consistent approach to referencing unused parameters. */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    		if runtimeStatusResources.MemoryLimitInBytes > 0 {
    			memLimit = resource.NewQuantity(runtimeStatusResources.MemoryLimitInBytes, resource.BinarySI)
    		}
    		if cpuLimit != nil || memLimit != nil || cpuRequest != nil {
    			cStatusResources = &kubecontainer.ContainerResources{
    				CPULimit:    cpuLimit,
    				CPURequest:  cpuRequest,
    				MemoryLimit: memLimit,
    			}
    		}
    	}
    	return cStatusResources
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/cpumanager/topology/topology_test.go

    }
    
    func TestCPUDetailsKeepOnly(t *testing.T) {
    
    	var details CPUDetails
    	details = map[int]CPUInfo{
    		0: {},
    		1: {},
    		2: {},
    	}
    
    	tests := []struct {
    		name string
    		cpus cpuset.CPUSet
    		want CPUDetails
    	}{{
    		name: "cpus is in CPUDetails.",
    		cpus: cpuset.New(0, 1),
    		want: map[int]CPUInfo{
    			0: {},
    			1: {},
    		},
    	}, {
    		name: "cpus is not in CPUDetails.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  4. pkg/api/v1/resource/helpers_test.go

    )
    
    func TestResourceHelpers(t *testing.T) {
    	cpuLimit := resource.MustParse("10")
    	memoryLimit := resource.MustParse("10G")
    	resourceSpec := v1.ResourceRequirements{
    		Limits: v1.ResourceList{
    			v1.ResourceCPU:    cpuLimit,
    			v1.ResourceMemory: memoryLimit,
    		},
    	}
    	if res := resourceSpec.Limits.Cpu(); res.Cmp(cpuLimit) != 0 {
    		t.Errorf("expected cpulimit %v, got %v", cpuLimit, res)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:13 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cpumanager/cpu_manager_test.go

    	found     bool
    }
    
    func (psp mockPodStatusProvider) GetPodStatus(uid types.UID) (v1.PodStatus, bool) {
    	return psp.podStatus, psp.found
    }
    
    func makePod(podUID, containerName, cpuRequest, cpuLimit string) *v1.Pod {
    	pod := &v1.Pod{
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{
    				{
    					Resources: v1.ResourceRequirements{
    						Requests: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  6. pkg/apis/core/fuzzer/fuzzer.go

    		},
    		func(q *core.LimitRangeItem, c fuzz.Continue) {
    			var cpuLimit resource.Quantity
    			c.Fuzz(&cpuLimit)
    
    			q.Type = core.LimitTypeContainer
    			q.Default = make(core.ResourceList)
    			q.Default[core.ResourceCPU] = cpuLimit.DeepCopy()
    
    			q.DefaultRequest = make(core.ResourceList)
    			q.DefaultRequest[core.ResourceCPU] = cpuLimit.DeepCopy()
    
    			q.Max = make(core.ResourceList)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 04:32:01 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. pkg/kubelet/stats/cadvisor_stats_provider.go

    	if !info.Spec.HasCpu || !info.Spec.HasMemory {
    		return false
    	}
    	cstat, found := latestContainerStats(info)
    	if !found {
    		return false
    	}
    	if cstat.CpuInst == nil {
    		return false
    	}
    	return cstat.CpuInst.Usage.Total != 0 && cstat.Memory.RSS != 0
    }
    
    // isContainerTerminated returns true if the specified container meet one of the following conditions
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 16 13:34:22 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  8. pkg/kubelet/stats/provider_test.go

    	cinfo := getTestContainerInfo(seed, podName, podNamespace, containerName)
    	cinfo.Stats[0].Memory.RSS = 0
    	cinfo.Stats[0].CpuInst.Usage.Total = 0
    	cinfo.Stats[0].Network = &cadvisorapiv2.NetworkStats{
    		Interfaces: []cadvisorapiv1.InterfaceStats{{
    			Name:     "eth0",
    			RxBytes:  0,
    			RxErrors: 0,
    			TxBytes:  0,
    			TxErrors: 0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.jar

    ClassNotFoundExcepti; public java.net.URL getResource(String); public java.util.Enumeration findResources(String) throws java.io.IOException; public java.io.InputStream getResourceAsStream(String); public void display(); public boolean equals(Object); static void <clinit>(); } org/codehaus/classworlds/ClassRealmReverseAda.class package org.codehaus.classworlds; public synchronized class ClassRealmReverseAda extends org.codehaus.plexus.classworlds.realm.ClassRealm { private static java.util.HashMap instances; private...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 41.6K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/cpumanager/policy_test.go

    import (
    	"k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/topology"
    )
    
    var (
    	topoSingleSocketHT = &topology.CPUTopology{
    		NumCPUs:    8,
    		NumSockets: 1,
    		NumCores:   4,
    		CPUDetails: map[int]topology.CPUInfo{
    			0: {CoreID: 0, SocketID: 0, NUMANodeID: 0},
    			1: {CoreID: 1, SocketID: 0, NUMANodeID: 0},
    			2: {CoreID: 2, SocketID: 0, NUMANodeID: 0},
    			3: {CoreID: 3, SocketID: 0, NUMANodeID: 0},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 24 20:49:58 UTC 2021
    - 40.6K bytes
    - Viewed (0)
Back to top