Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 348 for Gomaxprocs (0.15 sec)

  1. src/internal/trace/traceviewer/emitter.go

    	tasks                        map[uint64]task
    	asyncSliceSeq                uint64
    }
    
    type task struct {
    	name      string
    	sortIndex int
    }
    
    func (e *Emitter) Gomaxprocs(v uint64) {
    	if v > e.gomaxprocs {
    		e.gomaxprocs = v
    	}
    }
    
    func (e *Emitter) Resource(id uint64, name string) {
    	if e.filter != nil && !e.filter(id) {
    		return
    	}
    	e.resources[id] = name
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:58 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  2. pkg/kube/inject/testdata/inject/hello-multi.yaml.injected

              value: hello
            - name: GOMEMLIMIT
              valueFrom:
                resourceFieldRef:
                  divisor: "0"
                  resource: limits.memory
            - name: GOMAXPROCS
              valueFrom:
                resourceFieldRef:
                  divisor: "0"
                  resource: limits.cpu
            - name: ISTIO_META_CLUSTER_ID
              value: Kubernetes
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. src/sort/search_test.go

    	StringSlice(sdata).Search("x")
    }
    
    func TestSearchWrappersDontAlloc(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping malloc count in short mode")
    	}
    	if runtime.GOMAXPROCS(0) > 1 {
    		t.Skip("skipping; GOMAXPROCS>1")
    	}
    	allocs := testing.AllocsPerRun(100, runSearchWrappers)
    	if allocs != 0 {
    		t.Errorf("expected no allocs for runSearchWrappers, got %v", allocs)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 07 14:42:13 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  4. src/runtime/lfstack_test.go

    	if LFStackPop(stack) != nil {
    		t.Fatalf("stack is not empty")
    	}
    	if *stack != 0 {
    		t.Fatalf("stack is not empty")
    	}
    }
    
    func TestLFStackStress(t *testing.T) {
    	const K = 100
    	P := 4 * GOMAXPROCS(-1)
    	N := 100000
    	if testing.Short() {
    		N /= 10
    	}
    	// Create 2 stacks.
    	stacks := [2]*uint64{new(uint64), new(uint64)}
    	// Push K elements randomly onto the stacks.
    	sum := 0
    	for i := 0; i < K; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 23:12:04 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  5. operator/cmd/mesh/testdata/manifest-generate/output/pilot_override_values.golden.yaml

              value: "false"
            - name: CLUSTER_ID
              value: Kubernetes
            - name: GOMEMLIMIT
              valueFrom:
                resourceFieldRef:
                  resource: limits.memory
            - name: GOMAXPROCS
              valueFrom:
                resourceFieldRef:
                  resource: limits.cpu
            - name: PLATFORM
              value: ""
            image: docker.io/istio/pilot:1.1.4
            name: discovery
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 22:07:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. src/runtime/export_test.go

    	trigger, _ := c.trigger()
    	if c.heapMarked > trigger {
    		trigger = c.heapMarked
    	}
    	c.maxStackScan.Store(stackSize)
    	c.globalsScan.Store(globalsSize)
    	c.heapLive.Store(trigger)
    	c.heapScan.Add(int64(float64(trigger-c.heapMarked) * scannableFrac))
    	c.startCycle(0, gomaxprocs, gcTrigger{kind: gcTriggerHeap})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  7. src/go/doc/testdata/testing.go

    	cpuListStr     = flag.String("test.cpu", "", "comma-separated list of number of CPUs to use for each test")
    	parallel       = flag.Int("test.parallel", runtime.GOMAXPROCS(0), "maximum test parallelism")
    
    	cpuList []int
    )
    
    // common holds the elements common between T and B and
    // captures common methods such as Errorf.
    type common struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  8. operator/cmd/mesh/testdata/manifest-generate/output/pilot_k8s_settings.golden.yaml

              value: "false"
            - name: CLUSTER_ID
              value: Kubernetes
            - name: GOMEMLIMIT
              valueFrom:
                resourceFieldRef:
                  resource: limits.memory
            - name: GOMAXPROCS
              valueFrom:
                resourceFieldRef:
                  resource: limits.cpu
            - name: PLATFORM
              value: ""
            image: docker.io/istio/pilot:1.1.4
            name: discovery
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 06 02:56:54 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. pkg/kube/inject/testdata/inject/explicit-security-context.yaml.injected

              value: hello
            - name: GOMEMLIMIT
              valueFrom:
                resourceFieldRef:
                  divisor: "0"
                  resource: limits.memory
            - name: GOMAXPROCS
              valueFrom:
                resourceFieldRef:
                  divisor: "0"
                  resource: limits.cpu
            - name: ISTIO_META_CLUSTER_ID
              value: Kubernetes
            - name: ISTIO_META_NODE_NAME
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. pkg/kube/inject/testdata/inject/prometheus-scrape2.yaml.injected

            ]
        - name: ISTIO_META_APP_CONTAINERS
          value: hello
        - name: GOMEMLIMIT
          valueFrom:
            resourceFieldRef:
              divisor: "0"
              resource: limits.memory
        - name: GOMAXPROCS
          valueFrom:
            resourceFieldRef:
              divisor: "0"
              resource: limits.cpu
        - name: ISTIO_META_CLUSTER_ID
          value: Kubernetes
        - name: ISTIO_META_NODE_NAME
          valueFrom:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top