Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 704 for Deallocate (0.17 sec)

  1. pkg/registry/core/service/portallocator/controller/repair.go

    			default:
    				nodePortRepairPortErrors.WithLabelValues("unknown").Inc()
    				c.recorder.Eventf(svc, nil, corev1.EventTypeWarning, "UnknownError", "PortAllocation", "Unable to allocate port %d due to an unknown error", port)
    				return fmt.Errorf("unable to allocate port %d for service %s/%s due to an unknown error, exiting: %v", port, svc.Name, svc.Namespace, err)
    			}
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  2. CHANGELOG/CHANGELOG-1.30.md

    - When using a claim with immediate allocation and a pod referencing that claim couldn't get scheduled, the scheduler incorrectly may have tried to deallocate that claim. ([#122415](https://github.com/kubernetes/kubernetes/pull/122415), [@pohly](https://github.com/pohly))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 04:05:28 UTC 2024
    - 253.2K bytes
    - Viewed (0)
  3. pkg/registry/core/service/storage/alloc.go

    	// CASE C:
    	if upgraded {
    		toAllocate := make(map[api.IPFamily]string)
    		// if secondary ip was named, just get it. if not add a marker
    		if len(service.Spec.ClusterIPs) < 2 {
    			service.Spec.ClusterIPs = append(service.Spec.ClusterIPs, "" /* marker */)
    		}
    
    		toAllocate[service.Spec.IPFamilies[1]] = service.Spec.ClusterIPs[1]
    
    		// allocate
    		allocated, err := al.allocIPs(service, toAllocate, dryRun)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 37.3K bytes
    - Viewed (0)
  4. src/runtime/proc.go

    		// Deallocate old stack. We kept it in gfput because it was the
    		// right size when the goroutine was put on the free list, but
    		// the right size has changed since then.
    		systemstack(func() {
    			stackfree(gp.stack)
    			gp.stack.lo = 0
    			gp.stack.hi = 0
    			gp.stackguard0 = 0
    		})
    	}
    	if gp.stack.lo == 0 {
    		// Stack was deallocated in gfput or just above. Allocate a new one.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/manager.go

    // without a prior Start.
    func (m *ManagerImpl) Stop() error {
    	return m.server.Stop()
    }
    
    // Allocate is the call that you can use to allocate a set of devices
    // from the registered device plugins.
    func (m *ManagerImpl) Allocate(pod *v1.Pod, container *v1.Container) error {
    	// The pod is during the admission phase. We need to save the pod to avoid it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  6. tensorflow/c/tf_tensor.h

    //   TF_StringEncode and TF_StringDecode facilitate this encoding.
    
    typedef struct TF_Tensor TF_Tensor;
    
    // Return a new tensor that holds the bytes data[0,len-1].
    //
    // The data will be deallocated by a subsequent call to TF_DeleteTensor via:
    //      (*deallocator)(data, len, deallocator_arg)
    // Clients must provide a custom deallocator function so they can pass in
    // memory managed by something like numpy.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 16:40:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. pkg/registry/core/service/portallocator/storage/storage_test.go

    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	// Allocate a port inside the valid port range
    	if err := storage.Allocate(30100); err != nil {
    		t.Fatal(err)
    	}
    
    	// Try to allocate the same port in the local bitmap
    	// The local bitmap stores the offset of the port
    	// offset = port - base (30100 - 30000 = 100)
    	ok, err := backing.Allocate(100)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. pkg/registry/core/service/allocator/storage/storage_test.go

    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	// Allocate an item in the local bitmap only but not in the storage
    	// emulating it's out of sync with the storage
    	if _, err := backing.Allocate(2); err != nil {
    		t.Fatal(err)
    	}
    
    	// It should be able to allocate it
    	// because it's free in the storage
    	ok, err := storage.Allocate(2)
    	if !ok || err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 01 20:54:26 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.29.md

    - Added mock framework support for unit tests for Windows in `kubeproxy`. ([#120105](https://github.com/kubernetes/kubernetes/pull/120105), [@princepereira](https://github.com/princepereira))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 03:42:38 UTC 2024
    - 324.5K bytes
    - Viewed (0)
  10. src/sync/pool.go

    // retrieved.
    //
    // Any item stored in the Pool may be removed automatically at any time without
    // notification. If the Pool holds the only reference when this happens, the
    // item might be deallocated.
    //
    // A Pool is safe for use by multiple goroutines simultaneously.
    //
    // Pool's purpose is to cache allocated but unused items for later reuse,
    // relieving pressure on the garbage collector. That is, it makes it easy to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (1)
Back to top