bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public abstract void setLabel(String text); | public abstract void setLabel(String text); | 25,892 |
public ConstantRefAssignQuad(int address, IRBasicBlock block, int lhsIndex, Constant rhs) { super(address, block, lhsIndex); this.rhs = rhs; setDeadCode(true); // this will change if this is a phi operand } | public ConstantRefAssignQuad(int address, IRBasicBlock block, int lhsIndex, Constant rhs) { super(address, block, lhsIndex); this.rhs = rhs; // this will change if this is a phi operand } | 25,894 |
public void doPass2(BootableHashMap liveVariables) { setDeadCode(true); } | public void doPass2(BootableHashMap liveVariables) { setDeadCode(true); } | 25,895 |
public AssignQuad(int address, IRBasicBlock block, int lhsIndex) { this(address, block, block.getVariables()[lhsIndex]); } | public AssignQuad(int address, IRBasicBlock block, int lhsIndex) { this(address, block, block.getVariables()[lhsIndex]); } | 25,897 |
public abstract void doPass2(BootableHashMap liveVariables); | public abstract void doPass2(BootableHashMap liveVariables); | 25,898 |
public static void main(String[] args) { int port = PORT; String iorf = null; try { // Create and initialize the ORB final Functional_ORB orb = new Functional_ORB(); if (args.length > 1) for (int i = 0; i < args.length - 1; i++) { if (args [ i ].end... | public static void main(String[] args) { int port = PORT; String iorf = null; try { // Create and initialize the ORB final Functional_ORB orb = new Functional_ORB(); if (args.length > 1) for (int i = 0; i < args.length - 1; i++) { if (args [ i ].end... | 25,899 |
public static void main(String[] args) { int port = PORT; String iorf = null; try { // Create and initialize the ORB final Functional_ORB orb = new Functional_ORB(); if (args.length > 1) for (int i = 0; i < args.length - 1; i++) { if (args [ i ].end... | public static void main(String[] args) { int port = PORT; String iorf = null; try { // Create and initialize the ORB final Functional_ORB orb = new Functional_ORB(); if (args.length > 1) for (int i = 0; i < args.length - 1; i++) { if (args [ i ].end... | 25,900 |
public static void main(String[] args) { int port = PORT; String iorf = null; try { // Create and initialize the ORB final Functional_ORB orb = new Functional_ORB(); if (args.length > 1) for (int i = 0; i < args.length - 1; i++) { if (args [ i ].end... | public static void main(String[] args) { int port = PORT; String iorf = null; try { // Create and initialize the ORB final Functional_ORB orb = new Functional_ORB(); if (args.length > 1) for (int i = 0; i < args.length - 1; i++) { if (args [ i ].end... | 25,901 |
public static void main(String[] args) { int port = PORT; String iorf = null; try { // Create and initialize the ORB final Functional_ORB orb = new Functional_ORB(); if (args.length > 1) for (int i = 0; i < args.length - 1; i++) { if (args [ i ].end... | public static void main(String[] args) { int port = PORT; String iorf = null; try { // Create and initialize the ORB final Functional_ORB orb = new Functional_ORB(); if (args.length > 1) for (int i = 0; i < args.length - 1; i++) { if (args [ i ].end... | 25,902 |
public static void main(String[] args) { int port = PORT; String iorf = null; try { // Create and initialize the ORB final Functional_ORB orb = new Functional_ORB(); if (args.length > 1) for (int i = 0; i < args.length - 1; i++) { if (args [ i ].end... | public static void main(String[] args) { int port = PORT; String iorf = null; try { // Create and initialize the ORB final Functional_ORB orb = new Functional_ORB(); if (args.length > 1) for (i... | 25,903 |
public byte[] getBytes(String enc) throws UnsupportedEncodingException { try { CharsetEncoder cse = Charset.forName(enc).newEncoder(); cse.onMalformedInput(CodingErrorAction.REPLACE); cse.onUnmappableCharacter(CodingErrorAction.REPLACE); ByteBuffer bbuf = cse.encode(CharBuffer.wrap(value, offset, count)); i... | public void getBytes(int srcBegin, int srcEnd, byte dst[], int dstBegin) { try { CharsetEncoder cse = Charset.forName(enc).newEncoder(); cse.onMalformedInput(CodingErrorAction.REPLACE); cse.onUnmappableCharacter(CodingErrorAction.REPLACE); ByteBuffer bbuf = cse.encode(CharBuffer.wrap(value, offset, count));... | 25,904 |
public byte[] getBytes(String enc) throws UnsupportedEncodingException { try { CharsetEncoder cse = Charset.forName(enc).newEncoder(); cse.onMalformedInput(CodingErrorAction.REPLACE); cse.onUnmappableCharacter(CodingErrorAction.REPLACE); ByteBuffer bbuf = cse.encode(CharBuffer.wrap(value, offset, count)); i... | public byte[] getBytes(String enc) throws UnsupportedEncodingException { try { CharsetEncoder cse = Charset.forName(enc).newEncoder(); cse.onMalformedInput(CodingErrorAction.REPLACE); cse.onUnmappableCharacter(CodingErrorAction.REPLACE); ByteBuffer bbuf = cse.encode(CharBuffer.wrap(value, offset, count)); i... | 25,905 |
public void load(InputStream inStream) throws IOException { // The spec says that the file must be encoded using ISO-8859-1. BufferedReader reader = new BufferedReader(new InputStreamReader(inStream, "ISO-8859-1")); String line; while ((line = reader.readLine()) != null) { char c = 0; ... | public void load(InputStream inStream) throws IOException { // The spec says that the file must be encoded using ISO-8859-1. BufferedReader reader = new BufferedReader(new InputStreamReader(inStream, "ISO-8859-1")); String line; while ((line = reader.readLine()) != null) { char c = 0; ... | 25,906 |
public void load(InputStream inStream) throws IOException { // The spec says that the file must be encoded using ISO-8859-1. BufferedReader reader = new BufferedReader(new InputStreamReader(inStream, "ISO-8859-1")); String line; while ((line = reader.readLine()) != null) { char c = 0; ... | public void load(InputStream inStream) throws IOException { // The spec says that the file must be encoded using ISO-8859-1. BufferedReader reader = new BufferedReader(new InputStreamReader(inStream, "ISO-8859-1")); String line; while ((line = reader.readLine()) != null) { char c = 0; ... | 25,907 |
public void load(InputStream inStream) throws IOException { // The spec says that the file must be encoded using ISO-8859-1. BufferedReader reader = new BufferedReader(new InputStreamReader(inStream, "ISO-8859-1")); String line; while ((line = reader.readLine()) != null) { char c = 0; ... | public void load(InputStream inStream) throws IOException { // The spec says that the file must be encoded using ISO-8859-1. BufferedReader reader = new BufferedReader(new InputStreamReader(inStream, "ISO-8859-1")); String line; while ((line = reader.readLine()) != null) { char c = 0; ... | 25,908 |
public void load(InputStream inStream) throws IOException { // The spec says that the file must be encoded using ISO-8859-1. BufferedReader reader = new BufferedReader(new InputStreamReader(inStream, "ISO-8859-1")); String line; while ((line = reader.readLine()) != null) { char c = 0; ... | public void load(InputStream inStream) throws IOException { // The spec says that the file must be encoded using ISO-8859-1. BufferedReader reader = new BufferedReader(new InputStreamReader(inStream, "ISO-8859-1")); String line; while ((line = reader.readLine()) != null) { char c = 0; ... | 25,909 |
public void load(InputStream inStream) throws IOException { // The spec says that the file must be encoded using ISO-8859-1. BufferedReader reader = new BufferedReader(new InputStreamReader(inStream, "ISO-8859-1")); String line; while ((line = reader.readLine()) != null) { char c = 0; ... | public void load(InputStream inStream) throws IOException { // The spec says that the file must be encoded using ISO-8859-1. BufferedReader reader = new BufferedReader(new InputStreamReader(inStream, "ISO-8859-1")); String line; while ((line = reader.readLine()) != null) { char c = 0; ... | 25,910 |
protected Raster(SampleModel sampleModel, Point origin) { this(sampleModel, sampleModel.createDataBuffer(), origin); } | protected Raster(SampleModel sampleModel, Point origin) { this(sampleModel, sampleModel.createDataBuffer(), origin); } | 25,911 |
public static WritableRaster createBandedRaster(int dataType, int w, int h, int bands, Point location) { // FIXME: Implement; throw new UnsupportedOperationException("not implemented yet"); } | public static WritableRaster createBandedRaster(int dataType, int w, int h, int bands, Point location) { // FIXME: Implement; throw new UnsupportedOperationException("not implemented yet"); } | 25,912 |
public Raster createChild(int parentX, int parentY, int width, int height, int childMinX, int childMinY, int[] bandList) { /* FIXME: Throw RasterFormatException if child bounds extends beyond the bounds of this raster. */ SampleModel sm = (bandList == null) ? sampleModel : sampleModel.createSubsetSampleModel(ban... | public Raster createChild(int parentX, int parentY, int width, int height, int childMinX, int childMinY, int[] bandList) { /* FIXME: Throw RasterFormatException if child bounds extends beyond the bounds of this raster. */ SampleModel sm = (bandList == null) ? sampleModel : sampleModel.createSubsetSampleModel(ban... | 25,913 |
public Raster createChild(int parentX, int parentY, int width, int height, int childMinX, int childMinY, int[] bandList) { /* FIXME: Throw RasterFormatException if child bounds extends beyond the bounds of this raster. */ SampleModel sm = (bandList == null) ? sampleModel : sampleModel.createSubsetSampleModel(ban... | public Raster createChild(int parentX, int parentY, int width, int height, int childMinX, int childMinY, int[] bandList) { /* FIXME: Throw RasterFormatException if child bounds extends beyond the bounds of this raster. */ SampleModel sm = (bandList == null) ? sampleModel : sampleModel.createSubsetSampleModel(ban... | 25,914 |
public Raster createChild(int parentX, int parentY, int width, int height, int childMinX, int childMinY, int[] bandList) { /* FIXME: Throw RasterFormatException if child bounds extends beyond the bounds of this raster. */ SampleModel sm = (bandList == null) ? sampleModel : sampleModel.createSubsetSampleModel(ban... | public Raster createChild(int parentX, int parentY, int width, int height, int childMinX, int childMinY, int[] bandList) { /* FIXME: Throw RasterFormatException if child bounds extends beyond the bounds of this raster. */ SampleModel sm = (bandList == null) ? sampleModel : sampleModel.createSubsetSampleModel(ban... | 25,915 |
public WritableRaster createCompatibleWritableRaster() { return new WritableRaster(getSampleModel(), new Point(minX, minY)); } | public WritableRaster createCompatibleWritableRaster() { return new WritableRaster(getSampleModel(), new Point(minX, minY)); } | 25,916 |
public static WritableRaster createInterleavedRaster(int dataType, int w, int h, int bands, Point location) { int[] bandOffsets = new int[bands]; // TODO: Maybe not generate this every time. for (int b = 0; b < bands; b++) bandOffsets[b] = b; int scanlineStride = bands * w; return createInterleavedRaster(dataTy... | public static WritableRaster createInterleavedRaster(int dataType, int w, int h, int bands, Point location) { int[] bandOffsets = new int[bands]; // TODO: Maybe not generate this every time. for (int b = 0; b < bands; b++) bandOffsets[b] = b; int scanlineStride = bands * w; return createInterleavedRaster(dataTy... | 25,917 |
public static WritableRaster createInterleavedRaster(int dataType, int w, int h, int bands, Point location) { int[] bandOffsets = new int[bands]; // TODO: Maybe not generate this every time. for (int b = 0; b < bands; b++) bandOffsets[b] = b; int scanlineStride = bands * w; return createInterleavedRaster(dataTy... | public static WritableRaster createInterleavedRaster(int dataType, int w, int h, int bands, Point location) { int[] bandOffsets = new int[bands]; // TODO: Maybe not generate this every time. for (int b = 0; b < bands; b++) bandOffsets[b] = b; int scanlineStride = bands * w; return createInterleavedRaster(dataTy... | 25,918 |
public static WritableRaster createInterleavedRaster(int dataType, int w, int h, int bands, Point location) { int[] bandOffsets = new int[bands]; // TODO: Maybe not generate this every time. for (int b = 0; b < bands; b++) bandOffsets[b] = b; int scanlineStride = bands * w; return createInterleavedRaster(dataTy... | public static WritableRaster createInterleavedRaster(int dataType, int w, int h, int bands, Point location) { int[] bandOffsets = new int[bands]; // TODO: Maybe not generate this every time. for (int b = 0; b < bands; b++) bandOffsets[b] = b; int scanlineStride = bands * w; return createInterleavedRaster(dataTy... | 25,919 |
public static WritableRaster createPackedRaster(int dataType, int w, int h, int[] bandMasks, Point location) { SampleModel sm = new SinglePixelPackedSampleModel(dataType, w, h, bandMasks); return createWritableRaster(sm, location); } | public static WritableRaster createPackedRaster(int dataType, int w, int h, int[] bandMasks, Point location) { SampleModel sm = new SinglePixelPackedSampleModel(dataType, w, h, bandMasks); return createWritableRaster(sm, location); } | 25,920 |
public static Raster createRaster(SampleModel sm, DataBuffer db, Point location) { return new Raster(sm, db, location); } | public static Raster createRaster(SampleModel sm, DataBuffer db, Point location) { return new Raster(sm, db, location); } | 25,921 |
public Raster createTranslatedChild(int childMinX, int childMinY) { int tcx = sampleModelTranslateX - minX + childMinX; int tcy = sampleModelTranslateY - minY + childMinY; return new Raster(sampleModel, dataBuffer, new Rectangle(childMinX, childMinY, width, height), new Point(tcx, tcy), this); } | public Raster createTranslatedChild(int childMinX, int childMinY) { int tcx = sampleModelTranslateX - minX + childMinX; int tcy = sampleModelTranslateY - minY + childMinY; return new Raster(sampleModel, dataBuffer, new Rectangle(childMinX, childMinY, width, height), new Point(tcx, tcy), this); } | 25,922 |
public static WritableRaster createWritableRaster(SampleModel sm, Point location) { return new WritableRaster(sm, location); } | public static WritableRaster createWritableRaster(SampleModel sm, Point location) { return new WritableRaster(sm, location); } | 25,923 |
public Rectangle getBounds() { return new Rectangle(minX, minY, width, height); } | public Rectangle getBounds() { return new Rectangle(minX, minY, width, height); } | 25,924 |
public DataBuffer getDataBuffer() { return dataBuffer; } | public DataBuffer getDataBuffer() { return dataBuffer; } | 25,925 |
public Object getDataElements(int x, int y, Object outData) { return sampleModel.getDataElements(x - sampleModelTranslateX, y - sampleModelTranslateY, outData, dataBuffer); } | public Object getDataElements(int x, int y, Object outData) { return sampleModel.getDataElements(x - sampleModelTranslateX, y - sampleModelTranslateY, outData, dataBuffer); } | 25,926 |
public final int getHeight() { return height; } | public final int getHeight() { return height; } | 25,927 |
public final int getMinX() { return minX; } | public final int getMinX() { return minX; } | 25,928 |
public final int getMinY() { return minY; } | public final int getMinY() { return minY; } | 25,929 |
public final int getNumDataElements() { return numDataElements; } | public final int getNumDataElements() { return numDataElements; } | 25,930 |
public Raster getParent() { return parent; } | public Raster getParent() { return parent; } | 25,931 |
public int[] getPixel(int x, int y, int[] iArray) { return sampleModel.getPixel(x - sampleModelTranslateX, y - sampleModelTranslateY, iArray, dataBuffer); } | public int[] getPixel(int x, int y, int[] iArray) { return sampleModel.getPixel(x - sampleModelTranslateX, y - sampleModelTranslateY, iArray, dataBuffer); } | 25,932 |
public int[] getPixels(int x, int y, int w, int h, int[] iArray) { return sampleModel.getPixels(x - sampleModelTranslateX, y - sampleModelTranslateY, w, h, iArray, dataBuffer); } | public int[] getPixels(int x, int y, int w, int h, int[] iArray) { return sampleModel.getPixels(x - sampleModelTranslateX, y - sampleModelTranslateY, w, h, iArray, dataBuffer); } | 25,933 |
public int getSample(int x, int y, int b) { return sampleModel.getSample(x - sampleModelTranslateX, y - sampleModelTranslateY, b, dataBuffer); } | public int getSample(int x, int y, int b) { return sampleModel.getSample(x - sampleModelTranslateX, y - sampleModelTranslateY, b, dataBuffer); } | 25,934 |
public double getSampleDouble(int x, int y, int b) { return sampleModel.getSampleDouble(x - sampleModelTranslateX, y - sampleModelTranslateY, b, dataBuffer); } | public double getSampleDouble(int x, int y, int b) { return sampleModel.getSampleDouble(x - sampleModelTranslateX, y - sampleModelTranslateY, b, dataBuffer); } | 25,935 |
public float getSampleFloat(int x, int y, int b) { return sampleModel.getSampleFloat(x - sampleModelTranslateX, y - sampleModelTranslateY, b, dataBuffer); } | public float getSampleFloat(int x, int y, int b) { return sampleModel.getSampleFloat(x - sampleModelTranslateX, y - sampleModelTranslateY, b, dataBuffer); } | 25,936 |
public SampleModel getSampleModel() { return sampleModel; } | public SampleModel getSampleModel() { return sampleModel; } | 25,937 |
public final int getSampleModelTranslateX() { return sampleModelTranslateX; } | public final int getSampleModelTranslateX() { return sampleModelTranslateX; } | 25,938 |
public final int getSampleModelTranslateY() { return sampleModelTranslateY; } | public final int getSampleModelTranslateY() { return sampleModelTranslateY; } | 25,939 |
public int[] getSamples(int x, int y, int w, int h, int b, int[] iArray) { return sampleModel.getSamples(x - sampleModelTranslateX, y - sampleModelTranslateY, w, h, b, iArray, dataBuffer); } | public int[] getSamples(int x, int y, int w, int h, int b, int[] iArray) { return sampleModel.getSamples(x - sampleModelTranslateX, y - sampleModelTranslateY, w, h, b, iArray, dataBuffer); } | 25,940 |
public final int getTransferType() { return sampleModel.getTransferType(); } | public final int getTransferType() { return sampleModel.getTransferType(); } | 25,941 |
public final int getWidth() { return width; } | public final int getWidth() { return width; } | 25,942 |
public final int getWidth() { return width; } | public final int getWidth() { return width; } | 25,943 |
public final int getHeight() { return height; } | public final int getHeight() { return height; } | 25,944 |
public final int getNumBands() { return numBands; } | public final int getNumBands() { return numBands; } | 25,945 |
public UnsupportedOperationException(String s) { super(s); } | public UnsupportedOperationException() { super(s); } | 25,946 |
public UnsupportedOperationException(String s) { super(s); } | public UnsupportedOperationException(String s) { super(s); } | 25,947 |
protected WritableRaster(SampleModel sampleModel, Point origin) { this(sampleModel, sampleModel.createDataBuffer(), origin); } | protected WritableRaster(SampleModel sampleModel, Point origin) { this(sampleModel, sampleModel.createDataBuffer(), origin); } | 25,948 |
public ComponentSampleModel(int dataType, int w, int h, int pixelStride, int scanlineStride, int[] bandOffsets) { this(dataType, w, h, pixelStride, scanlineStride, new int[bandOffsets.length], bandOffsets); } | public ComponentSampleModel(int dataType, int w, int h, int pixelStride, int scanlineStride, int[] bandOffsets) { this(dataType, w, h, pixelStride, scanlineStride, new int[bandOffsets.length], bandOffsets); } | 25,949 |
public int getDataType() { return dataType; } | public int getDataType() { return dataType; } | 25,950 |
public abstract Object getDataElements(int x, int y, Object obj, DataBuffer data); | public abstract Object getDataElements(int x, int y, Object obj, DataBuffer data); | 25,951 |
public int[] getPixel(int x, int y, int[] iArray, DataBuffer data) { if (iArray == null) iArray = new int[numBands]; for (int b = 0; b < numBands; b++) iArray[b] = getSample(x, y, b, data); return iArray; } | public int[] getPixel(int x, int y, int[] iArray, DataBuffer data) { if (iArray == null) iArray = new int[numBands]; for (int b = 0; b < numBands; b++) iArray[b] = getSample(x, y, b, data); return iArray; } | 25,952 |
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { //int size = w * h; int outOffset = 0; int[] pixel = null; if (iArray == null) iArray = new int[w * h * numBands]; for (int yy = y; yy < (y + h); yy++) { for (int xx = x; xx < (x + w); xx++) { getPixel(xx, yy, pixel, data);... | public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { //int size = w * h; int outOffset = 0; int[] pixel = null; if (iArray == null) iArray = new int[w * h * numBands]; for (int yy = y; yy < (y + h); yy++) { for (int xx = x; xx < (x + w); xx++) { getPixel(xx, yy, pixel, data);... | 25,953 |
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { //int size = w * h; int outOffset = 0; int[] pixel = null; if (iArray == null) iArray = new int[w * h * numBands]; for (int yy = y; yy < (y + h); yy++) { for (int xx = x; xx < (x + w); xx++) { getPixel(xx, yy, pixel, data);... | public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { //int size = w * h; int outOffset = 0; int[] pixel = null; if (iArray == null) iArray = new int[w * h * numBands]; for (int yy = y; yy < (y + h); yy++) { for (int xx = x; xx < (x + w); xx++) { getPixel(xx, yy, pixel, data);... | 25,954 |
public double getSampleDouble(int x, int y, int b, DataBuffer data) { return getSampleFloat(x, y, b, data); } | public double getSampleDouble(int x, int y, int b, DataBuffer data) { return getSampleFloat(x, y, b, data); } | 25,955 |
public float getSampleFloat(int x, int y, int b, DataBuffer data) { return getSample(x, y, b, data); } | public float getSampleFloat(int x, int y, int b, DataBuffer data) { return getSample(x, y, b, data); } | 25,956 |
public int[] getSamples(int x, int y, int w, int h, int b, int[] iArray, DataBuffer data) { int size = w * h; int outOffset = 0; if (iArray == null) { iArray = new int[size]; } for (int yy = y; yy < (y + h); yy++) { for (int xx = x; xx < (x + w); xx++) { iArray[outOffset++] = getSample(xx, yy, b, data); ... | public int[] getSamples(int x, int y, int w, int h, int b, int[] iArray, DataBuffer data) { int size = w * h; int outOffset = 0; if (iArray == null) { iArray = new int[size]; } for (int yy = y; yy < (y + h); yy++) { for (int xx = x; xx < (x + w); xx++) { iArray[outOffset++] = getSample(xx, yy, b, data); ... | 25,957 |
public int[] getSamples(int x, int y, int w, int h, int b, int[] iArray, DataBuffer data) { int size = w * h; int outOffset = 0; if (iArray == null) { iArray = new int[size]; } for (int yy = y; yy < (y + h); yy++) { for (int xx = x; xx < (x + w); xx++) { iArray[outOffset++] = getSample(xx, yy, b, data); ... | public int[] getSamples(int x, int y, int w, int h, int b, int[] iArray, DataBuffer data) { int size = w * h; int outOffset = 0; if (iArray == null) { iArray = new int[size]; } for (int yy = y; yy < (y + h); yy++) { for (int xx = x; xx < (x + w); xx++) { iArray[outOffset++] = getSample(xx, yy, b, data); ... | 25,958 |
public int getTransferType() { // FIXME: Is this a reasonable default implementation? return dataType; } | public int getTransferType() { // FIXME: Is this a reasonable default implementation? return dataType; } | 25,959 |
void fireStateChanged() { ChangeListener[] listeners = getChangeListeners(); for (int i = 0; i < listeners.length; ++i) listeners[i].stateChanged(changeEvent); } | protected void fireStateChanged() { ChangeListener[] listeners = getChangeListeners(); for (int i = 0; i < listeners.length; ++i) listeners[i].stateChanged(changeEvent); } | 25,960 |
public TypeMismatch(String why) { super(why); } | public TypeMismatch() { super(why); } | 25,962 |
public TypeMismatch(String why) { super(why); } | public TypeMismatch(String why) { } | 25,963 |
public abstract TypeCode member_type(int index) throws BadKind, Bounds; | public abstract TypeCode member_type(int index) throws BadKind, Bounds; | 25,964 |
public abstract String member_name(int index) throws BadKind, Bounds; | public abstract String member_name(int index) throws BadKind, Bounds; | 25,965 |
public String getPropertyPrefix() { return super.getPropertyPrefix(); } | public String getPropertyPrefix() { return "CheckBox."; } | 25,966 |
public Icon getDefaultIcon() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); return defaults.getIcon(getPropertyPrefix() + ".icon"); } | public Icon getDefaultIcon() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); return defaults.getIcon(getPropertyPrefix() + "icon"); } | 25,967 |
protected String getPropertyPrefix() { return "RadioButton"; } | protected String getPropertyPrefix() { return "RadioButton."; } | 25,968 |
private Decoder (Charset cs) { super (cs, 1.0f, 1.0f); } | Decoder (Charset cs) { super (cs, 1.0f, 1.0f); } | 25,969 |
private Encoder (Charset cs) { super (cs, 1.0f, 1.0f); } | Encoder (Charset cs) { super (cs, 1.0f, 1.0f); } | 25,970 |
protected CharsetDecoder (Charset cs, float averageCharsPerByte, float maxCharsPerByte) { this (cs, averageCharsPerByte, maxCharsPerByte, DEFAULT_REPLACEMENT); } | protected CharsetDecoder (Charset cs, float averageCharsPerByte, float maxCharsPerByte) { this (cs, averageCharsPerByte, maxCharsPerByte, DEFAULT_REPLACEMENT); } | 25,971 |
protected CharsetDecoder (Charset cs, float averageCharsPerByte, float maxCharsPerByte) { this (cs, averageCharsPerByte, maxCharsPerByte, DEFAULT_REPLACEMENT); } | protected CharsetDecoder (Charset cs, float averageCharsPerByte, float maxCharsPerByte) { if (averageCharsPerByte <= 0.0f) throw new IllegalArgumentException ("Non-positive averageCharsPerByte"); if (maxCharsPerByte <= 0.0f) throw new IllegalArgumentException ("Non-positive maxCharsPerB... | 25,972 |
public abstract byte get (); | public abstract byte get (); | 25,973 |
public abstract CharBuffer put (char b); | public abstract CharBuffer put (char b); | 25,974 |
public abstract char get (); | public abstract char get (); | 25,975 |
public abstract ByteBuffer put (byte b); | public abstract ByteBuffer put (byte b); | 25,976 |
protected void resolve(AbstractVmClassLoader clc) throws ClassNotFoundException { if (resolvedClass == null) { final VmType type = clc.loadClass(className, true); if (type instanceof VmInterfaceClass) { this.resolvedClass = (VmInterfaceClass)type; } else { throw new ClassNotFoundException("Class " + clas... | protected void resolve(AbstractVmClassLoader clc) throws ClassNotFoundException { if (resolvedClass == null) { final VmType type = clc.loadClass(className, true); if (type instanceof VmInterfaceClass) { this.resolvedClass = (VmInterfaceClass)type; } else { throw new ClassNotFoundException("Class " + clas... | 25,978 |
static void paintGradient(Graphics g, int x, int y, int w, int h, int dir, String uiProp) { List params = (List) UIManager.get(uiProp); double g1 = ((Double) params.get(0)).doubleValue(); double g2 = ((Double) params.get(1)).doubleValue(); Color c1 = (Color) params.get(2); C... | static void paintGradient(Graphics g, int x, int y, int w, int h, int dir, String uiProp) { List params = (List) UIManager.get(uiProp); double g1 = ((Double) params.get(0)).doubleValue(); double g2 = ((Double) params.get(1)).doubleValue(); Color c1 = (Color) params.get(2); C... | 25,980 |
static void fillMetalPattern(Component c, Graphics g, int x, int y, int w, int h, Color light, Color dark) { //if (g instanceof Graphics2D) if (false /* we don't have propper g2d in jnode yet, use the simple graphics here*/ && g instanceof Graphics2D) fillMetalP... | static void fillMetalPattern(Component c, Graphics g, int x, int y, int w, int h, Color light, Color dark) { //if (g instanceof Graphics2D) if (false /* we don't have propper g2d in jnode yet, use the simple graphics here*/ && g instanceof Graphics2D) fillMetalP... | 25,981 |
public boolean isBorderOpaque() { /* If the colors are to be drived from the enclosed Component's * background color, the border is guaranteed to be fully opaque * because Color.brighten() and Color.darken() always return an * opaque color. */ return ((highlightOuter == null) || (highligh... | public boolean isBorderOpaque() { /* If the colors are to be drived from the enclosed Component's * background color, the border is guaranteed to be fully opaque * because Color.brighten() and Color.darken() always return an * opaque color. */ return ((highlightOuter == null) || (highligh... | 25,982 |
public void close() throws IOException { if (isClosed()) return; impl.close(); impl = null; bound = false; if (getChannel() != null) getChannel().close(); } | public void close() throws IOException { if (isClosed()) return; impl.close(); impl = null; if (getChannel() != null) getChannel().close(); } | 25,983 |
public InetAddress getInetAddress() { if (! isBound()) return null; try { return (InetAddress) impl.getOption(SocketOptions.SO_BINDADDR); } catch (SocketException e) { // This never happens as we are bound. return null; } } | public InetAddress getInetAddress() { if (local == null) return null; try { return (InetAddress) impl.getOption(SocketOptions.SO_BINDADDR); } catch (SocketException e) { // This never happens as we are bound. return null; } } | 25,984 |
public InetAddress getInetAddress() { if (! isBound()) return null; try { return (InetAddress) impl.getOption(SocketOptions.SO_BINDADDR); } catch (SocketException e) { // This never happens as we are bound. return null; } } | public InetAddress getInetAddress() { if (! isBound()) return null; try { return (InetAddress) impl.getOption(SocketOptions.SO_BINDADDR); } catch (SocketException e) { // This never happens as we are bound. return null; } } | 25,985 |
public int getLocalPort() { if (! isBound()) return -1; return impl.getLocalPort(); } | public int getLocalPort() { if (local == null) return -1; return impl.getLocalPort(); } | 25,986 |
public int getLocalPort() { if (! isBound()) return -1; return impl.getLocalPort(); } | public int getLocalPort() { if (! isBound()) return -1; return local.getPort(); } | 25,987 |
public SocketAddress getLocalSocketAddress() { if (! isBound()) return null; return new InetSocketAddress(getInetAddress(), getLocalPort()); } | public SocketAddress getLocalSocketAddress() { if (! isBound()) return null; return new InetSocketAddress(getInetAddress(), getLocalPort()); } | 25,988 |
public boolean isBound() { return bound; } | public boolean isBound() { return local != null; } | 25,989 |
createSocketImpl(); | createSocketImpl(); | 25,990 |
public InetSocketAddress(InetAddress addr, int port) throws IllegalArgumentException { if (port < 0 || port > 65535) throw new IllegalArgumentException("Bad port number: " + port); if (addr == null) addr = InetAddress.ANY_IF; this.addr = addr; this.port = port; this.hostname = addr.getH... | public InetSocketAddress(InetAddress addr, int port) throws IllegalArgumentException { if (port < 0 || port > 65535) throw new IllegalArgumentException("Bad port number: " + port); if (addr == null) addr = InetAddress.ANY_IF; this.addr = addr; this.port = port; } | 25,991 |
protected int getLocalPort() { return localport; } | protected int getLocalPort() { return localport; } | 25,992 |
public Socket() { if (factory != null) impl = factory.createSocketImpl(); else impl = new PlainSocketImpl(); inputShutdown = false; outputShutdown = false; } | public Socket() { if (factory != null) impl = factory.createSocketImpl(); else impl = new PlainSocketImpl(); inputShutdown = false; outputShutdown = false; } | 25,993 |
public Socket() { if (factory != null) impl = factory.createSocketImpl(); else impl = new PlainSocketImpl(); inputShutdown = false; outputShutdown = false; } | public Socket() { if (factory != null) impl = factory.createSocketImpl(); else impl = new PlainSocketImpl(); inputShutdown = false; outputShutdown = false; } | 25,994 |
public synchronized void close() throws IOException { if (impl != null) impl.close(); if (ch != null) ch.close(); closed = true; } | public synchronized void close() throws IOException { if (impl != null) impl.close(); if (ch != null) ch.close(); closed = true; } | 25,995 |
public synchronized void close() throws IOException { if (impl != null) impl.close(); if (ch != null) ch.close(); closed = true; } | public synchronized void close() throws IOException { if (impl != null) impl.close(); if (ch != null) ch.close(); closed = true; } | 25,996 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.