Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 81 for Allocate (0.27 sec)

  1. src/runtime/gc_test.go

    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		b.StartTimer()
    		runtime.GC()
    		runtime.GC()
    		b.StopTimer()
    	}
    	close(teardown)
    }
    
    func BenchmarkMSpanCountAlloc(b *testing.B) {
    	// Allocate one dummy mspan for the whole benchmark.
    	s := runtime.AllocMSpan()
    	defer runtime.FreeMSpan(s)
    
    	// n is the number of bytes to benchmark against.
    	// n must always be a multiple of 8, since gcBits is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

    	{8, "ENOEXEC", "exec format error"},
    	{9, "EBADF", "bad file descriptor"},
    	{10, "ECHILD", "no child processes"},
    	{11, "EAGAIN", "resource temporarily unavailable"},
    	{12, "ENOMEM", "cannot allocate memory"},
    	{13, "EACCES", "permission denied"},
    	{14, "EFAULT", "bad address"},
    	{15, "ENOTBLK", "block device required"},
    	{16, "EBUSY", "device or resource busy"},
    	{17, "EEXIST", "file exists"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

    	{8, "ENOEXEC", "exec format error"},
    	{9, "EBADF", "bad file descriptor"},
    	{10, "ECHILD", "no child processes"},
    	{11, "EAGAIN", "resource temporarily unavailable"},
    	{12, "ENOMEM", "cannot allocate memory"},
    	{13, "EACCES", "permission denied"},
    	{14, "EFAULT", "bad address"},
    	{15, "ENOTBLK", "block device required"},
    	{16, "EBUSY", "device or resource busy"},
    	{17, "EEXIST", "file exists"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  4. cmd/iam-object-store.go

    func listIAMConfigItems(ctx context.Context, objAPI ObjectLayer, pathPrefix string) <-chan itemOrErr[string] {
    	ch := make(chan itemOrErr[string])
    
    	go func() {
    		defer xioutil.SafeClose(ch)
    
    		// Allocate new results channel to receive ObjectInfo.
    		objInfoCh := make(chan itemOrErr[ObjectInfo])
    
    		if err := objAPI.Walk(ctx, minioMetaBucket, pathPrefix, objInfoCh, WalkOptions{}); err != nil {
    			select {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go

    	{8, "ENOEXEC", "exec format error"},
    	{9, "EBADF", "bad file descriptor"},
    	{10, "ECHILD", "no child processes"},
    	{11, "EAGAIN", "resource temporarily unavailable"},
    	{12, "ENOMEM", "cannot allocate memory"},
    	{13, "EACCES", "permission denied"},
    	{14, "EFAULT", "bad address"},
    	{15, "ENOTBLK", "block device required"},
    	{16, "EBUSY", "device or resource busy"},
    	{17, "EEXIST", "file exists"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. src/net/netip/netip.go

    	}
    
    	// Match the stdlib's IsPrivate logic.
    	if ip.Is4() {
    		// RFC 1918 allocates 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 as
    		// private IPv4 address subnets.
    		return ip.v4(0) == 10 ||
    			(ip.v4(0) == 172 && ip.v4(1)&0xf0 == 16) ||
    			(ip.v4(0) == 192 && ip.v4(1) == 168)
    	}
    
    	if ip.Is6() {
    		// RFC 4193 allocates fc00::/7 as the unique local unicast IPv6 address
    		// subnet.
    		return ip.v6(0)&0xfe == 0xfc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  7. cluster/gce/gci/configure-helper.sh

        params+=("--concurrent-service-syncs=${CONCURRENT_SERVICE_SYNCS}")
      fi
      if [[ "${NETWORK_PROVIDER:-}" == "kubenet" ]]; then
        params+=("--allocate-node-cidrs=true")
      elif [[ -n "${ALLOCATE_NODE_CIDRS:-}" ]]; then
        params+=("--allocate-node-cidrs=${ALLOCATE_NODE_CIDRS}")
      fi
      if [[ -n "${TERMINATED_POD_GC_THRESHOLD:-}" ]]; then
        params+=("--terminated-pod-gc-threshold=${TERMINATED_POD_GC_THRESHOLD}")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/types.go

    	r.SetScalar(name, r.ScalarResources[name]+quantity)
    }
    
    // SetScalar sets a resource by a scalar value of this resource.
    func (r *Resource) SetScalar(name v1.ResourceName, quantity int64) {
    	// Lazily allocate scalar resource map.
    	if r.ScalarResources == nil {
    		r.ScalarResources = map[v1.ResourceName]int64{}
    	}
    	r.ScalarResources[name] = quantity
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  9. src/go/types/unify.go

    func newUnifier(tparams []*TypeParam, targs []Type, enableInterfaceInference bool) *unifier {
    	assert(len(tparams) >= len(targs))
    	handles := make(map[*TypeParam]*Type, len(tparams))
    	// Allocate all handles up-front: in a correct program, all type parameters
    	// must be resolved and thus eventually will get a handle.
    	// Also, sharing of handles caused by unified type parameters is rare and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/unify.go

    func newUnifier(tparams []*TypeParam, targs []Type, enableInterfaceInference bool) *unifier {
    	assert(len(tparams) >= len(targs))
    	handles := make(map[*TypeParam]*Type, len(tparams))
    	// Allocate all handles up-front: in a correct program, all type parameters
    	// must be resolved and thus eventually will get a handle.
    	// Also, sharing of handles caused by unified type parameters is rare and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top