Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TestArgs (0.17 sec)

  1. src/cmd/go/internal/test/test.go

    }
    
    func (f *testVFlag) String() string {
    	if f.json {
    		return "test2json"
    	}
    	if f.on {
    		return "true"
    	}
    	return "false"
    }
    
    var (
    	testArgs []string
    	pkgArgs  []string
    	pkgs     []*load.Package
    
    	testHelp bool // -help option passed to test via -args
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/loong64/asm.go

    	}
    
    	// 2nd destination operand
    	a5 := C_NONE
    	if p.RegTo2 != 0 {
    		a5 = C_REG
    	}
    
    	// 3rd source operand
    	a3 := C_NONE
    	if len(p.RestArgs) > 0 {
    		a3 = int(p.RestArgs[0].Class)
    		if a3 == 0 {
    			a3 = c.aclass(&p.RestArgs[0].Addr) + 1
    			p.RestArgs[0].Class = int8(a3)
    		}
    		a3--
    	}
    
    	ops := oprange[p.As&obj.AMask]
    	c1 := &xcmp[a1]
    	c4 := &xcmp[a4]
    	for i := range ops {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/riscv/obj.go

    	ins := &instruction{
    		as:  p.As,
    		rd:  uint32(p.To.Reg),
    		rs1: uint32(p.Reg),
    		rs2: uint32(p.From.Reg),
    		imm: p.From.Offset,
    	}
    	if len(p.RestArgs) == 1 {
    		ins.rs3 = uint32(p.RestArgs[0].Reg)
    	}
    	return ins
    }
    
    // instructionsForOpImmediate returns the machine instructions for an immediate
    // operand. The instruction is specified by as and the source register is
    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