Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 704 for Deallocate (0.3 sec)

  1. src/go/types/subst.go

    }
    
    func (subst *subster) varList(in []*Var) (out []*Var, copied bool) {
    	out = in
    	for i, v := range in {
    		if w := subst.var_(v); w != v {
    			if !copied {
    				// first variable that got substituted => allocate new out slice
    				// and copy all variables
    				new := make([]*Var, len(in))
    				copy(new, out)
    				out = new
    				copied = true
    			}
    			out[i] = w
    		}
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. test/fixedbugs/issue20780.go

    func f() { // GC_ERROR "stack frame too large"
    	// Note: This test relies on the fact that we currently always
    	// spill function-results to the stack, even if they're so
    	// large that we would normally heap allocate them. If we ever
    	// improve the backend to spill temporaries to the heap, this
    	// test will probably need updating to find some new way to
    	// construct an overly large stack frame.
    	g(h(), h())
    }
    
    func g(Big, Big)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jan 10 08:01:49 UTC 2021
    - 755 bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/outbuf_darwin.go

    package ld
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    // Implemented in the syscall package.
    //
    //go:linkname fcntl syscall.fcntl
    func fcntl(fd int, cmd int, arg int) (int, error)
    
    func (out *OutBuf) fallocate(size uint64) error {
    	stat, err := out.f.Stat()
    	if err != nil {
    		return err
    	}
    	// F_PEOFPOSMODE allocates from the end of the file, so we want the size difference.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 13 15:50:02 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. test/fixedbugs/issue67255.go

    var sink any
    
    func main() {
    	var objs [][]*byte
    	for i := 10; i < 200; i++ {
    		// The objects we're allocating here are pointer-ful. Some will
    		// max out their size class, which are the ones we want.
    		// We also allocate from small to large, so that the object which
    		// maxes out its size class is the last one allocated in that class.
    		// This allocation pattern leaves the next object in the class
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 922 bytes
    - Viewed (0)
  5. pkg/kubeapiserver/options/options.go

    // DefaultServiceNodePortRange is the default port range for NodePort services.
    var DefaultServiceNodePortRange = utilnet.PortRange{Base: 30000, Size: 2768}
    
    // DefaultServiceIPCIDR is a CIDR notation of IP range from which to allocate service cluster IPs
    var DefaultServiceIPCIDR = net.IPNet{IP: netutils.ParseIPSloppy("10.0.0.0"), Mask: net.CIDRMask(24, 32)}
    
    // DefaultEtcdPathPrefix is the default key prefix of etcd for API Server
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 20 08:42:09 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  6. test/fixedbugs/issue29362.go

    // Verify that we don't consider a Go'd function's
    // arguments as pointers when they aren't.
    
    package main
    
    import (
    	"unsafe"
    )
    
    var badPtr uintptr
    
    var sink []byte
    
    func init() {
    	// Allocate large enough to use largeAlloc.
    	b := make([]byte, 1<<16-1)
    	sink = b // force heap allocation
    	//  Any space between the object and the end of page is invalid to point to.
    	badPtr = uintptr(unsafe.Pointer(&b[len(b)-1])) + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 03 20:17:01 UTC 2019
    - 879 bytes
    - Viewed (0)
  7. 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)
  8. src/runtime/testdata/testprogcgo/bigstack_windows.c

    // (compiled into a DLL).
    
    #include <windows.h>
    #include <stdio.h>
    
    #ifndef STACK_SIZE_PARAM_IS_A_RESERVATION
    #define STACK_SIZE_PARAM_IS_A_RESERVATION 0x00010000
    #endif
    
    typedef void callback(char*);
    
    // Allocate a stack that's much larger than the default.
    static const int STACK_SIZE = 16<<20;
    
    static callback *bigStackCallback;
    
    static void useStack(int bytes) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 02 15:18:26 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  9. pkg/registry/core/service/ipallocator/controller/repair.go

    			default:
    				clusterIPRepairIPErrors.WithLabelValues("unknown").Inc()
    				c.recorder.Eventf(&svc, nil, v1.EventTypeWarning, "UnknownError", "ClusterIPAllocation", "Unable to allocate cluster IP [%v]:%s due to an unknown error", family, ip)
    				return fmt.Errorf("unable to allocate cluster IP [%v]:%s for service %s/%s due to an unknown error, exiting: %v", family, ip, svc.Name, svc.Namespace, err)
    			}
    		}
    	}
    
    	// leak check
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  10. src/runtime/mkpreempt.go

    		"MOVW %d(R13), R0\nMOVW R0, FPCR",
    		4)
    	for i := 0; i <= 15; i++ {
    		reg := fmt.Sprintf("F%d", i)
    		lfp.add("MOVD", reg, 8)
    	}
    
    	p("MOVW.W R14, -%d(R13)", lfp.stack) // allocate frame, save LR
    	l.save()
    	p("MOVB ·goarmsoftfp(SB), R0\nCMP $0, R0\nBNE nofp") // test goarmsoftfp, and skip FP registers if goarmsoftfp!=0.
    	lfp.save()
    	label("nofp:")
    	p("CALL ·asyncPreempt2(SB)")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 15.3K bytes
    - Viewed (0)
Back to top