Update the next coordinates for the cursor.  The actual move will occur
on the next buffer swap
@param x the new X location on the screen
@param y the new Y location on the screen
175976
@Override
    void setLocation(int x, int y) {
        if (x != nextX || y != nextY) {
            nextX = x;
            nextY = y;
            MonocleWindowManager.getInstance().repaintAll();
        }
    }
1050191
def moveToPoint(self, xxx_todo_changeme2):
        
        (x,y) = xxx_todo_changeme2
        self.set_x1(float(self.get_x1()) + float(x))
        self.set_x2(float(self.get_x2()) + float(x))
        self.set_y1(float(self.get_y1()) + float(y))
        self.set_y2(float(self.get_y2()) + float(y))
388873
def move_mouse(self, x, y, screen=0):
        
        # todo: apparently the "screen" argument is not behaving properly
        #       and sometimes even making the interpreter crash..
        #       Figure out why (changed API / using wrong header?)

        # >>> xdo.move_mouse(3000,200,1)

        # X Error of failed request:  BadWindow (invalid Window parameter)
        #   Major opcode of failed request:  41 (X_WarpPointer)
        #   Resource id in failed request:  0x2a4fca0
        #   Serial number of failed request:  25
        #   Current serial number in output stream:  26

        # Just to be safe..
        # screen = 0

        x = ctypes.c_int(x)
        y = ctypes.c_int(y)
        screen = ctypes.c_int(screen)

        _libxdo.xdo_move_mouse(self._xdo, x, y, screen)
230883
function move(x, y) {
         this.moveTo(this.pos.x + x, this.pos.y + y);
       }
326141
def move_to(self, x, y, pre_dl=None, post_dl=None):
        
        self.delay(pre_dl)
        self.m.move(x, y)
        self.delay(post_dl)
652711
function(x, y, object) {
            var existing = this.get(object.x, object.y);
            if(existing !== object){
                throw new Error({error: 'Attempting to move object not in correct position in Object manager', x: x, y: y, object: object});
            }

            if(this.objects.indexOf(object) === -1){
                throw new Error({error: 'Attempting to move object not in Object manager', x: x, y: y, object: object});
            }
            this.map.remove(object.x, object.y);
            this.map.set(x, y, object);
            object.x = x;
            object.y = y;
        }
1041199
public void set(int x, int y) {
		if (x<0 || y<0) {
			x=-1;
			y=-1;
		}
		if (this.x!=x || this.y!=y) {
			this.x=x;
			this.y=y;
			fireChange();
		}
	}
1211077
@Override
    public C setOffset(final double x, final double y)
    {
        getAttributes().setOffset(x, y);

        return cast();
    }
117380
function (x, y) {
      var target = this._currentTransform.target;
      target.lockMovementX || target.set('left', x - this._currentTransform.offsetX);
      target.lockMovementY || target.set('top', y - this._currentTransform.offsetY);
    }
142732
public void setPosition(Coordinate position) {
		if (getOriginalLocation() != null) {
			Bbox oldBounds = (Bbox) getOriginalLocation();
			Bbox newBounds = (Bbox) oldBounds.clone();
			newBounds.setCenterPoint(position);
			setOriginalLocation(newBounds);
		} else {
			setOriginalLocation(new Bbox(position.getX(), position.getY(), 0, 0));
		}
	}
254435
public void setPosition (float x, float y, float z)
    {
        if (_source != null) {
            _source.setPosition(x, y, z);
        }
        _px = x;
        _py = y;
        _pz = z;
    }
991045
public void addMoveBallCommand(double x, double y) {
        StringBuilder buf = new StringBuilder();
        buf.append("(move ");
        buf.append("ball");    // TODO Manual says the format...will implement this later.
        buf.append(' ');
        buf.append(x);
        buf.append(' ');
        buf.append(y);
        buf.append(')');
        fifo.add(fifo.size(), buf.toString());
    }
118361
def moveToPoint(self, xxx_todo_changeme):
        
        (x,y) = xxx_todo_changeme
        self.set_x(float(self.get_x()) + float(x))
        self.set_y(float(self.get_y()) + float(y))
29369
public void add(double x, double y) {
		resize(m_pointCount + 1);
		Point2D pt = new Point2D();
		pt.setCoords(x, y);
		setXY(m_pointCount - 1, pt);
	}
6926
def move(self, x, y):
        
        if self.brush_on:
            for lx, ly in line(self.pos_x, self.pos_y, x, y):
                self.set(lx, ly)

        self.pos_x = x
        self.pos_y = y
1228923
public function moveCursorRel($x, $y)
    {
        $yChar = ($y < 0) ? "A" : "B"; // up / down
        $xChar = ($x < 0) ? "D" : "C"; // left / right
        fwrite(STDOUT, "\e[" . abs($x) . $xChar);
        fwrite(STDOUT, "\e[" . abs($y) . $yChar);
    }
521844
@Override
    public void swap(INDArray x, INDArray y) {
        if (Nd4j.getExecutioner().getProfilingMode() == OpExecutioner.ProfilingMode.ALL)
            OpProfiler.getInstance().processBlasCall(false, x, y);

        if (x.isSparse() || y.isSparse()) {
            Nd4j.getSparseBlasWrapper().level1().swap(x, y);
            return;
        }

        if (x.data().dataType() == DataType.DOUBLE) {
            DefaultOpExecutioner.validateDataType(DataType.DOUBLE, x, y);
            dswap(x.length(), x, BlasBufferUtil.getBlasStride(x), y, BlasBufferUtil.getBlasStride(y));
        } else {
            DefaultOpExecutioner.validateDataType(DataType.FLOAT, x, y);
            sswap(x.length(), x, BlasBufferUtil.getBlasStride(x), y, BlasBufferUtil.getBlasStride(y));
        }
    }