bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
void bind (Name name, Object obj) throws NamingException;
void bind (Name name, Object obj) throws NamingException;
37,022
void close () throws NamingException;
void close () throws NamingException;
37,023
Name composeName (Name name, Name prefix) throws NamingException;
Name composeName (Name name, Name prefix) throws NamingException;
37,024
Context createSubcontext (Name name) throws NamingException;
Context createSubcontext (Name name) throws NamingException;
37,025
void destroySubcontext (Name name) throws NamingException;
void destroySubcontext (Name name) throws NamingException;
37,026
String getNameInNamespace () throws NamingException;
String getNameInNamespace () throws NamingException;
37,027
NameParser getNameParser (Name name) throws NamingException;
NameParser getNameParser (Name name) throws NamingException;
37,028
NamingEnumeration list (Name name) throws NamingException;
NamingEnumeration list (Name name) throws NamingException;
37,029
NamingEnumeration listBindings (Name name) throws NamingException;
NamingEnumeration listBindings (Name name) throws NamingException;
37,030
Object lookup (Name name) throws NamingException;
Object lookup (Name name) throws NamingException;
37,031
Object lookupLink (Name name) throws NamingException;
Object lookupLink (Name name) throws NamingException;
37,032
void rebind (Name name, Object obj) throws NamingException;
void rebind (Name name, Object obj) throws NamingException;
37,033
Object removeFromEnvironment (String propName) throws NamingException;
Object removeFromEnvironment (String propName) throws NamingException;
37,034
void rename (Name oldName, Name newName) throws NamingException;
void rename (Name oldName, Name newName) throws NamingException;
37,035
void unbind (Name name) throws NamingException;
void unbind (Name name) throws NamingException;
37,036
public static TypeCode type() { if (typeCode == null) { ORB orb = ORB.init(); StructMember[] members = new StructMember[ 2 ]; TypeCode field; field = orb.create_alias_tc("IDL:omg.org/IOP/ComponentId:1.0", "ComponentId", orb.get_primitive_tc(TC...
public static TypeCode type() { if (typeCode == null) { ORB orb = ORB.init(); StructMember[] members = new StructMember[2]; TypeCode field; field = orb.create_alias_tc("IDL:omg.org/IOP/ComponentId:1.0", "ComponentId", orb.get_primitive_tc(TCKi...
37,037
public static TypeCode type() { if (typeCode == null) { ORB orb = ORB.init(); StructMember[] members = new StructMember[ 2 ]; TypeCode field; field = orb.create_alias_tc("IDL:omg.org/IOP/ComponentId:1.0", "ComponentId", orb.get_primitive_tc(TC...
public static TypeCode type() { if (typeCode == null) { ORB orb = ORB.init(); StructMember[] members = new StructMember[ 2 ]; TypeCode field; field = orb.create_alias_tc("IDL:omg.org/IOP/ComponentId:1.0", "ComponentId", orb.get_primitive_tc(TC...
37,038
public static TypeCode type() { if (typeCode == null) { ORB orb = ORB.init(); StructMember[] members = new StructMember[ 2 ]; TypeCode field; field = orb.create_alias_tc("IDL:omg.org/IOP/ComponentId:1.0", "ComponentId", orb.get_primitive_tc(TC...
public static TypeCode type() { if (typeCode == null) { ORB orb = ORB.init(); StructMember[] members = new StructMember[ 2 ]; TypeCode field; field = orb.create_alias_tc("IDL:omg.org/IOP/ComponentId:1.0", "ComponentId", orb.get_primitive_tc(TC...
37,039
public TaggedComponentHolder(TaggedComponent initialValue) { value = initialValue; }
public TaggedComponentHolder() { value = initialValue; }
37,040
public TaggedComponentHolder(TaggedComponent initialValue) { value = initialValue; }
public TaggedComponentHolder(TaggedComponent initialValue) { }
37,041
Book(){ ;}
Book(){ ;}
37,042
append(Printable printable, PageFormat page_format){ append(printable, page_format, 1);}
append(Printable printable, PageFormat page_format){ append(printable, page_format, 1);}
37,043
append(Printable printable, PageFormat page_format){ append(printable, page_format, 1);}
append(Printable printable, PageFormat page_format){ append(printable, page_format, 1);}
37,044
getNumberOfPages(){ return(printables.size());}
getNumberOfPages(){ return(printables.size());}
37,045
getPageFormat(int page_number){ return((PageFormat)page_formats.elementAt(page_number));}
getPageFormat(int page_number){ return((PageFormat)page_formats.elementAt(page_number));}
37,046
getPrintable(int page_number){ return((Printable)printables.elementAt(page_number));}
getPrintable(int page_number){ return((Printable)printables.elementAt(page_number));}
37,047
setPage(int page_num, Printable printable, PageFormat page_format){ printables.setElementAt(printable, page_num); page_formats.setElementAt(page_format, page_num);}
setPage(int page_num, Printable printable, PageFormat page_format){ printables.setElementAt(printable, page_num); page_formats.setElementAt(page_format, page_num);}
37,048
setPage(int page_num, Printable printable, PageFormat page_format){ printables.setElementAt(printable, page_num); page_formats.setElementAt(page_format, page_num);}
setPage(int page_num, Printable printable, PageFormat page_format){ printables.setElementAt(printable, page_num); page_formats.setElementAt(page_format, page_num);}
37,049
public void printStackTrace() { printStackTrace(System.out); }
public void printStackTrace() { printStackTrace(System.out); }
37,050
public boolean replaceEdit(UndoableEdit anEdit) { return false; } // replaceEdit()
public boolean replaceEdit(UndoableEdit anEdit) { return false; } // replaceEdit()
37,051
public boolean canRedo();
public boolean canRedo();
37,052
public boolean canUndo();
public boolean canUndo();
37,053
public void layoutContainer(Container parent) { // The way to interpret this function is basically to ignore the names // of methods it calls, and focus on the variable names here. getViewRect // doesn't, for example, return the view; it returns the port bounds in // view space. Likwise setViewPosition ...
public void layoutContainer(Container parent) { // The way to interpret this function is basically to ignore the names // of methods it calls, and focus on the variable names here. getViewRect // doesn't, for example, return the view; it returns the port bounds in // view space. Likwise setViewPosition ...
37,054
public void layoutContainer(Container parent) { // The way to interpret this function is basically to ignore the names // of methods it calls, and focus on the variable names here. getViewRect // doesn't, for example, return the view; it returns the port bounds in // view space. Likwise setViewPosition ...
public void layoutContainer(Container parent) { // The way to interpret this function is basically to ignore the names // of methods it calls, and focus on the variable names here. getViewRect // doesn't, for example, return the view; it returns the port bounds in // view space. Likwise setViewPosition ...
37,055
public ColorModel(int bits) { this(bits, nArray(bits / 4, 4), ColorSpace.getInstance(ColorSpace.CS_sRGB), true, false, TRANSLUCENT, Buffers.smallestAppropriateTransferType(bits)); }
public ColorModel(int bits) { this(bits, nArray(bits / 4, 4), ColorSpace.getInstance(ColorSpace.CS_sRGB), true, false, TRANSLUCENT, Buffers.smallestAppropriateTransferType(bits)); }
37,057
public ColorModel coerceData(WritableRaster raster, boolean isAlphaPremultiplied) { if (this.isAlphaPremultiplied == isAlphaPremultiplied) return this; int w = raster.getWidth(); int h = raster.getHeight(); int x = raster.getMinX(); int y = raster.getMinY(); int size = w * h; int numColors = getNumColorCompon...
public ColorModel coerceData(WritableRaster raster, boolean isAlphaPremultiplied) { if (this.isAlphaPremultiplied == isAlphaPremultiplied) return this; int w = raster.getWidth(); int h = raster.getHeight(); int x = raster.getMinX(); int y = raster.getMinY(); int size = w * h; int numColors = getNumColorCompon...
37,058
public ColorModel coerceData(WritableRaster raster, boolean isAlphaPremultiplied) { if (this.isAlphaPremultiplied == isAlphaPremultiplied) return this; int w = raster.getWidth(); int h = raster.getHeight(); int x = raster.getMinX(); int y = raster.getMinY(); int size = w * h; int numColors = getNumColorCompon...
public ColorModel coerceData(WritableRaster raster, boolean isAlphaPremultiplied) { if (this.isAlphaPremultiplied == isAlphaPremultiplied) return this; int w = raster.getWidth(); int h = raster.getHeight(); int x = raster.getMinX(); int y = raster.getMinY(); int size = w * h; int numColors = getNumColorCompon...
37,059
public ColorModel coerceData(WritableRaster raster, boolean isAlphaPremultiplied) { if (this.isAlphaPremultiplied == isAlphaPremultiplied) return this; int w = raster.getWidth(); int h = raster.getHeight(); int x = raster.getMinX(); int y = raster.getMinY(); int size = w * h; int numColors = getNumColorCompon...
public ColorModel coerceData(WritableRaster raster, boolean isAlphaPremultiplied) { if (this.isAlphaPremultiplied == isAlphaPremultiplied) return this; int w = raster.getWidth(); int h = raster.getHeight(); int x = raster.getMinX(); int y = raster.getMinY(); int size = w * h; int numColors = getNumColorCompon...
37,060
public ColorModel coerceData(WritableRaster raster, boolean isAlphaPremultiplied) { if (this.isAlphaPremultiplied == isAlphaPremultiplied) return this; int w = raster.getWidth(); int h = raster.getHeight(); int x = raster.getMinX(); int y = raster.getMinY(); int size = w * h; int numColors = getNumColorCompon...
public ColorModel coerceData(WritableRaster raster, boolean isAlphaPremultiplied) { if (this.isAlphaPremultiplied == isAlphaPremultiplied) return this; int w = raster.getWidth(); int h = raster.getHeight(); int x = raster.getMinX(); int y = raster.getMinY(); int size = w * h; int numColors = getNumColorCompon...
37,061
public ColorModel coerceData(WritableRaster raster, boolean isAlphaPremultiplied) { if (this.isAlphaPremultiplied == isAlphaPremultiplied) return this; int w = raster.getWidth(); int h = raster.getHeight(); int x = raster.getMinX(); int y = raster.getMinY(); int size = w * h; int numColors = getNumColorCompon...
public ColorModel coerceData(WritableRaster raster, boolean isAlphaPremultiplied) { if (this.isAlphaPremultiplied == isAlphaPremultiplied) return this; int w = raster.getWidth(); int h = raster.getHeight(); int x = raster.getMinX(); int y = raster.getMinY(); int size = w * h; int numColors = getNumColorCompon...
37,062
public ColorModel coerceData(WritableRaster raster, boolean isAlphaPremultiplied) { if (this.isAlphaPremultiplied == isAlphaPremultiplied) return this; int w = raster.getWidth(); int h = raster.getHeight(); int x = raster.getMinX(); int y = raster.getMinY(); int size = w * h; int numColors = getNumColorCompon...
public ColorModel coerceData(WritableRaster raster, boolean isAlphaPremultiplied) { if (this.isAlphaPremultiplied == isAlphaPremultiplied) return this; int w = raster.getWidth(); int h = raster.getHeight(); int x = raster.getMinX(); int y = raster.getMinY(); int size = w * h; int numColors = getNumColorCompon...
37,063
public SampleModel createCompatibleSampleModel(int w, int h) { throw new UnsupportedOperationException(); }
public SampleModel createCompatibleSampleModel(int w, int h) { throw new UnsupportedOperationException(); }
37,064
public WritableRaster createCompatibleWritableRaster(int w, int h) { return new WritableRaster(createCompatibleSampleModel(w, h), new Point(0, 0)); }
public WritableRaster createCompatibleWritableRaster(int w, int h) { return new WritableRaster(createCompatibleSampleModel(w, h), new Point(0, 0)); }
37,065
public boolean equals(Object obj) { if (!(obj instanceof ColorModel)) return false; ColorModel o = (ColorModel) obj; return (pixel_bits == o.pixel_bits) && (transferType == o.transferType) && (transparency == o.transparency) && (hasAlpha == o.hasAlpha) && (isAlphaPremultiplied == isAlphaPremultiplied) &...
public boolean equals(Object obj) { if (!(obj instanceof ColorModel)) return false; ColorModel o = (ColorModel) obj; return (pixel_bits == o.pixel_bits) && (transferType == o.transferType) && (transparency == o.transparency) && (hasAlpha == o.hasAlpha) && (isAlphaPremultiplied == isAlphaPremultiplied) &...
37,066
public boolean equals(Object obj) { if (!(obj instanceof ColorModel)) return false; ColorModel o = (ColorModel) obj; return (pixel_bits == o.pixel_bits) && (transferType == o.transferType) && (transparency == o.transparency) && (hasAlpha == o.hasAlpha) && (isAlphaPremultiplied == isAlphaPremultiplied) &...
public boolean equals(Object obj) { if (!(obj instanceof ColorModel)) return false; ColorModel o = (ColorModel) obj; return (pixel_bits == o.pixel_bits) && (transferType == o.transferType) && (transparency == o.transparency) && (hasAlpha == o.hasAlpha) && (isAlphaPremultiplied == isAlphaPremultiplied) &...
37,067
public void finalize() { }
public void finalize() { }
37,068
public WritableRaster getAlphaRaster(WritableRaster raster) { return null; /* It is a mystery to me why we couldn't use the following code... if (!hasAlpha()) return null; SampleModel sm = raster.getSampleModel(); int[] alphaBand = { sm.getNumBands() - 1 }; SampleModel alphaModel = sm....
public WritableRaster getAlphaRaster(WritableRaster raster) { return null; /* It is a mystery to me why we couldn't use the following code... if (!hasAlpha()) return null; SampleModel sm = raster.getSampleModel(); int[] alphaBand = { sm.getNumBands() - 1 }; SampleModel alphaModel = sm....
37,069
public final ColorSpace getColorSpace() { return cspace; }
public final ColorSpace getColorSpace() { return cspace; }
37,070
public int getComponentSize(int componentIdx) { return bits[componentIdx]; }
public int getComponentSize(int componentIdx) { return bits[componentIdx]; }
37,071
public int[] getComponents(int pixel, int[] components, int offset) { // FIXME: implement throw new UnsupportedOperationException(); }
public int[] getComponents(int pixel, int[] components, int offset) { // FIXME: implement throw new UnsupportedOperationException(); }
37,072
public int getDataElement(int[] components, int offset) { throw new UnsupportedOperationException(); }
public int getDataElement(int[] components, int offset) { throw new UnsupportedOperationException(); }
37,073
public Object getDataElements(int rgb, Object pixel) { // FIXME: implement throw new UnsupportedOperationException(); }
public Object getDataElements(int rgb, Object pixel) { // FIXME: implement throw new UnsupportedOperationException(); }
37,074
public float[] getNormalizedComponents(int[] components, int offset, float[] normComponents, int normOffset) { int numComponents = getNumComponents(); if (normComponents == null) { normComponents = new float[normOffset + numComponents]; } for (int i = 0; i < numComponents; i++) { float in = components[offset++...
public float[] getNormalizedComponents(int[] components, int offset, float[] normComponents, int normOffset) { int numComponents = getNumComponents(); if (normComponents == null) { normComponents = new float[normOffset + numComponents]; } for (int i = 0; i < numComponents; i++) { float in = components[offset++...
37,075
public float[] getNormalizedComponents(int[] components, int offset, float[] normComponents, int normOffset) { int numComponents = getNumComponents(); if (normComponents == null) { normComponents = new float[normOffset + numComponents]; } for (int i = 0; i < numComponents; i++) { float in = components[offset++...
public float[] getNormalizedComponents(int[] components, int offset, float[] normComponents, int normOffset) { int numComponents = getNumComponents(); if (normComponents == null) { normComponents = new float[normOffset + numComponents]; } for (int i = 0; i < numComponents; i++) { float in = components[offset++...
37,076
public float[] getNormalizedComponents(int[] components, int offset, float[] normComponents, int normOffset) { int numComponents = getNumComponents(); if (normComponents == null) { normComponents = new float[normOffset + numComponents]; } for (int i = 0; i < numComponents; i++) { float in = components[offset++...
public float[] getNormalizedComponents(int[] components, int offset, float[] normComponents, int normOffset) { int numComponents = getNumComponents(); if (normComponents == null) { normComponents = new float[normOffset + numComponents]; } for (int i = 0; i < numComponents; i++) { float in = components[offset++...
37,077
public float[] getNormalizedComponents(int[] components, int offset, float[] normComponents, int normOffset) { int numComponents = getNumComponents(); if (normComponents == null) { normComponents = new float[normOffset + numComponents]; } for (int i = 0; i < numComponents; i++) { float in = components[offset++...
public float[] getNormalizedComponents(int[] components, int offset, float[] normComponents, int normOffset) { int numComponents = getNumComponents(); if (normComponents == null) { normComponents = new float[normOffset + numComponents]; } for (int i = 0; i < numComponents; i++) { float in = components[offset++...
37,078
public int getNumColorComponents() { return cspace.getNumComponents(); }
public int getNumColorComponents() { return cspace.getNumComponents(); }
37,079
public int getNumComponents() { return getNumColorComponents() + (hasAlpha ? 1 : 0); }
public int getNumComponents() { return getNumColorComponents() + (hasAlpha ? 1 : 0); }
37,080
final int getPixelFromArray(Object inData) { DataBuffer data = Buffers.createBufferFromData(transferType, inData, 1); //Object da = Buffers.getData(data); return data.getElem(0); }
final int getPixelFromArray(Object inData) { DataBuffer data = Buffers.createBufferFromData(transferType, inData, 1); //Object da = Buffers.getData(data); return data.getElem(0); }
37,081
public int getPixelSize() { return pixel_bits; }
public int getPixelSize() { return pixel_bits; }
37,082
public int getRGB(int pixel) { return ((getAlpha(pixel) & 0xff) << 24) | ((getRed(pixel) & 0xff) << 16) | ((getGreen(pixel) & 0xff) << 8) | ((getBlue(pixel) & 0xff) << 0); }
public int getRGB(int pixel) { return ((getAlpha(pixel) & 0xff) << 24) | ((getRed(pixel) & 0xff) << 16) | ((getGreen(pixel) & 0xff) << 8) | ((getBlue(pixel) & 0xff) << 0); }
37,083
public static ColorModel getRGBdefault() { return new DirectColorModel(32, 0xff0000, 0xff00, 0xff, 0xff000000); }
public static ColorModel getRGBdefault() { return new DirectColorModel(32, 0xff0000, 0xff00, 0xff, 0xff000000); }
37,084
public int getTransparency() { return transparency; }
public int getTransparency() { return transparency; }
37,085
public int[] getUnnormalizedComponents(float[] normComponents, int normOffset, int[] components, int offset) { int numComponents = getNumComponents(); if (components == null) { components = new int[offset + numComponents]; } for (int i = 0; i < numComponents; i++) { float in = normComponents[normOffset++]; i...
public int[] getUnnormalizedComponents(float[] normComponents, int normOffset, int[] components, int offset) { int numComponents = getNumComponents(); if (components == null) { components = new int[offset + numComponents]; } for (int i = 0; i < numComponents; i++) { float in = normComponents[normOffset++]; i...
37,086
public int[] getUnnormalizedComponents(float[] normComponents, int normOffset, int[] components, int offset) { int numComponents = getNumComponents(); if (components == null) { components = new int[offset + numComponents]; } for (int i = 0; i < numComponents; i++) { float in = normComponents[normOffset++]; i...
public int[] getUnnormalizedComponents(float[] normComponents, int normOffset, int[] components, int offset) { int numComponents = getNumComponents(); if (components == null) { components = new int[offset + numComponents]; } for (int i = 0; i < numComponents; i++) { float in = normComponents[normOffset++]; i...
37,087
public int[] getUnnormalizedComponents(float[] normComponents, int normOffset, int[] components, int offset) { int numComponents = getNumComponents(); if (components == null) { components = new int[offset + numComponents]; } for (int i = 0; i < numComponents; i++) { float in = normComponents[normOffset++]; i...
public int[] getUnnormalizedComponents(float[] normComponents, int normOffset, int[] components, int offset) { int numComponents = getNumComponents(); if (components == null) { components = new int[offset + numComponents]; } for (int i = 0; i < numComponents; i++) { float in = normComponents[normOffset++]; i...
37,088
public int[] getUnnormalizedComponents(float[] normComponents, int normOffset, int[] components, int offset) { int numComponents = getNumComponents(); if (components == null) { components = new int[offset + numComponents]; } for (int i = 0; i < numComponents; i++) { float in = normComponents[normOffset++]; i...
public int[] getUnnormalizedComponents(float[] normComponents, int normOffset, int[] components, int offset) { int numComponents = getNumComponents(); if (components == null) { components = new int[offset + numComponents]; } for (int i = 0; i < numComponents; i++) { float in = normComponents[normOffset++]; i...
37,089
public final boolean hasAlpha() { return hasAlpha; }
public final boolean hasAlpha() { return hasAlpha; }
37,090
public final boolean isAlphaPremultiplied() { return isAlphaPremultiplied; }
public final boolean isAlphaPremultiplied() { return isAlphaPremultiplied; }
37,091
public boolean isCompatibleRaster(Raster raster) { SampleModel sampleModel = raster.getSampleModel(); return isCompatibleSampleModel(sampleModel); }
public boolean isCompatibleRaster(Raster raster) { SampleModel sampleModel = raster.getSampleModel(); return isCompatibleSampleModel(sampleModel); }
37,092
public boolean isCompatibleSampleModel(SampleModel sm) { return sm.getTransferType() == transferType; }
public boolean isCompatibleSampleModel(SampleModel sm) { return sm.getTransferType() == transferType; }
37,093
static int[] nArray(int value, int times) { int[] array = new int[times]; java.util.Arrays.fill(array, value); return array; }
static int[] nArray(int value, int times) { int[] array = new int[times]; java.util.Arrays.fill(array, value); return array; }
37,094
String stringParam() { return "pixel_bits=" + pixel_bits + ", cspace=" + cspace + ", transferType=" + transferType + ", transparency=" + transparency + ", hasAlpha=" + hasAlpha + ", isAlphaPremultiplied=" + isAlphaPremultiplied; }
String stringParam() { return "pixel_bits=" + pixel_bits + ", cspace=" + cspace + ", transferType=" + transferType + ", transparency=" + transparency + ", hasAlpha=" + hasAlpha + ", isAlphaPremultiplied=" + isAlphaPremultiplied; }
37,095
public String toString() { return getClass().getName() + "[" + stringParam() + "]"; }
public String toString() { return getClass().getName() + "[" + stringParam() + "]"; }
37,096
protected void setPropertiesFromAttributes() { Element el = getElement(); AttributeSet atts = el.getAttributes(); background = StyleConstants.getBackground(atts); foreground = StyleConstants.getForeground(atts); strikeThrough = StyleConstants.isStrikeThrough(atts); subscript = StyleConstants.isSubs...
protected void setPropertiesFromAttributes() { Element el = getElement(); AttributeSet atts = el.getAttributes(); background = (Color) atts.getAttribute(StyleConstants.Background); foreground = StyleConstants.getForeground(atts); strikeThrough = StyleConstants.isStrikeThrough(atts); subscript =...
37,097
Decoder (Charset cs) { super (cs, 1.0f, 1.0f); }
Decoder (Charset cs) { super (cs, 1f, 1f); }
37,098
protected CoderResult decodeLoop (ByteBuffer in, CharBuffer out) { // TODO: Optimize this in the case in.hasArray() / out.hasArray() int inPos = in.position(); try { while (in.hasRemaining ()) { char c; byte b1 = in.get (); int hig...
protected CoderResult decodeLoop (ByteBuffer in, CharBuffer out) { // TODO: Optimize this in the case in.hasArray() / out.hasArray() int inPos = in.position(); try { while (in.hasRemaining ()) { char c; byte b1 = in.get (); int hig...
37,099
protected CoderResult encodeLoop (CharBuffer in, ByteBuffer out) { int inPos = in.position(); try { // TODO: Optimize this in the case in.hasArray() / out.hasArray() while (in.hasRemaining ()) { int remaining = out.remaining (); char c = in.get ()...
protectedCoderResultencodeLoop(CharBufferin,ByteBufferout){intinPos=in.position();try{//TODO:Optimizethisinthecasein.hasArray()/out.hasArray()while(in.hasRemaining()){intremaining=out.remaining();charc=in.get();//UCS-4range(hex.)UTF-8octetsequence(binary)//00000000-0000007F0xxxxxxx//00000080-000007FF110xxxxx10xxxxxx//0...
37,101
protected CoderResult encodeLoop (CharBuffer in, ByteBuffer out) { int inPos = in.position(); try { // TODO: Optimize this in the case in.hasArray() / out.hasArray() while (in.hasRemaining ()) { int remaining = out.remaining (); char c = in.get ()...
protected CoderResult encodeLoop (CharBuffer in, ByteBuffer out) { int inPos = in.position(); try { // TODO: Optimize this in the case in.hasArray() / out.hasArray() while (in.hasRemaining ()) { int remaining = out.remaining (); char c = in.get ()...
37,102
protected CoderResult encodeLoop (CharBuffer in, ByteBuffer out) { int inPos = in.position(); try { // TODO: Optimize this in the case in.hasArray() / out.hasArray() while (in.hasRemaining ()) { int remaining = out.remaining (); char c = in.get ()...
protectedCoderResultencodeLoop(CharBufferin,ByteBufferout){intinPos=in.position();try{//TODO:Optimizethisinthecasein.hasArray()/out.hasArray()while(in.hasRemaining()){intremaining=out.remaining();charc=in.get();//UCS-4range(hex.)UTF-8octetsequence(binary)//00000000-0000007F0xxxxxxx//00000080-000007FF110xxxxx10xxxxxx//0...
37,103
String absolutize(String baseURI, String systemId, boolean nice) throws MalformedURLException, SAXException { // FIXME normalize system IDs -- when? // - Convert to UTF-8 // - Map reserved and non-ASCII characters to %HH try { if (baseURI == null && XmlParser.uriWarnings) { warn ("No ba...
String absolutize(String baseURI, String systemId, boolean nice) throws MalformedURLException, SAXException { // FIXME normalize system IDs -- when? // - Convert to UTF-8 // - Map reserved and non-ASCII characters to %HH try { if (baseURI == null) { if (XmlParser.uriWarnings) { warn ("N...
37,104
public Operand simplify() { return assignQuad.propagate(this); }
public Operand simplify() { return assignQuad.propagate(this); }
37,106
public static TypeCode type() { return new primitiveArrayTypeCode(TCKind.tk_any); }
public static TypeCode type() { return new ArrayTypeCode(TCKind.tk_any); }
37,107
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics();...
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics();...
37,108
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics();...
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics();...
37,109
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics();...
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics();...
37,110
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics();...
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics();...
37,111
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics();...
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics();...
37,112
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics();...
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics();...
37,113
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics();...
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics();...
37,114
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics();...
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics();...
37,115
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics();...
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics();...
37,116
public static final int getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) { int mark = Utilities.getTabbedTextOffset(s, metrics, x0, x, e, startOffset, false); BreakIterator breaker...
public static final int getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) { int mark = Utilities.getTabbedTextOffset(s, metrics, x0, x, e, startOffset, false); BreakIterator breaker...
37,117
public static final int getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) { int mark = Utilities.getTabbedTextOffset(s, metrics, x0, x, e, startOffset, false); BreakIterator breaker...
public static final int getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) { int mark = Utilities.getTabbedTextOffset(s, metrics, x0, x, e, startOffset, false); BreakIterator breaker...
37,118
public static final int getNextWord(JTextComponent c, int offs) throws BadLocationException { if (offs < 0 || offs > (c.getText().length() - 1)) throw new BadLocationException("invalid offset specified", offs); String text = c.getText(); BreakIterator wb = BreakIterator.getWordInstance(); wb.se...
public static final int getNextWord(JTextComponent c, int offs) throws BadLocationException { if (offs < 0 || offs > (c.getText().length() - 1)) throw new BadLocationException("invalid offset specified", offs); String text = c.getText(); BreakIterator wb = BreakIterator.getWordInstance(); wb.se...
37,119
public static final int getPreviousWord(JTextComponent c, int offs) throws BadLocationException { String text = c.getText(); if (offs <= 0 || offs > text.length()) throw new BadLocationException("invalid offset specified", offs); BreakIterator wb = BreakIterator.getWordInstance(); wb.se...
public static final int getPreviousWord(JTextComponent c, int offs) throws BadLocationException { String text = c.getText(); if (offs <= 0 || offs > text.length()) throw new BadLocationException("invalid offset specified", offs); BreakIterator wb = BreakIterator.getWordInstance(); wb.se...
37,120
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current...
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int found = s.count; ...
37,121
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current...
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current...
37,122
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current...
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current...
37,123
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current...
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current...
37,124