Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 498 for reallocated (0.16 sec)

  1. src/vendor/golang.org/x/crypto/cryptobyte/builder.go

    // Like append(), the slice will be reallocated if its capacity is exceeded.
    // Use Bytes to get the final buffer.
    func NewBuilder(buffer []byte) *Builder {
    	return &Builder{
    		result: buffer,
    	}
    }
    
    // NewFixedBuilder creates a Builder that appends its output into the given
    // buffer. This builder does not reallocate the output buffer. Writes that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. src/runtime/debug/garbage.go

    	PauseQuantiles []time.Duration
    }
    
    // ReadGCStats reads statistics about garbage collection into stats.
    // The number of entries in the pause history is system-dependent;
    // stats.Pause slice will be reused if large enough, reallocated otherwise.
    // ReadGCStats may use the full capacity of the stats.Pause slice.
    // If stats.PauseQuantiles is non-empty, ReadGCStats fills it with quantiles
    // summarizing the distribution of pause time. For example, if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    // It evaluates if a pod can fit due to the resources it requests,
    // for both allocated and unallocated claims.
    //
    // For claims that are bound, then it checks that the node affinity is
    // satisfied by the given node.
    //
    // For claims that are unbound, it checks whether the claim might get allocated
    // for the node.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/manager_test.go

    }
    
    func TestInitContainerDeviceAllocation(t *testing.T) {
    	// Requesting to create a pod that requests resourceName1 in init containers and normal containers
    	// should succeed with devices allocated to init containers reallocated to normal containers.
    	res1 := TestResource{
    		resourceName:     "domain1.com/resource1",
    		resourceQuantity: *resource.NewQuantity(int64(2), resource.DecimalSI),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    			want: want{
    				prefilter: result{
    					status: framework.NewStatus(framework.UnschedulableAndUnresolvable, `resourceclaim must be reallocated`),
    				},
    				postfilter: result{
    					status: framework.NewStatus(framework.Unschedulable, `no new claims to deallocate`),
    				},
    			},
    		},
    		"delayed-allocation-missing-class": {
    			pod:    podWithClaimName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  6. pkg/registry/core/service/portallocator/allocator.go

    		validPorts := r.portRange.String()
    		return &ErrNotInRange{validPorts}
    	}
    
    	allocated, err := r.alloc.Allocate(offset)
    	if err != nil {
    		// update metrics
    		r.metrics.incrementAllocationErrors("static")
    		return err
    	}
    	if !allocated {
    		// update metrics
    		r.metrics.incrementAllocationErrors("static")
    		return ErrAllocated
    	}
    
    	// update metrics
    	r.metrics.incrementAllocations("static")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/runtime/mheap.go

    // to safely deal with potentially invalid pointers, since resolving
    // such pointers may race with a span being allocated.
    type mSpanState uint8
    
    const (
    	mSpanDead   mSpanState = iota
    	mSpanInUse             // allocated for garbage collected heap
    	mSpanManual            // allocated for manual management (e.g., stack allocator)
    )
    
    // mSpanStateNames are the names of the span states, indexed by
    // mSpanState.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  8. pkg/registry/core/service/ipallocator/bitmap.go

    		return nil
    	}
    
    	allocated, err := r.alloc.Allocate(offset)
    	if err != nil {
    		// update metrics
    		r.metrics.incrementAllocationErrors(label.String(), "static")
    
    		return err
    	}
    	if !allocated {
    		// update metrics
    		r.metrics.incrementAllocationErrors(label.String(), "static")
    
    		return ErrAllocated
    	}
    	// update metrics
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/util/ports/ReservedPortRangeTest.groovy

        }
    
        def "can reuse deallocated ports" () {
            _ * portDetector.isAvailable(_) >> { true }
    
            when:
            10.times {
                range.allocate()
            }
    
            then:
            range.allocate() == -1
    
            when:
            range.deallocate(103)
            range.deallocate(109)
            range.deallocate(102)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 06 13:37:30 UTC 2015
    - 3.1K bytes
    - Viewed (0)
  10. pkg/registry/core/service/ipallocator/ipallocator.go

    		if apierrors.IsAlreadyExists(err) {
    			return ErrAllocated
    		}
    		return err
    	}
    	// update metrics
    	a.metrics.incrementAllocations(a.metricLabel, scope)
    	a.metrics.setAllocated(a.metricLabel, a.Used())
    	a.metrics.setAvailable(a.metricLabel, a.Free())
    	return nil
    }
    
    // Allocate attempts to reserve the provided IP. ErrNotInRange or
    // ErrAllocated will be returned if the IP is not valid for this range
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17K bytes
    - Viewed (0)
Back to top