- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 418 for Allocate (0.14 sec)
-
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) -
src/io/example_test.go
r2 := strings.NewReader("second reader\n") buf := make([]byte, 8) // buf is used here... if _, err := io.CopyBuffer(os.Stdout, r1, buf); err != nil { log.Fatal(err) } // ... reused here also. No need to allocate an extra buffer. if _, err := io.CopyBuffer(os.Stdout, r2, buf); err != nil { log.Fatal(err) } // Output: // first reader // second reader } func ExampleCopyN() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 15:49:32 UTC 2022 - 5.5K bytes - Viewed (0) -
src/internal/filepathlite/path.go
"slices" ) var errInvalidPath = errors.New("invalid path") // A lazybuf is a lazily constructed path buffer. // It supports append, reading previously appended bytes, // and retrieving the final string. It does not allocate a buffer // to hold the output until that output diverges from s. type lazybuf struct { path string buf []byte w int volAndPath string volLen int }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 5.8K bytes - Viewed (0) -
src/unique/handle.go
// this path on the first use of Make, and it's not on the hot path. setupMake.Do(registerCleanup) ma = addUniqueMap[T](typ) } m := ma.(*uniqueMap[T]) // Keep around any values we allocate for insertion. There // are a few different ways we can race with other threads // and create values that we might discard. By keeping // the first one we make around, we can avoid generating
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 16:01:55 UTC 2024 - 5.3K bytes - Viewed (0) -
pkg/kubelet/cm/container_manager.go
// extended resources required by container. GetResources(pod *v1.Pod, container *v1.Container) (*kubecontainer.RunContainerOptions, error) // UpdatePluginResources calls Allocate of device plugin handler for potential // requests for device plugin resources, and returns an error if fails. // Otherwise, it updates allocatableResource in nodeInfo if necessary,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:13 UTC 2024 - 9K bytes - Viewed (0) -
src/runtime/sys_windows_386.s
// wintime*100 = DX:AX MOVL AX, ret_lo+0(FP) MOVL DX, ret_hi+4(FP) RET // This is called from rt0_go, which runs on the system stack // using the initial stack allocated by the OS. TEXT runtime·wintls(SB),NOSPLIT,$0 // Allocate a TLS slot to hold g across calls to external code MOVL SP, BP MOVL runtime·_TlsAlloc(SB), AX CALL AX MOVL BP, SP MOVL AX, CX // TLS index
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 15:56:43 UTC 2023 - 6.5K bytes - Viewed (0) -
pkg/api/service/testing/make.go
func SetExternalTrafficPolicy(policy api.ServiceExternalTrafficPolicy) Tweak { return func(svc *api.Service) { svc.Spec.ExternalTrafficPolicy = policy } } // SetAllocateLoadBalancerNodePorts sets the allocate LB node port field. func SetAllocateLoadBalancerNodePorts(val bool) Tweak { return func(svc *api.Service) { svc.Spec.AllocateLoadBalancerNodePorts = utilpointer.BoolPtr(val) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:16:15 UTC 2023 - 7.1K bytes - Viewed (0) -
src/runtime/mfinal_test.go
print() // force spill finalize(v.(*int)) return [4]int64{} }}, } for _, tt := range finalizerTests { done := make(chan bool, 1) go func() { // allocate struct with pointer to avoid hitting tinyalloc. // Otherwise we can't be sure when the allocation will // be freed. type T struct { v int p unsafe.Pointer } v := &new(T).v *v = 97531
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 20:45:58 UTC 2023 - 5.6K bytes - Viewed (0) -
pkg/dns/server/name_table.go
continue } addressList = append(addressList, svcAddress) } else { // The IP will be unspecified here if its headless service or if the auto // IP allocation logic for service entry was unable to allocate an IP. if svc.Resolution == model.Passthrough && len(svc.Ports) > 0 { for _, instance := range cfg.Push.ServiceEndpointsByPort(svc, svc.Ports[0].Port, nil) { // empty addresses are possible here
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 27 07:19:38 UTC 2024 - 6.3K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/endpoint_test.go
}) go e.client.Run() // Wait for the callback to be issued. select { case <-callbackChan: break case <-time.After(time.Second): t.FailNow() } respOut, err := e.allocate([]string{"ADeviceId"}) require.NoError(t, err) require.Equal(t, resp, respOut) } func TestGetPreferredAllocation(t *testing.T) { socket := filepath.Join(os.TempDir(), esocketName()) callbackCount := 0
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 16:05:48 UTC 2022 - 7.6K bytes - Viewed (0)