Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 137 for cpuinit (0.36 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container_windows_test.go

    	tests := []struct {
    		name     string
    		cpuLimit resource.Quantity
    		cpuCount int64
    		want     int64
    	}{
    		{
    			name:     "max range when same amount",
    			cpuLimit: resource.MustParse("1"),
    			cpuCount: 1,
    			want:     10000,
    		},
    		{
    			name:     "percentage calculation is working as intended",
    			cpuLimit: resource.MustParse("94"),
    			cpuCount: 96,
    			want:     9791,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container_windows.go

    			memLimit = resource.NewQuantity(runtimeStatusResources.MemoryLimitInBytes, resource.BinarySI)
    		}
    
    		if cpuLimit != nil || memLimit != nil {
    			cStatusResources = &kubecontainer.ContainerResources{
    				CPULimit:    cpuLimit,
    				MemoryLimit: memLimit,
    			}
    		}
    	}
    	return cStatusResources
    }
    
    func toKubeContainerUser(statusUser *runtimeapi.ContainerUser) *kubecontainer.ContainerUser {
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modcmd/init.go

    Gopkg.lock), and the current directory (if in GOPATH).
    
    See https://golang.org/ref/mod#go-mod-init for more about 'go mod init'.
    `,
    	Run: runInit,
    }
    
    func init() {
    	base.AddChdirFlag(&cmdInit.Flag)
    	base.AddModCommonFlags(&cmdInit.Flag)
    }
    
    func runInit(ctx context.Context, cmd *base.Command, args []string) {
    	if len(args) > 1 {
    		base.Fatalf("go: 'go mod init' accepts at most one argument")
    	}
    	var modPath string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 15:51:46 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/go/internal/workcmd/init.go

    See the workspaces reference at https://go.dev/ref/mod#workspaces
    for more information.
    `,
    	Run: runInit,
    }
    
    func init() {
    	base.AddChdirFlag(&cmdInit.Flag)
    	base.AddModCommonFlags(&cmdInit.Flag)
    }
    
    func runInit(ctx context.Context, cmd *base.Command, args []string) {
    	modload.InitWorkfile()
    
    	modload.ForceUseModules = true
    
    	gowork := modload.WorkFilePath()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. CITATION.cff

    # This CITATION.cff file was generated with cffinit.
    # Visit https://bit.ly/cffinit to generate yours today!
    
    cff-version: 1.2.0
    title: FastAPI
    message: >-
      If you use this software, please cite it using the
      metadata from this file.
    type: software
    authors:
      - given-names: Sebastián
        family-names: Ramírez
        email: ******@****.***
    identifiers:
    repository-code: 'https://github.com/tiangolo/fastapi'
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Oct 22 10:03:38 UTC 2023
    - 615 bytes
    - Viewed (0)
  7. pilot/cmd/pilot-agent/config/config.go

    		// only 2 CPUs allocated, we want to have 2 threads, not 100, or we will get excessively throttled.
    		if CPULimit != 0 {
    			log.Infof("cpu limit detected as %v, setting concurrency", CPULimit)
    			proxyConfig.Concurrency = wrapperspb.Int32(int32(CPULimit))
    		}
    	}
    	// Respect the old flag, if they set it. This should never be set in typical installation.
    	if concurrency != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. okhttp-android/src/main/baseline-prof.txt

    HSPLkotlinx/coroutines/CoroutineExceptionHandler$Key;-><clinit>()V
    HSPLkotlinx/coroutines/CoroutineExceptionHandler$Key;-><init>()V
    HSPLkotlinx/coroutines/CoroutineExceptionHandlerImplKt$$ExternalSyntheticServiceLoad0;->m()Ljava/util/Iterator;
    HSPLkotlinx/coroutines/CoroutineExceptionHandlerImplKt;-><clinit>()V
    HSPLkotlinx/coroutines/DefaultExecutorKt;-><clinit>()V
    HSPLkotlinx/coroutines/DispatchedCoroutine;-><clinit>()V
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  9. 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)
  10. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/build.gradle

                cunit {
                    headers.srcDir "libs/cunit/2.1-2/include"
                    binaries.withType(StaticLibraryBinary) {
                        staticLibraryFile =
                            file("libs/cunit/2.1-2/lib/" +
                                 findCUnitLibForPlatform(targetPlatform))
                    }
                }
            }
        }
    // tag::terse-example[]
        components {
            operators(NativeLibrarySpec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top