Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 185 for Prog (0.05 sec)

  1. src/cmd/internal/obj/x86/obj6.go

    	obj.Nopout(p)
    }
    
    func rewriteToPcrel(ctxt *obj.Link, p *obj.Prog, newprog obj.ProgAlloc) {
    	// RegTo2 is set on the instructions we insert here so they don't get
    	// processed twice.
    	if p.RegTo2 != 0 {
    		return
    	}
    	if p.As == obj.ATEXT || p.As == obj.AFUNCDATA || p.As == obj.ACALL || p.As == obj.ARET || p.As == obj.AJMP {
    		return
    	}
    	// Any Prog (aside from the above special cases) with an Addr with Name ==
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/pcln.go

    // where func is the function, val is the current value, p is the instruction being
    // considered, and arg can be used to further parameterize valfunc.
    func funcpctab(ctxt *Link, func_ *LSym, desc string, valfunc func(*Link, *LSym, int32, *Prog, int32, interface{}) int32, arg interface{}) *LSym {
    	dbg := desc == ctxt.Debugpcln
    	dst := []byte{}
    	sym := &LSym{
    		Type:      objabi.SRODATA,
    		Attribute: AttrContentAddressable | AttrPcdata,
    	}
    
    	if dbg {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 20:45:15 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/vet/vet.go

    	"cmd/go/internal/trace"
    	"cmd/go/internal/work"
    )
    
    // Break init loop.
    func init() {
    	CmdVet.Run = runVet
    }
    
    var CmdVet = &base.Command{
    	CustomFlags: true,
    	UsageLine:   "go vet [build flags] [-vettool prog] [vet flags] [packages]",
    	Short:       "report likely mistakes in packages",
    	Long: `
    Vet runs the Go vet command on the packages named by the import paths.
    
    For more about vet and its flags, see 'go doc cmd/vet'.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 19:23:42 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/sizeof_test.go

    	var tests = []struct {
    		val    interface{} // type as a value
    		_32bit uintptr     // size on 32bit platforms
    		_64bit uintptr     // size on 64bit platforms
    	}{
    		{Addr{}, 32, 48},
    		{LSym{}, 72, 120},
    		{Prog{}, 132, 200},
    	}
    
    	for _, tt := range tests {
    		want := tt._32bit
    		if _64bit {
    			want = tt._64bit
    		}
    		got := reflect.TypeOf(tt.val).Size()
    		if want != got {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 13 23:38:08 UTC 2020
    - 824 bytes
    - Viewed (0)
  5. src/reflect/type.go

    				prog = appendVarint(prog, elemWords-elemPtrs-1)
    			}
    		}
    		// Repeat length-1 times.
    		if elemWords < 0x80 {
    			prog = append(prog, byte(elemWords|0x80))
    		} else {
    			prog = append(prog, 0x80)
    			prog = appendVarint(prog, elemWords)
    		}
    		prog = appendVarint(prog, uintptr(length)-1)
    		prog = append(prog, 0)
    		*(*uint32)(unsafe.Pointer(&prog[0])) = uint32(len(prog) - 4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  6. src/debug/plan9obj/plan9obj.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    /*
     * Plan 9 a.out constants and data structures
     */
    
    package plan9obj
    
    // Plan 9 Program header.
    type prog struct {
    	Magic uint32 /* magic number */
    	Text  uint32 /* size of text segment */
    	Data  uint32 /* size of initialized data */
    	Bss   uint32 /* size of uninitialized data */
    	Syms  uint32 /* size of symbol table */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:34:33 UTC 2016
    - 863 bytes
    - Viewed (0)
  7. src/cmd/internal/obj/arm64/obj7.go

    	ASBCS:  true,
    	ASBCSW: true,
    	AADC:   true,
    	AADCW:  true,
    	AADCS:  true,
    	AADCSW: true,
    	AFMOVD: true,
    	AFMOVS: true,
    	AMSR:   true,
    }
    
    func (c *ctxt7) stacksplit(p *obj.Prog, framesize int32) *obj.Prog {
    	if c.ctxt.Flag_maymorestack != "" {
    		p = c.cursym.Func().SpillRegisterArgs(p, c.newprog)
    
    		// Save LR and make room for FP, REGCTXT. Leave room
    		// for caller's saved FP.
    		const frameSize = 32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  8. src/cmd/covdata/testdata/prog1.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"os"
    	"prog/dep"
    )
    
    //go:noinline
    func first() {
    	println("whee")
    }
    
    //go:noinline
    func second() {
    	println("oy")
    }
    
    //go:noinline
    func third(x int) int {
    	if x != 0 {
    		return 42
    	}
    	println("blarg")
    	return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:47:16 UTC 2022
    - 616 bytes
    - Viewed (0)
  9. src/cmd/internal/obj/mips/obj0.go

    	var mov, add obj.As
    	if c.ctxt.Arch.Family == sys.MIPS64 {
    		add = AADDV
    		mov = AMOVV
    	} else {
    		add = AADDU
    		mov = AMOVW
    	}
    
    	var q *obj.Prog
    	var q1 *obj.Prog
    	autosize := int32(0)
    	var p1 *obj.Prog
    	var p2 *obj.Prog
    	for p := c.cursym.Func().Text; p != nil; p = p.Link {
    		o := p.As
    		switch o {
    		case obj.ATEXT:
    			autosize = int32(textstksiz)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 30.6K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/riscv/obj.go

    }
    
    func isUnsafePoint(p *obj.Prog) bool {
    	return p.Mark&USES_REG_TMP == USES_REG_TMP || p.From.Reg == REG_TMP || p.To.Reg == REG_TMP || p.Reg == REG_TMP
    }
    
    func ParseSuffix(prog *obj.Prog, cond string) (err error) {
    	switch prog.As {
    	case AFCVTWS, AFCVTLS, AFCVTWUS, AFCVTLUS, AFCVTWD, AFCVTLD, AFCVTWUD, AFCVTLUD:
    		prog.Scond, err = rmSuffixEncode(strings.TrimPrefix(cond, "."))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top