Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 248 for prlimit (0.17 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    		// If updating memory limit, use most recently configured CPU request and limit values.
    		// If updating CPU request and limit, use most recently configured memory request and limit values.
    		switch resourceName {
    		case v1.ResourceMemory:
    			container.Resources.Limits = v1.ResourceList{
    				v1.ResourceCPU:    *resource.NewMilliQuantity(cInfo.currentContainerResources.cpuLimit, resource.DecimalSI),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/node_container_manager_linux.go

    	"k8s.io/apimachinery/pkg/types"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/klog/v2"
    	kubefeatures "k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/kubelet/events"
    	"k8s.io/kubernetes/pkg/kubelet/stats/pidlimit"
    	kubetypes "k8s.io/kubernetes/pkg/kubelet/types"
    )
    
    const (
    	defaultNodeAllocatableCgroupName = "kubepods"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    								kubeContainerID: kcs.ID,
    								desiredContainerResources: containerResources{
    									memoryLimit: mem100M.Value(),
    									cpuLimit:    cpu100m.MilliValue(),
    								},
    								currentContainerResources: &containerResources{
    									memoryLimit: mem200M.Value(),
    									cpuLimit:    cpu200m.MilliValue(),
    								},
    							},
    						},
    						v1.ResourceCPU: {
    							{
    								apiContainerIdx: 1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/stdlib_test.go

    	// type-checking (see golang/go#47729).
    	cpulimit := make(chan struct{}, runtime.GOMAXPROCS(0))
    	var wg sync.WaitGroup
    
    	for dir := range dirFiles {
    		dir := dir
    
    		cpulimit <- struct{}{}
    		wg.Add(1)
    		go func() {
    			defer func() {
    				wg.Done()
    				<-cpulimit
    			}()
    
    			_, err := c.getDirPackage(dir)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/runtime/os_wasm.go

    func mdestroy(mp *m) {
    }
    
    // wasm has no signals
    const _NSIG = 0
    
    func signame(sig uint32) string {
    	return ""
    }
    
    func crash() {
    	*(*int32)(nil) = 0
    }
    
    func initsig(preinit bool) {
    }
    
    // May run with m.p==nil, so write barriers are not allowed.
    //
    //go:nowritebarrier
    func newosproc(mp *m) {
    	throw("newosproc: not implemented")
    }
    
    //go:linkname os_sigpipe os.sigpipe
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt

      }
    
      // Fast path: no characters in [pos..limit) required encoding.
      return substring(pos, limit)
    }
    
    internal fun Buffer.writePercentDecoded(
      encoded: String,
      pos: Int,
      limit: Int,
      plusIsSpace: Boolean,
    ) {
      var codePoint: Int
      var i = pos
      while (i < limit) {
        codePoint = encoded.codePointAt(i)
        if (codePoint == '%'.code && i + 2 < limit) {
          val d1 = encoded[i + 1].parseHexDigit()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. src/runtime/os_plan9.go

    }
    
    //go:nosplit
    func crash() {
    	notify(nil)
    	*(*int)(nil) = 0
    }
    
    //go:nosplit
    func readRandom(r []byte) int {
    	return 0
    }
    
    func initsig(preinit bool) {
    	if !preinit {
    		notify(unsafe.Pointer(abi.FuncPCABI0(sigtramp)))
    	}
    }
    
    //go:nosplit
    func osyield() {
    	sleep(0)
    }
    
    //go:nosplit
    func osyield_no_g() {
    	osyield()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. src/cmd/gofmt/gofmt.go

    //
    // For now, this is arbitrarily set to 200, based on the observation that many
    // platforms default to a kernel limit of 256. Ideally, perhaps we should derive
    // it from rlimit on platforms that support that system call.
    //
    // File descriptors opened from outside of this package are not tracked,
    // so this limit may be approximate.
    var fdSem = make(chan bool, 200)
    
    var (
    	rewrite    func(*token.FileSet, *ast.File) *ast.File
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    	Minflt   int64
    	Majflt   int64
    	Nswap    int64
    	Inblock  int64
    	Oublock  int64
    	Msgsnd   int64
    	Msgrcv   int64
    	Nsignals int64
    	Nvcsw    int64
    	Nivcsw   int64
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    // { int, short, short } in poll.h
    type PollFd struct {
    	Fd      int32
    	Events  int16
    	Revents int16
    }
    
    type Stat_t struct { //Linux Definition
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. .github/dependabot.yml

      - package-ecosystem: "gomod"
        directory: "/"
        schedule:
          interval: "daily"
        # Limit number of open PRs to 0 so that we only get security updates
        # See https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates
        open-pull-requests-limit: 0
        labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:04:41 UTC 2024
    - 480 bytes
    - Viewed (0)
Back to top