Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 196 for memlimit (0.15 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    			// one page of the segment, and it extends at least one page past the
    			// segment, then this mapping comes from a different segment.
    			if mapOff > p.Off && (segLimit < mapOff+pageSize) && (mapLimit >= segLimit+pageSize) {
    				continue
    			}
    			headers = append(headers, p)
    		}
    	}
    	return headers
    }
    
    // HeaderForFileOffset attempts to identify a unique program header that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. src/cmd/go/internal/base/limit.go

    	"runtime"
    	"strconv"
    	"sync"
    )
    
    var NetLimitGodebug = godebug.New("#cmdgonetlimit")
    
    // NetLimit returns the limit on concurrent network operations
    // configured by GODEBUG=cmdgonetlimit, if any.
    //
    // A limit of 0 (indicated by 0, true) means that network operations should not
    // be allowed.
    func NetLimit() (int, bool) {
    	netLimitOnce.Do(func() {
    		s := NetLimitGodebug.Value()
    		if s == "" {
    			return
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 02:47:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. src/runtime/testdata/testprog/gc.go

    		println("insufficient CPUs")
    		return
    	}
    	debug.SetGCPercent(gcPercent)
    
    	const myLimit = 256 << 20
    	if limit := debug.SetMemoryLimit(-1); limit != math.MaxInt64 {
    		print("expected MaxInt64 limit, got ", limit, " bytes instead\n")
    		return
    	}
    	if limit := debug.SetMemoryLimit(myLimit); limit != math.MaxInt64 {
    		print("expected MaxInt64 limit, got ", limit, " bytes instead\n")
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  4. releasenotes/notes/gomaxprocs.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: installation
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 01 19:55:13 UTC 2023
    - 186 bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        peekedHeader = null
    
        val pushedLimit = limit
        val pushedConstructed = constructed
    
        val newLimit = if (header.length != -1L) byteCount + header.length else -1L
        if (pushedLimit != -1L && newLimit > pushedLimit) {
          throw ProtocolException("enclosed object too large")
        }
    
        limit = newLimit
        constructed = header.constructed
        if (name != null) path += name
        try {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container_windows_test.go

    	require.NoError(t, err)
    
    	tests := []struct {
    		name     string
    		cpuLim   resource.Quantity
    		memLim   resource.Quantity
    		expected *runtimeapi.WindowsContainerResources
    	}{
    		{
    			name:   "Request128MBLimit256MB",
    			cpuLim: resource.MustParse("2"),
    			memLim: resource.MustParse("128Mi"),
    			expected: &runtimeapi.WindowsContainerResources{
    				CpuMaximum:         2500,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sync/errgroup/errgroup.go

    		}
    	}()
    	return true
    }
    
    // SetLimit limits the number of active goroutines in this group to at most n.
    // A negative value indicates no limit.
    //
    // Any subsequent call to the Go method will block until it can add an active
    // goroutine without exceeding the configured limit.
    //
    // The limit must not be modified while any goroutines in the group are active.
    func (g *Group) SetLimit(n int) {
    	if n < 0 {
    		g.sem = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    		cpuReq        *resource.Quantity
    		cpuLim        *resource.Quantity
    		memLim        *resource.Quantity
    		expected      *runtimeapi.LinuxContainerResources
    		cgroupVersion CgroupVersion
    	}{
    		{
    			name:   "Request128MBLimit256MB",
    			cpuReq: generateResourceQuantity("1"),
    			cpuLim: generateResourceQuantity("2"),
    			memLim: generateResourceQuantity("128Mi"),
    			expected: &runtimeapi.LinuxContainerResources{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  9. operator/cmd/mesh/testdata/manifest-generate/output/install_package_path.golden.yaml

            - name: PILOT_TRACE_SAMPLING
              value: "1"
            - name: PILOT_ENABLE_ANALYSIS
              value: "false"
            - name: CLUSTER_ID
              value: Kubernetes
            - name: GOMEMLIMIT
              valueFrom:
                resourceFieldRef:
                  resource: limits.memory
            - name: GOMAXPROCS
              valueFrom:
                resourceFieldRef:
                  resource: limits.cpu
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 22:07:45 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. pkg/kube/inject/testdata/inject/list.yaml.injected

                value: |-
                  [
                      {"name":"http","containerPort":80}
                  ]
              - name: ISTIO_META_APP_CONTAINERS
                value: hello
              - name: GOMEMLIMIT
                valueFrom:
                  resourceFieldRef:
                    divisor: "0"
                    resource: limits.memory
              - name: GOMAXPROCS
                valueFrom:
                  resourceFieldRef:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top