Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 152 for stksize (0.22 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/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)
  5. src/cmd/link/internal/ld/decodesym.go

    	return abi.Kind(p[2*arch.PtrSize+7])&abi.KindGCProg != 0 //  0x13 / 0x1f
    }
    
    // Type.commonType.size
    func decodetypeSize(arch *sys.Arch, p []byte) int64 {
    	return int64(decodeInuxi(arch, p, arch.PtrSize)) // 0x8 / 0x10
    }
    
    // Type.commonType.ptrdata
    func decodetypePtrdata(arch *sys.Arch, p []byte) int64 {
    	return int64(decodeInuxi(arch, p[arch.PtrSize:], arch.PtrSize)) // 0x8 / 0x10
    }
    
    // Type.commonType.tflag
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types/size.go

    		t.setAlg(ACPLX128)
    
    	case TPTR:
    		w = int64(PtrSize)
    		t.intRegs = 1
    		CheckSize(t.Elem())
    		t.ptrBytes = int64(PtrSize) // See PtrDataSize
    
    	case TUNSAFEPTR:
    		w = int64(PtrSize)
    		t.intRegs = 1
    		t.ptrBytes = int64(PtrSize)
    
    	case TINTER: // implemented as 2 pointers
    		w = 2 * int64(PtrSize)
    		t.align = uint8(PtrSize)
    		t.intRegs = 2
    		expandiface(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. src/runtime/mbitmap.go

    		tp.mask = readUintptr(addb(tp.typ.GCData, (tp.addr-tp.elem)/goarch.PtrSize/8))
    		if tp.addr+goarch.PtrSize*ptrBits > limit {
    			bits := (tp.addr + goarch.PtrSize*ptrBits - limit) / goarch.PtrSize
    			tp.mask &^= ((1 << (bits)) - 1) << (ptrBits - bits)
    		}
    	}
    }
    
    // fastForward moves the iterator forward by n bytes. n must be a multiple
    // of goarch.PtrSize. limit must be the same limit passed to next for this
    // iterator.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  8. src/runtime/map_faststr.go

    				k := (*stringStruct)(kptr)
    				if k.len != key.len || isEmpty(b.tophash[i]) {
    					if b.tophash[i] == emptyRest {
    						break
    					}
    					continue
    				}
    				if k.str == key.str || memequal(k.str, key.str, uintptr(key.len)) {
    					return add(unsafe.Pointer(b), dataOffset+abi.MapBucketCount*2*goarch.PtrSize+i*uintptr(t.ValueSize))
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. src/unique/clone_test.go

    	testCloneSeq[testIntArray](t, cSeq())
    	testCloneSeq[testEface](t, cSeq())
    	testCloneSeq[testStringArray](t, cSeq(0, 2*goarch.PtrSize, 4*goarch.PtrSize))
    	testCloneSeq[testStringStruct](t, cSeq(0))
    	testCloneSeq[testStringStructArrayStruct](t, cSeq(0, 2*goarch.PtrSize))
    	testCloneSeq[testStruct](t, cSeq(8))
    }
    
    func cSeq(stringOffsets ...uintptr) cloneSeq {
    	return cloneSeq{stringOffsets: stringOffsets}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:14:07 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    		cc = append(cc, newComponent(suffix+"_data", asmKind(arch.ptrSize), "interface data", off+arch.ptrSize, arch.ptrSize, suffix))
    
    	case asmInterface:
    		cc = append(cc, newComponent(suffix+"_itable", asmKind(arch.ptrSize), "interface itable", off, arch.ptrSize, suffix))
    		cc = append(cc, newComponent(suffix+"_data", asmKind(arch.ptrSize), "interface data", off+arch.ptrSize, arch.ptrSize, suffix))
    
    	case asmSlice:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top