Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,028 for Allocate (0.13 sec)

  1. src/net/writev_test.go

    	}
    	c2.Close()
    
    	// 1 GB of data should be enough to notice the connection is gone.
    	// Just a few bytes is not enough.
    	// Arrange to reuse the same 1 MB buffer so that we don't allocate much.
    	buf := make([]byte, 1<<20)
    	buffers := make(Buffers, 1<<10)
    	for i := range buffers {
    		buffers[i] = buf
    	}
    	if _, err := buffers.WriteTo(c1); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. pkg/controller/nodeipam/ipam/cidr_allocator.go

    	cidrUpdateRetries = 3
    )
    
    // nodePollInterval is used in listing node
    var nodePollInterval = 10 * time.Second
    
    // CIDRAllocator is an interface implemented by things that know how
    // to allocate/occupy/recycle CIDR for nodes.
    type CIDRAllocator interface {
    	// AllocateOrOccupyCIDR looks at the given node, assigns it a valid
    	// CIDR if it doesn't currently have one or mark the CIDR as used if
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/networking/v1alpha1/types_swagger_doc_generated.go

    	return map_ParentReference
    }
    
    var map_ServiceCIDR = map[string]string{
    	"":         "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.",
    	"metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:58 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/framer/framer.go

    	m := json.RawMessage(data[:0])
    	if err := r.decoder.Decode(&m); err != nil {
    		return 0, err
    	}
    
    	// If capacity of data is less than length of the message, decoder will allocate a new slice
    	// and set m to it, which means we need to copy the partial result back into data and preserve
    	// the remaining result for subsequent reads.
    	if len(m) > cap(data) {
    		copy(data, m)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/runtime/race_s390x.s

    	MOVD	R15, R7				// Save SP.
    	MOVD	g_m(g), R8			// R8 = thread.
    	MOVD	m_g0(R8), R8			// R8 = g0.
    	CMPBEQ	R8, g, call			// Already on g0?
    	MOVD	(g_sched+gobuf_sp)(R8), R15	// Switch SP to g0.
    call:	SUB	$160, R15			// Allocate C frame.
    	BL	R1				// Call C code.
    	MOVD	R7, R15				// Restore SP.
    	RET					// Return to Go.
    
    // C->Go callback thunk that allows to call runtime·racesymbolize from C
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. src/runtime/netpoll_aix.go

    )
    
    func netpollinit() {
    	// Create the pipe we use to wakeup poll.
    	r, w, errno := nonblockingPipe()
    	if errno != 0 {
    		throw("netpollinit: failed to create pipe")
    	}
    	rdwake = r
    	wrwake = w
    
    	// Pre-allocate array of pollfd structures for poll.
    	pfds = make([]pollfd, 1, 128)
    
    	// Poll the read side of the pipe.
    	pfds[0].fd = rdwake
    	pfds[0].events = _POLLIN
    
    	pds = make([]*pollDesc, 1, 128)
    	pds[0] = nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/exec_windows.go

    			}
    			commandLine = append(commandLine, c)
    		}
    		commandLine = append(commandLine, '"')
    	} else {
    		if len(args) == 1 {
    			// args[0] is a valid command line representing itself.
    			// No need to allocate a new slice or string for it.
    			return prog
    		}
    		commandLine = []byte(prog)
    	}
    
    	for _, arg := range args[1:] {
    		commandLine = append(commandLine, ' ')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  8. src/slices/slices_test.go

    		t.Errorf("Grow should not allocate when given sufficient capacity; allocated %v times", n)
    	}
    	if n := testing.AllocsPerRun(100, func() { _ = Grow(s2, cap(s2)-len(s2)+1) }); n != 1 {
    		errorf := t.Errorf
    		if race.Enabled || testenv.OptimizationOff() {
    			errorf = t.Logf // this allocates multiple times in race detector mode
    		}
    		errorf("Grow should allocate once when given insufficient capacity; allocated %v times", n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/networking/v1alpha1/generated.proto

      // +required
      optional string name = 4;
    }
    
    // ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64).
    // This range is used to allocate ClusterIPs to Service objects.
    message ServiceCIDR {
      // Standard object's metadata.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/controlplane/manifests.go

    	}
    
    	// Let the controller-manager allocate Node CIDRs for the Pod network.
    	// Each node will get a subspace of the address CIDR provided with --pod-network-cidr.
    	if cfg.Networking.PodSubnet != "" {
    		defaultArguments = kubeadmapi.SetArgValues(defaultArguments, "allocate-node-cidrs", "true", 1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 17.8K bytes
    - Viewed (0)
Back to top