Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 311 for stksize (0.11 sec)

  1. src/cmd/compile/internal/ssagen/pgen.go

    			w = 1
    		}
    		s.stksize += w
    		s.stksize = types.RoundUp(s.stksize, n.Type().Alignment())
    		if n.Type().Alignment() > int64(types.RegSize) {
    			s.stkalign = n.Type().Alignment()
    		}
    		if n.Type().HasPointers() {
    			s.stkptrsize = s.stksize
    			lastHasPtr = true
    		} else {
    			lastHasPtr = false
    		}
    		n.SetFrameOffset(-s.stksize)
    		if mls != nil && mls.IsLeader(n) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    			callArgs = append(callArgs, closure)
    			stksize += int64(types.PtrSize)
    			argStart += int64(types.PtrSize)
    			if dextra != nil {
    				// Extra token of type any for deferproc
    				ACArgs = append(ACArgs, types.Types[types.TINTER])
    				callArgs = append(callArgs, dextra)
    				stksize += 2 * int64(types.PtrSize)
    				argStart += 2 * int64(types.PtrSize)
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  3. src/runtime/proc.go

    func syscall_runtime_AfterExec() {
    	execLock.unlock()
    }
    
    // Allocate a new g, with a stack big enough for stacksize bytes.
    func malg(stacksize int32) *g {
    	newg := new(g)
    	if stacksize >= 0 {
    		stacksize = round2(stackSystem + stacksize)
    		systemstack(func() {
    			newg.stack = stackalloc(uint32(stacksize))
    		})
    		newg.stackguard0 = newg.stack.lo + stackGuard
    		newg.stackguard1 = ^uintptr(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/symtab.go

    			s.SetType(sym.STYPE)
    			s.SetSize(0)
    			s.SetAlign(int32(ctxt.Arch.PtrSize))
    			symtype = s.Sym()
    
    			s = ldr.CreateSymForUpdate("typerel.*", 0)
    			s.SetType(sym.STYPERELRO)
    			s.SetSize(0)
    			s.SetAlign(int32(ctxt.Arch.PtrSize))
    			symtyperel = s.Sym()
    		} else {
    			s = ldr.CreateSymForUpdate("type:*", 0)
    			s.SetType(sym.STYPE)
    			s.SetSize(0)
    			s.SetAlign(int32(ctxt.Arch.PtrSize))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  5. src/runtime/defs1_solaris_amd64.go

    	__pthread_attrp *byte
    }
    
    type stat struct {
    	st_dev     uint64
    	st_ino     uint64
    	st_mode    uint32
    	st_nlink   uint32
    	st_uid     uint32
    	st_gid     uint32
    	st_rdev    uint64
    	st_size    int64
    	st_atim    timespec
    	st_mtim    timespec
    	st_ctim    timespec
    	st_blksize int32
    	pad_cgo_0  [4]byte
    	st_blocks  int64
    	st_fstype  [16]int8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:40:51 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/macho.go

    	if !*FlagD {
    		// must match doMachoLink below
    		s1 := ldr.SymSize(ldr.Lookup(".machorebase", 0))
    		s2 := ldr.SymSize(ldr.Lookup(".machobind", 0))
    		s3 := ldr.SymSize(ldr.Lookup(".machosymtab", 0))
    		s4 := ldr.SymSize(ctxt.ArchSyms.LinkEditPLT)
    		s5 := ldr.SymSize(ctxt.ArchSyms.LinkEditGOT)
    		s6 := ldr.SymSize(ldr.Lookup(".machosymstr", 0))
    		s7 := ldr.SymSize(ldr.Lookup(".machocodesig", 0))
    
    		if ctxt.LinkMode != LinkExternal {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  7. src/runtime/os_freebsd.go

    	if miblen == 0 {
    		return 1
    	}
    
    	// Query kern.smp.maxcpus.
    	dstsize := uintptr(4)
    	maxcpus := uint32(0)
    	if sysctl(&mib[0], miblen, (*byte)(unsafe.Pointer(&maxcpus)), &dstsize, nil, 0) != 0 {
    		return 1
    	}
    
    	maskSize := int(maxcpus+7) / 8
    	if maskSize < goarch.PtrSize {
    		maskSize = goarch.PtrSize
    	}
    	if maskSize > len(mask) {
    		maskSize = len(mask)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/inittask.go

    		sh := ldr.Lookup("runtime.runtime_inittasks", 0)
    		sb := ldr.MakeSymbolUpdater(sh)
    		sb.SetSize(0)
    		sb.SetType(sym.SNOPTRDATA) // Could be SRODATA, but see issue 58857.
    		sb.AddAddr(ctxt.Arch, t)
    		sb.AddUint(ctxt.Arch, uint64(ldr.SymSize(t)/int64(ctxt.Arch.PtrSize)))
    		sb.AddUint(ctxt.Arch, uint64(ldr.SymSize(t)/int64(ctxt.Arch.PtrSize)))
    	}
    }
    
    // inittaskSym builds a symbol containing pointers to all the inittasks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. src/cmd/link/internal/loader/symbolbuilder.go

    	return sb.setUintXX(arch, r, v, int64(arch.PtrSize))
    }
    
    func (sb *SymbolBuilder) SetUintptr(arch *sys.Arch, r int64, v uintptr) int64 {
    	return sb.setUintXX(arch, r, uint64(v), int64(arch.PtrSize))
    }
    
    func (sb *SymbolBuilder) SetAddrPlus(arch *sys.Arch, off int64, tgt Sym, add int64) int64 {
    	if sb.Type() == 0 {
    		sb.SetType(sym.SDATA)
    	}
    	if off+int64(arch.PtrSize) > sb.size {
    		sb.size = off + int64(arch.PtrSize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:25:19 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  10. src/internal/abi/compiletype.go

    // CommonSize returns sizeof(Type) for a compilation target with a given ptrSize
    func CommonSize(ptrSize int) int { return 4*ptrSize + 8 + 8 }
    
    // StructFieldSize returns sizeof(StructField) for a compilation target with a given ptrSize
    func StructFieldSize(ptrSize int) int { return 3 * ptrSize }
    
    // UncommonSize returns sizeof(UncommonType).  This currently does not depend on ptrSize.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 03:01:24 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top