Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 317 for Allocate (0.43 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/MutableUnitOfWork.java

     * Such work can reuse outputs from a previous execution.
     */
    public interface MutableUnitOfWork extends UnitOfWork {
        /**
         * Returns the {@link MutableWorkspaceProvider} to allocate a workspace to execution this work in.
         */
        MutableWorkspaceProvider getWorkspaceProvider();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:27 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/ImmutableUnitOfWork.java

     */
    public interface ImmutableUnitOfWork extends UnitOfWork {
        /**
         * Returns the {@link ImmutableWorkspaceProvider} to allocate a workspace to execution this work in.
         */
        ImmutableWorkspaceProvider getWorkspaceProvider();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:27 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/doc.go

    // to manage containers. For example, they contain functions to configure containers' cgroups,
    // ensure containers run with the desired QoS, and allocate compute resources like cpus, memory,
    // devices...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 05 18:20:51 UTC 2023
    - 934 bytes
    - Viewed (0)
  4. src/runtime/msize.go

    // Malloc small size classes.
    //
    // See malloc.go for overview.
    // See also mksizeclasses.go for how we decide what size classes to use.
    
    package runtime
    
    // Returns size of the memory block that mallocgc will allocate if you ask for the size,
    // minus any inline space for metadata.
    func roundupsize(size uintptr, noscan bool) (reqSize uintptr) {
    	reqSize = size
    	if reqSize <= maxSmallSize-mallocHeaderSize {
    		// Small object.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/PropertyResourceBundleFallbackCharsetTest.groovy

            result.toString() == new String(iso8859bytes, "ISO-8859-1")
            result.toString() != new String(iso8859bytes, "UTF-8")
        }
    
        static ByteBuffer buffer(byte[] bytes) {
            ByteBuffer byteBuffer = ByteBuffer.allocate(bytes.length)
            byteBuffer.put(bytes)
            byteBuffer.rewind()
            return byteBuffer
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. platforms/software/version-control/src/main/java/org/gradle/vcs/git/GitVersionControlSpec.java

         * full contract of {@link java.net.URL} clients of this interface.
         * Specifically, {@link java.net.URL} extends {@link URI} to add network
         * operations which are both unsuited for simple data specification and
         * allocate additional memory.</p>
         */
        URI getUrl();
    
        /**
         * Sets the URL of the repository.
         */
        void setUrl(URI url);
    
        /**
         * Sets the URL of the repository.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. test/finprofiled.go

    import (
    	"runtime"
    	"time"
    	"unsafe"
    )
    
    func main() {
    	runtime.MemProfileRate = 1
    	// Allocate 1M 4-byte objects and set a finalizer for every third object.
    	// Assuming that tiny block size is 16, some objects get finalizers setup
    	// only for middle bytes. The finalizer resurrects that object.
    	// As the result, all allocated memory must stay alive.
    	const (
    		N             = 1 << 20
    		tinyBlockSize = 16 // runtime._TinySize
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 05:48:00 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/dynamicresources/structuredparameters.go

    			return false, fmt.Errorf("checking node %q and resources of driver %q: %w", nodeName, driverName, err)
    		}
    		if !okay {
    			return false, nil
    		}
    	}
    	return true, nil
    }
    
    func (c claimController) allocate(ctx context.Context, nodeName string, resources resources) (string, *resourcev1alpha2.AllocationResult, error) {
    	allocation := &resourcev1alpha2.AllocationResult{
    		Shareable: c.claimParameters.Shareable,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 22 09:03:22 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. pkg/util/tail/tail.go

    	blockSize = 1024
    )
    
    // ReadAtMost reads at most max bytes from the end of the file identified by path or
    // returns an error. It returns true if the file was longer than max. It will
    // allocate up to max bytes.
    func ReadAtMost(path string, max int64) ([]byte, bool, error) {
    	f, err := os.Open(path)
    	if err != nil {
    		return nil, false, err
    	}
    	defer f.Close()
    	fi, err := f.Stat()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/topologymanager/topology_manager.go

    	// concrete resource allocations per Pod in terms of NUMA locality hints.
    	GetPodTopologyHints(pod *v1.Pod) map[string][]TopologyHint
    	// Allocate triggers resource allocation to occur on the HintProvider after
    	// all hints have been gathered and the aggregated Hint is available via a
    	// call to Store.GetAffinity().
    	Allocate(pod *v1.Pod, container *v1.Container) error
    }
    
    // Store interface is to allow Hint Providers to retrieve pod affinity
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 15 12:43:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top