Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for dX (0.02 sec)

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

    		}
    	}
    
    	ctxt.Diag("%s: invalid instruction: %v", cursym.Name, p)
    }
    
    // byteswapreg returns a byte-addressable register (AX, BX, CX, DX)
    // which is not referenced in a.
    // If a is empty, it returns BX to account for MULB-like instructions
    // that might use DX and AX.
    func byteswapreg(ctxt *obj.Link, a *obj.Addr) int {
    	cana, canb, canc, cand := true, true, true, true
    	if a.Type == obj.TYPE_NONE {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    	// Exercise no-argument/no-result paths.
    }
    
    // This will be index 4.
    func (p Point) TotalDist(points ...Point) int {
    	tot := 0
    	for _, q := range points {
    		dx := q.x - p.x
    		dy := q.y - p.y
    		tot += dx*dx + dy*dy // Should call Sqrt, but it's just a test.
    
    	}
    	return tot
    }
    
    // This will be index 5.
    func (p *Point) Int64Method(x int64) int64 {
    	return x
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top