bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins...
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins...
34,251
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins...
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins...
34,252
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins...
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins...
34,253
public long transferFrom (ReadableByteChannel src, long position, long count) throws IOException { if (position < 0 || count < 0) throw new IllegalArgumentException (); if (!isOpen ()) throw new ClosedChannelException (); if ((mode & WRITE) == 0) throw new NonWritableChannelExcepti...
public long transferFrom (ReadableByteChannel src, long position, long count) throws IOException { if (position < 0 || count < 0) throw new IllegalArgumentException (); if (!isOpen ()) throw new ClosedChannelException (); if ((mode & WRITE) == 0) throw new NonWritableChannelExcepti...
34,254
public long transferFrom (ReadableByteChannel src, long position, long count) throws IOException { if (position < 0 || count < 0) throw new IllegalArgumentException (); if (!isOpen ()) throw new ClosedChannelException (); if ((mode & WRITE) == 0) throw new NonWritableChannelExcepti...
public long transferFrom (ReadableByteChannel src, long position, long count) throws IOException { if (position < 0 || count < 0) throw new IllegalArgumentException (); if (!isOpen ()) throw new ClosedChannelException (); if ((mode & WRITE) == 0) throw new NonWritableChannelExcepti...
34,255
public long transferTo (long position, long count, WritableByteChannel target) throws IOException { if (position < 0 || count < 0) throw new IllegalArgumentException (); if (!isOpen ()) throw new ClosedChannelException (); if ((mode & READ) == 0) throw new NonReadableChannelExcepti...
public long transferTo (long position, long count, WritableByteChannel target) throws IOException { if (position < 0 || count < 0) throw new IllegalArgumentException (); if (!isOpen ()) throw new ClosedChannelException (); if ((mode & READ) == 0) throw new NonReadableChannelExcepti...
34,256
public long transferTo (long position, long count, WritableByteChannel target) throws IOException { if (position < 0 || count < 0) throw new IllegalArgumentException (); if (!isOpen ()) throw new ClosedChannelException (); if ((mode & READ) == 0) throw new NonReadableChannelExcepti...
public long transferTo (long position, long count, WritableByteChannel target) throws IOException { if (position < 0 || count < 0) throw new IllegalArgumentException (); if (!isOpen ()) throw new ClosedChannelException (); if ((mode & READ) == 0) throw new NonReadableChannelExcepti...
34,257
protected View createView(FlowView fv, int offset, int spanLeft, int rowIndex) { // Find the logical element for the given offset. View logicalView = getLogicalView(fv); int viewIndex = logicalView.getViewIndex(offset, Position.Bias.Forward); if (viewIndex == -1) ...
protectedViewcreateView(FlowViewfv,intoffset,intspanLeft,introwIndex){//Findthelogicalelementforthegivenoffset.ViewlogicalView=getLogicalView(fv);intviewIndex=logicalView.getViewIndex(offset,Position.Bias.Forward);if(viewIndex==-1)returnnull;Viewchild=logicalView.getView(viewIndex);intflowAxis=fv.getFlowAxis();intspan=...
34,258
public MouseWheelEvent( Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int scrollType, int scrollAmount, int wheelRotation) { super(source, id, when, modifiers, x, y, clickCount, popupTrigger); this.scrollType = scrollType; this.scrollAmount = scro...
public MouseWheelEvent( Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int scrollType, int scrollAmount, int wheelRotation) { super(source, id, when, modifiers, x, y, clickCount, popupTrigger); this.scrollType = scrollType; this.scrollAmount = scro...
34,259
public int getScrollAmount() { return scrollAmount; }
public int getScrollAmount() { return scrollAmount; }
34,260
public int getScrollType() { return scrollType; }
public int getScrollType() { return scrollType; }
34,261
public int getUnitsToScroll() { return wheelRotation * scrollAmount; }
public int getUnitsToScroll() { return wheelRotation * scrollAmount; }
34,262
public String paramString() { return super.paramString() + ",scrollType=" + (scrollType == WHEEL_UNIT_SCROLL ? "WHEEL_UNIT_SCROLL" : scrollType == WHEEL_BLOCK_SCROLL ? "WHEEL_BLOCK_SCROLL" : "unknown scroll type") + ",scrollAmount=" + scrollAmount + ",wheelRotation=" + wheelRotation; }
public String paramString() { return super.paramString() + ",scrollType=" + (scrollType == WHEEL_UNIT_SCROLL ? "WHEEL_UNIT_SCROLL" : scrollType == WHEEL_BLOCK_SCROLL ? "WHEEL_BLOCK_SCROLL" : "unknown scroll type") + ",scrollAmount=" + scrollAmount + ",wheelRotation=" + wheelRotation; }
34,263
private int checkRule(int month) { if (startDay != 0) { if (startMonth < 0 || startMonth > 11) throw new IllegalArgumentException("month out of range"); if (startDayOfWeek == 0) startMode = DOM_MODE; else { if (startDayOfWeek > 0) startMode = DO...
private int checkRule(int month, int day, int dayOfWeek) { if (startDay != 0) { if (startMonth < 0 || startMonth > 11) throw new IllegalArgumentException("month out of range"); if (startDayOfWeek == 0) startMode = DOM_MODE; else { if (startDayOfWeek > 0) ...
34,264
private int checkRule(int month) { if (startDay != 0) { if (startMonth < 0 || startMonth > 11) throw new IllegalArgumentException("month out of range"); if (startDayOfWeek == 0) startMode = DOM_MODE; else { if (startDayOfWeek > 0) startMode = DO...
private int checkRule(int month) { if (startDay != 0) { if (startMonth < 0 || startMonth > 11) throw new IllegalArgumentException("month out of range"); if (startDayOfWeek == 0) startMode = DOM_MODE; else { if (startDayOfWeek > 0) startMode = DO...
34,265
private int checkRule(int month) { if (startDay != 0) { if (startMonth < 0 || startMonth > 11) throw new IllegalArgumentException("month out of range"); if (startDayOfWeek == 0) startMode = DOM_MODE; else { if (startDayOfWeek > 0) startMode = DO...
private int checkRule(int month) { if (startDay != 0) { if (startMonth < 0 || startMonth > 11) throw new IllegalArgumentException("month out of range"); if (startDayOfWeek == 0) startMode = DOM_MODE; else { if (startDayOfWeek > 0) startMode = DO...
34,266
private int checkRule(int month) { if (startDay != 0) { if (startMonth < 0 || startMonth > 11) throw new IllegalArgumentException("month out of range"); if (startDayOfWeek == 0) startMode = DOM_MODE; else { if (startDayOfWeek > 0) startMode = DO...
private int checkRule(int month) { if (startDay != 0) { if (startMonth < 0 || startMonth > 11) throw new IllegalArgumentException("month out of range"); if (startDayOfWeek == 0) startMode = DOM_MODE; else { if (startDayOfWeek > 0) startMode = DO...
34,267
private int checkRule(int month) { if (startDay != 0) { if (startMonth < 0 || startMonth > 11) throw new IllegalArgumentException("month out of range"); if (startDayOfWeek == 0) startMode = DOM_MODE; else { if (startDayOfWeek > 0) startMode = DO...
private int checkRule(int month) { if (startDay != 0) { if (startMonth < 0 || startMonth > 11) throw new IllegalArgumentException("month out of range"); if (startDayOfWeek == 0) startMode = DOM_MODE; else { if (startDayOfWeek > 0) startMode = DO...
34,268
private int checkRule(int month) { if (startDay != 0) { if (startMonth < 0 || startMonth > 11) throw new IllegalArgumentException("month out of range"); if (startDayOfWeek == 0) startMode = DOM_MODE; else { if (startDayOfWeek > 0) startMode = DO...
private int checkRule(int month) { if (startDay != 0) { if (startMonth < 0 || startMonth > 11) throw new IllegalArgumentException("month out of range"); if (startDayOfWeek == 0) startMode = DOM_MODE; else { if (startDayOfWeek > 0) startMode = DO...
34,269
private int checkRule(int month) { if (startDay != 0) { if (startMonth < 0 || startMonth > 11) throw new IllegalArgumentException("month out of range"); if (startDayOfWeek == 0) startMode = DOM_MODE; else { if (startDayOfWeek > 0) startMode = DO...
private int checkRule(int month) { if (startDay != 0) { if (startMonth < 0 || startMonth > 11) throw new IllegalArgumentException("month out of range"); if (startDayOfWeek == 0) startMode = DOM_MODE; else { if (startDayOfWeek > 0) startMode = DO...
34,270
public void setEndRule(int month, int day, int dayOfWeek, int time) { this.endMonth = month; this.endDay = day; this.endDayOfWeek = Math.abs(dayOfWeek); if (this.endTimeMode == WALL_TIME) this.endTime = time; else if (this.endTimeMode == STANDARD_TIME) // Convert from STANDARD to DST this...
public void setEndRule(int month, int day, int dayOfWeek, int time) { this.endMonth = month; this.endDay = day; this.endDayOfWeek = Math.abs(dayOfWeek); if (this.endTimeMode == WALL_TIME) this.endTime = time; else if (this.endTimeMode == STANDARD_TIME) // Convert from STANDARD to DST this...
34,271
public void setStartRule(int month, int day, int dayOfWeek, int time) { this.startMonth = month; this.startDay = day; this.startDayOfWeek = Math.abs(dayOfWeek); if (this.startTimeMode == WALL_TIME || this.startTimeMode == STANDARD_TIME) this.startTime = time; else // Convert from UTC to STAN...
public void setStartRule(int month, int day, int dayOfWeek, int time) { this.startMonth = month; this.startDay = day; this.startDayOfWeek = Math.abs(dayOfWeek); if (this.startTimeMode == WALL_TIME || this.startTimeMode == STANDARD_TIME) this.startTime = time; else // Convert from UTC to STAN...
34,272
private RefItem(int kind, Register reg, Object val, int offsetToFP) { super(kind, REFERENCE, offsetToFP); this.reg = reg; this.value = val; }
private RefItem(int kind, Register reg, Object val, int offsetToFP) { super(kind, REFERENCE, offsetToFP); this.reg = reg; this.value = val; }
34,273
static RefItem createConst(Object value) { return new RefItem(CONSTANT, null, value, 0); }
static RefItem createConst(Object value) { return new RefItem(CONSTANT, null, value, 0); }
34,274
Object getValue() { myAssert(getKind() == CONSTANT); return value; }
Object getValue() { myAssert(getKind() == CONSTANT); return value; }
34,275
void loadTo(EmitterContext ec, Register reg) { AbstractX86Stream os = ec.getStream(); X86RegisterPool pool = ec.getPool(); myAssert(!pool.isFree(reg)); switch (getKind()) { case REGISTER: if (this.reg != reg) { release(ec); os.writeMOV(INTSIZE, reg, this.reg); } break; case LOCAL: os.wr...
void loadTo(EmitterContext ec, Register reg) { AbstractX86Stream os = ec.getStream(); X86RegisterPool pool = ec.getPool(); myAssert(!pool.isFree(reg)); switch (getKind()) { case REGISTER: if (this.reg != reg) { release(ec); os.writeMOV(INTSIZE, reg, this.reg); } break; case LOCAL: os.wr...
34,276
void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); switch (getKind()) { case REGISTER: os.writePUSH(reg); break; case LOCAL: os.writePUSH(FP, offsetToFP); break; case CONSTANT: os.writePUSH_Const(value); break; case FREGISTER: //TODO notImplement...
void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); switch (getKind()) { case REGISTER: os.writePUSH(reg); break; case LOCAL: os.writePUSH(FP, offsetToFP); break; case CONSTANT: os.writePUSH_Const(value); break; case FREGISTER: //TODO notImplement...
34,277
public BMPImageReaderSpi() { super(vendorName, version, names, suffixes, MIMETypes, readerClassName, STANDARD_INPUT_TYPE, // Accept ImageImageInputStreams writerSpiNames, supportsStandardStreamMetadataFormat, nativeStreamMetadataFormatName, nativeStreamMetadataFormatClassNa...
public BMPImageReaderSpi() { super(vendorName, version, names, suffixes, MIMETypes, readerClassName, STANDARD_INPUT_TYPE, // Accept ImageImageInputStreams writerSpiNames, supportsStandardStreamMetadataFormat, nativeStreamMetadataFormatName, nativeStreamMetadataFormatClassNa...
34,278
public void drawChars(char[] data, int offset, int length, int x, int y) { if ((debugOptions & LOG_OPTION) != 0) logStream().println(prefix() + " Drawing chars at: " + new Point(x, y)); if ((debugOptions & FLASH_OPTION) != 0) { Color color = graphics.getColor(); for (int index = 0; index...
publicvoiddrawChars(char[]data,intoffset,intlength, intx,inty){if((debugOptions&LOG_OPTION)!=0)logStream().println(prefix()+"Drawingcharsat:"+newPoint(x,y));if((debugOptions&FLASH_OPTION)!=0){Colorcolor=graphics.getColor();for(intindex=0;index<(debugFlashCount-1);++index){ graphics.setColor(color); graphics.drawChars...
34,279
public void drawRect(int x, int y, int width, int height) { if ((debugOptions & LOG_OPTION) != 0) { logStream().println(prefix() + " Drawing rect: " + new Rectangle(x, y, width, height)); } if ((debugOptions & FLASH_OPTION) != 0) { Color color = graphics....
publicvoiddrawRect(intx,inty,intwidth,intheight){if((debugOptions&LOG_OPTION)!=0){logStream().println(prefix()+"Drawingrect:"+newRectangle(x,y,width,height));}if((debugOptions&FLASH_OPTION)!=0){Colorcolor=graphics.getColor();for(intindex=0;index<(debugFlashCount-1);++index){ graphics.setColor(color); graphics.drawRect(...
34,280
public void fillRect(int x, int y, int width, int height) { if ((debugOptions & LOG_OPTION) != 0) { logStream().println(prefix() + " Filling rect: " + new Rectangle(x, y, width, height)); } if ((debugOptions & FLASH_OPTION) != 0) { Color color = graphics....
publicvoidfillRect(intx,inty,intwidth,intheight){if((debugOptions&LOG_OPTION)!=0){logStream().println(prefix()+"Fillingrect:"+newRectangle(x,y,width,height));}if((debugOptions&FLASH_OPTION)!=0){Colorcolor=graphics.getColor();for(intindex=0;index<(debugFlashCount-1);++index){ graphics.setColor(color); graphics.fillRect(...
34,281
public static String unquote(String str) throws MalformedURLException { if (str == null) return null; byte[] buf = new byte[str.length()]; int pos = 0; for (int i = 0; i < str.length(); i++) { char c = str.charAt(i); if (c > 127) throw new MalformedURLException(str + " : Invalid character"); ...
public static String unquote(String str) throws MalformedURLException { if (str == null) return null; final int MAX_BYTES_PER_UTF_8_CHAR = 3; byte[] buf = new byte[str.length()*MAX_BYTES_PER_UTF_8_CHAR]; int pos = 0; for (int i = 0; i < str.length(); i++) { char c = str.charAt(i); if (c > 127)...
34,287
public static String unquote(String str) throws MalformedURLException { if (str == null) return null; byte[] buf = new byte[str.length()]; int pos = 0; for (int i = 0; i < str.length(); i++) { char c = str.charAt(i); if (c > 127) throw new MalformedURLException(str + " : Invalid character"); ...
public static String unquote(String str) throws MalformedURLException { if (str == null) return null; byte[] buf = new byte[str.length()]; int pos = 0; for (int i = 0; i < str.length(); i++) { char c = str.charAt(i); if (c > 127) throw new MalformedURLException(str + " : Invalid character"); ...
34,288
public ProtocolException(String message) { super(message); }
public ProtocolException() { super(message); }
34,290
public ProtocolException(String message) { super(message); }
public ProtocolException(String message) { }
34,291
public static String toString(char ch) { // Package constructor avoids an array copy. return new String(new char[] { ch }, 0, 1, true); }
public String toString() { // Package constructor avoids an array copy. return new String(new char[] { ch }, 0, 1, true); }
34,292
public static String toString(char ch) { // Package constructor avoids an array copy. return new String(new char[] { ch }, 0, 1, true); }
public static String toString(char ch) { // Package constructor avoids an array copy. return new String(new char[] { value }, 0, 1, true); }
34,293
private void parse(int version, DERReader der) throws Exception { // RevokedCertificate ::= SEQUENCE { DERValue entry = der.read(); debug("start CRL entry len == " + entry.getLength()); if (!entry.isConstructed()) throw new IOException("malformed revokedCertificate"); encoded = entry.getEncoded...
private void parse(int version, DERReader der) throws Exception { // RevokedCertificate ::= SEQUENCE { DERValue entry = der.read(); if (Configuration.DEBUG) log.fine("start CRL entry len == " + entry.getLength()); if (!entry.isConstructed()) throw new IOException("malformed revokedCertificate"); ...
34,294
private void parse(int version, DERReader der) throws Exception { // RevokedCertificate ::= SEQUENCE { DERValue entry = der.read(); debug("start CRL entry len == " + entry.getLength()); if (!entry.isConstructed()) throw new IOException("malformed revokedCertificate"); encoded = entry.getEncoded...
private void parse(int version, DERReader der) throws Exception { // RevokedCertificate ::= SEQUENCE { DERValue entry = der.read(); debug("start CRL entry len == " + entry.getLength()); if (!entry.isConstructed()) throw new IOException("malformed revokedCertificate"); encoded = entry.getEncoded...
34,295
private void parse(int version, DERReader der) throws Exception { // RevokedCertificate ::= SEQUENCE { DERValue entry = der.read(); debug("start CRL entry len == " + entry.getLength()); if (!entry.isConstructed()) throw new IOException("malformed revokedCertificate"); encoded = entry.getEncoded...
private void parse(int version, DERReader der) throws Exception { // RevokedCertificate ::= SEQUENCE { DERValue entry = der.read(); debug("start CRL entry len == " + entry.getLength()); if (!entry.isConstructed()) throw new IOException("malformed revokedCertificate"); encoded = entry.getEncoded...
34,296
private void parse(int version, DERReader der) throws Exception { // RevokedCertificate ::= SEQUENCE { DERValue entry = der.read(); debug("start CRL entry len == " + entry.getLength()); if (!entry.isConstructed()) throw new IOException("malformed revokedCertificate"); encoded = entry.getEncoded...
private void parse(int version, DERReader der) throws Exception { // RevokedCertificate ::= SEQUENCE { DERValue entry = der.read(); debug("start CRL entry len == " + entry.getLength()); if (!entry.isConstructed()) throw new IOException("malformed revokedCertificate"); encoded = entry.getEncoded...
34,297
private void parse(int version, DERReader der) throws Exception { // RevokedCertificate ::= SEQUENCE { DERValue entry = der.read(); debug("start CRL entry len == " + entry.getLength()); if (!entry.isConstructed()) throw new IOException("malformed revokedCertificate"); encoded = entry.getEncoded...
private void parse(int version, DERReader der) throws Exception { // RevokedCertificate ::= SEQUENCE { DERValue entry = der.read(); debug("start CRL entry len == " + entry.getLength()); if (!entry.isConstructed()) throw new IOException("malformed revokedCertificate"); encoded = entry.getEncoded...
34,298
private void parse(int version, DERReader der) throws Exception { // RevokedCertificate ::= SEQUENCE { DERValue entry = der.read(); debug("start CRL entry len == " + entry.getLength()); if (!entry.isConstructed()) throw new IOException("malformed revokedCertificate"); encoded = entry.getEncoded...
private void parse(int version, DERReader der) throws Exception { // RevokedCertificate ::= SEQUENCE { DERValue entry = der.read(); debug("start CRL entry len == " + entry.getLength()); if (!entry.isConstructed()) throw new IOException("malformed revokedCertificate"); encoded = entry.getEncoded...
34,299
private void parse(int version, DERReader der) throws Exception { // RevokedCertificate ::= SEQUENCE { DERValue entry = der.read(); debug("start CRL entry len == " + entry.getLength()); if (!entry.isConstructed()) throw new IOException("malformed revokedCertificate"); encoded = entry.getEncoded...
private void parse(int version, DERReader der) throws Exception { // RevokedCertificate ::= SEQUENCE { DERValue entry = der.read(); debug("start CRL entry len == " + entry.getLength()); if (!entry.isConstructed()) throw new IOException("malformed revokedCertificate"); encoded = entry.getEncoded...
34,300
public void propertyChange(PropertyChangeEvent e) { super.propertyChange(e); String name = e.getPropertyName(); if (name.equals("editable")) editablePropertyChanged(e); if (name.equals("enabled")) { if (arrowButton instanceof MetalComboBoxButton) { ...
public void propertyChange(PropertyChangeEvent e) { super.propertyChange(e); String name = e.getPropertyName(); if (name.equals("editable")) editablePropertyChanged(e); else if (name.equals("enabled")) { if (arrowButton instanceof MetalComboBoxButton) { ...
34,301
public Dimension getMinimumSize(JComponent c) { if (!isMinimumSizeDirty) return new Dimension(cachedMinimumSize); Dimension d; if (!comboBox.isEditable() && arrowButton != null && arrowButton instanceof MetalComboBoxButton) { MetalComboBoxButton b = (MetalComboBoxButton) arrowButton; ...
public Dimension getMinimumSize(JComponent c) { if (!isMinimumSizeDirty) return new Dimension(cachedMinimumSize); Dimension d; if (!comboBox.isEditable() && arrowButton != null && arrowButton instanceof MetalComboBoxButton) { MetalComboBoxButton b = (MetalComboBoxButton) arrowButton; ...
34,303
public Dimension getMinimumSize(JComponent c) { if (!isMinimumSizeDirty) return new Dimension(cachedMinimumSize); Dimension d; if (!comboBox.isEditable() && arrowButton != null && arrowButton instanceof MetalComboBoxButton) { MetalComboBoxButton b = (MetalComboBoxButton) arrowButton; ...
public Dimension getMinimumSize(JComponent c) { if (!isMinimumSizeDirty) return new Dimension(cachedMinimumSize); Dimension d; if (!comboBox.isEditable() && arrowButton != null && arrowButton instanceof MetalComboBoxButton) { MetalComboBoxButton b = (MetalComboBoxButton) arrowButton; ...
34,304
getNumberOfPages();
getNumberOfPages();
34,305
getPageFormat(int pageIndex) throws IndexOutOfBoundsException;
getPageFormat(int pageIndex) throws IndexOutOfBoundsException;
34,306
getPrintable(int pageIndex) throws IndexOutOfBoundsException;
getPrintable(int pageIndex) throws IndexOutOfBoundsException;
34,307
public boolean hasNext() { Ext2DirectoryRecord dr; Ext2FileSystem fs = (Ext2FileSystem) getFileSystem(); do { if(index>=iNode.getSize()) return false; dr = new Ext2DirectoryRecord(fs, data, index, index); index+=dr.getRecLen(); } while(dr.getINodeNr()==0); //inode nr=0 means the entry i...
public boolean hasNext() { Ext2DirectoryRecord dr; Ext2FileSystem fs = (Ext2FileSystem) getFileSystem(); do { if(index>=iNode.getSize()) return false; dr = new Ext2DirectoryRecord(fs, data, index, index); index+=dr.getRecLen(); } while(dr.getINodeNr()==0); //inode nr=0 means the entry i...
34,308
private void addDirectoryRecord(Ext2DirectoryRecord dr) throws IOException, FileSystemException{ Ext2File dir = new Ext2File(iNode); //read itself as a file //a single inode may be represented by more than one Ext2Directory instances, //but each will use the same instance of the underlying inode (see Ext2FileSyst...
private void addDirectoryRecord(Ext2DirectoryRecord dr) throws IOException, FileSystemException{ Ext2File dir = new Ext2File(iNode); //read itself as a file //a single inode may be represented by more than one Ext2Directory instances, //but each will use the same instance of the underlying inode (see Ext2FileSyst...
34,309
private void addDirectoryRecord(Ext2DirectoryRecord dr) throws IOException, FileSystemException{ Ext2File dir = new Ext2File(iNode); //read itself as a file //a single inode may be represented by more than one Ext2Directory instances, //but each will use the same instance of the underlying inode (see Ext2FileSyst...
private void addDirectoryRecord(Ext2DirectoryRecord dr) throws IOException, FileSystemException{ Ext2File dir = new Ext2File(iNode); //read itself as a file //a single inode may be represented by more than one Ext2Directory instances, //but each will use the same instance of the underlying inode (see Ext2FileSyst...
34,310
private void addDirectoryRecord(Ext2DirectoryRecord dr) throws IOException, FileSystemException{ Ext2File dir = new Ext2File(iNode); //read itself as a file //a single inode may be represented by more than one Ext2Directory instances, //but each will use the same instance of the underlying inode (see Ext2FileSyst...
private void addDirectoryRecord(Ext2DirectoryRecord dr) throws IOException, FileSystemException{ Ext2File dir = new Ext2File(iNode); //read itself as a file //a single inode may be represented by more than one Ext2Directory instances, //but each will use the same instance of the underlying inode (see Ext2FileSyst...
34,311
public FSEntry createDirectoryEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Dir...
publicFSEntrycreateDirectoryEntry(Stringname)throwsIOException{ if(!canWrite()) thrownewIOException("Filesystemordirectoryismountedread-only!"); //createanewiNodeforthefile //TODO:accessrights,filetype,UIDandGIDshouldbepassedthroughtheFSDirectoryinterface INodenewINode; Ext2DirectoryRecorddr; Ext2EntrynewEntry...
34,312
public FSEntry createDirectoryEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Dir...
public FSEntry createDirectoryEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Dir...
34,313
public FSEntry createDirectoryEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Dir...
public FSEntry createDirectoryEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Dir...
34,314
public FSEntry createFileEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Director...
public FSEntry createFileEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Director...
34,315
public ClassNotFoundException() { super(); }
public ClassNotFoundException() { super(); }
34,316
public int columnAtPoint(Point point) { if (point != null) { int x0 = getLocation().x; int ncols = getColumnCount(); Dimension gap = getIntercellSpacing(); TableColumnModel cols = getColumnModel(); int x = point.x; for (int i = 0; i < ncols; ++i) { ...
public int columnAtPoint(Point point) { if (point != null) { int ncols = getColumnCount(); Dimension gap = getIntercellSpacing(); TableColumnModel cols = getColumnModel(); int x = point.x; for (int i = 0; i < ncols; ++i) { int width = cols.getColu...
34,318
private static int[] getSelections(ListSelectionModel lsm) { int sz = countSelections(lsm); int [] ret = new int[sz]; int lo = lsm.getMinSelectionIndex(); int hi = lsm.getMaxSelectionIndex(); int j = 0; java.util.ArrayList ls = new java.util.ArrayList(); if (lo != -1 && hi != -1) { s...
private static int[] getSelections(ListSelectionModel lsm) { int sz = countSelections(lsm); int [] ret = new int[sz]; int lo = lsm.getMinSelectionIndex(); int hi = lsm.getMaxSelectionIndex(); int j = 0; if (lo != -1 && hi != -1) { switch (lsm.getSelectionMode()) { c...
34,319
public Component prepareRenderer(TableCellRenderer renderer, int row, int column) { boolean rsa = getRowSelectionAllowed(); boolean csa = getColumnSelectionAllowed(); boolean rs = rsa ? getSelectionModel().isSelectedIndex(row) : false; b...
public Component prepareRenderer(TableCellRenderer renderer, int row, int column) { boolean rsa = getRowSelectionAllowed(); boolean csa = getColumnSelectionAllowed(); boolean rs = rsa ? getSelectionModel().isSelectedIndex(row) : false; b...
34,320
public Component prepareRenderer(TableCellRenderer renderer, int row, int column) { boolean rsa = getRowSelectionAllowed(); boolean csa = getColumnSelectionAllowed(); boolean rs = rsa ? getSelectionModel().isSelectedIndex(row) : false; b...
public Component prepareRenderer(TableCellRenderer renderer, int row, int column) { boolean rsa = getRowSelectionAllowed(); boolean csa = getColumnSelectionAllowed(); boolean rs = rsa ? getSelectionModel().isSelectedIndex(row) : false; b...
34,321
public int rowAtPoint(Point point) { if (point != null) { int y0 = getLocation().y; int nrows = getRowCount(); int height = getRowHeight(); int y = point.y; for (int i = 0; i < nrows; ++i) { if (0 <= y && y < height) return i; y -...
public int rowAtPoint(Point point) { if (point != null) { int nrows = getRowCount(); int height = getRowHeight(); int y = point.y; for (int i = 0; i < nrows; ++i) { if (0 <= y && y < height) return i; y -= height; } ...
34,322
public byte[] getEncoded() { if (encoded == null) { List bc = new ArrayList (2); bc.add (new DERValue (DER.BOOLEAN, new Boolean (ca))); if (pathLenConstraint >= 0) bc.add (new DERValue (DER.INTEGER, BigInteger.valueOf ((long) pathLenConstraint))); ...
public byte[] getEncoded() { if (encoded == null) { List bc = new ArrayList (2); bc.add (new DERValue (DER.BOOLEAN, Boolean.valueOf (ca))); if (pathLenConstraint >= 0) bc.add (new DERValue (DER.INTEGER, BigInteger.valueOf ((long) pathLenConstraint)...
34,323
public TreePath getOldLeadSelectionPath() { return oldLeadSelectionPath; } // getOldLeadSelectionPath()
public TreePath getOldLeadSelectionPath() { return oldLeadSelectionPath; } // getOldLeadSelectionPath()
34,324
public TreePath getPath() { return paths[0]; } // getPath()
public TreePath getPath() { return paths[0]; } // getPath()
34,325
public TreePath[] getPaths() { return paths; } // getPaths()
public TreePath[] getPaths() { return paths; } // getPaths()
34,326
public boolean isAddedPath() { return false; // TODO } // isAddedPath()
public boolean isAddedPath() { return false; // TODO } // isAddedPath()
34,327
private Date makeTime(int tag, byte[] value) throws IOException { Calendar calendar = Calendar.getInstance(); String str = makeString(PRINTABLE_STRING, value); // Classpath's SimpleDateFormat does not work for parsing these // types of times, so we do this by hand. String date = str; String tz = ""...
private Date makeTime(int tag, byte[] value) throws IOException { Calendar calendar = Calendar.getInstance(); String str = makeString(PRINTABLE_STRING, value); // Classpath's SimpleDateFormat does not work for parsing these // types of times, so we do this by hand. String date = str; String tz = ""...
34,329
public ClassFormatError() { super(); }
public ClassFormatError() { super(); }
34,330
private static final void fxchST1(AbstractX86Stream os, FPUStack fpuStack, Register fpuReg) { // We need reg to be ST1, if not swap if (fpuReg != Register.ST1) { // Swap reg with ST0 fxch(os, fpuStack, fpuReg); fxch(os, fpuStack, Register.ST1); fx...
privatestaticfinalvoidfxchST1(AbstractX86Streamos,FPUStackfpuStack,RegisterfpuReg){//WeneedregtobeST1,ifnotswapif(fpuReg!=Register.ST1){//SwapregwithST0fxch(os,fpuStack,fpuReg);fxch(os,fpuStack,Register.ST1);fxch(os,fpuStack,fpuReg);}}
34,331
final private String capitalize(String s) { return s.substring(0, 1).toUpperCase() + s.substring(1); }
private String capitalize(String s) { return s.substring(0, 1).toUpperCase() + s.substring(1); }
34,333
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ...
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; ResponseHandlerImpl i_handler = null; try...
34,334
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ...
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ...
34,335
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ...
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ...
34,336
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ...
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ...
34,337
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ...
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ...
34,338
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ...
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ...
34,339
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ...
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ...
34,340
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ...
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ...
34,341
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ...
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ...
34,342
public boolean _is_equivalent(org.omg.CORBA.Object other) { if (other instanceof gnuServantObject) { gnuServantObject g = (gnuServantObject) other; return orb == g.orb && poa == g.poa && Arrays.equals(Id, g.Id); } else if (other instanceof IOR_contructed_object) { IOR_contru...
public boolean _is_equivalent(org.omg.CORBA.Object other) { if (other instanceof gnuServantObject) { gnuServantObject g = (gnuServantObject) other; return orb == g.orb && poa == g.poa && Arrays.equals(Id, g.Id); } else if (other instanceof IorObject) { IOR_contructed_object ...
34,343
public boolean _is_equivalent(org.omg.CORBA.Object other) { if (other instanceof gnuServantObject) { gnuServantObject g = (gnuServantObject) other; return orb == g.orb && poa == g.poa && Arrays.equals(Id, g.Id); } else if (other instanceof IOR_contructed_object) { IOR_contru...
public boolean _is_equivalent(org.omg.CORBA.Object other) { if (other instanceof gnuServantObject) { gnuServantObject g = (gnuServantObject) other; return orb == g.orb && poa == g.poa && Arrays.equals(Id, g.Id); } else if (other instanceof IOR_contructed_object) { IorObject ...
34,344
public boolean _is_equivalent(org.omg.CORBA.Object other) { if (other instanceof gnuServantObject) { gnuServantObject g = (gnuServantObject) other; return orb == g.orb && poa == g.poa && Arrays.equals(Id, g.Id); } else if (other instanceof IOR_contructed_object) { IOR_contru...
public boolean _is_equivalent(org.omg.CORBA.Object other) { if (other instanceof gnuServantObject) { gnuServantObject g = (gnuServantObject) other; return orb == g.orb && poa == g.poa && Arrays.equals(Id, g.Id); } else if (other instanceof IOR_contructed_object) { IOR_contru...
34,345
public InvokeHandler servantToHandler(Servant a_servant) { if (a_servant instanceof InvokeHandler) { return (InvokeHandler) a_servant; } else if (a_servant instanceof DynamicImplementation) { return new dynImpHandler((DynamicImplementation) a_servant); } else { ...
public InvokeHandler servantToHandler(Servant a_servant) { if (a_servant instanceof InvokeHandler) { return (InvokeHandler) a_servant; } else if (a_servant instanceof DynamicImplementation) { return new DynamicImpHandler((DynamicImplementation) a_servant); } else { ...
34,346
public byte[] idFormIor(byte[] ior_key) { cdrBufInput in = new cdrBufInput(ior_key); int signature = in.read_long(); if (signature != SIGNATURE) return null; byte[] object_id = in.read_sequence(); byte[] poa_id = in.read_sequence(); if (Arrays.equals(poa_id, id())) return object_id; el...
public byte[] idFormIor(byte[] ior_key) { BufferredCdrInput in = new BufferredCdrInput(ior_key); int signature = in.read_long(); if (signature != SIGNATURE) return null; byte[] object_id = in.read_sequence(); byte[] poa_id = in.read_sequence(); if (Arrays.equals(poa_id, id())) return obje...
34,347
public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IOR_contructed_object) { IOR_contructed_object iref = (IOR_contructed_object) ft...
public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IorObject) { IOR_contructed_object iref = (IOR_contructed_object) fto; ...
34,348
public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IOR_contructed_object) { IOR_contructed_object iref = (IOR_contructed_object) ft...
public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IOR_contructed_object) { IorObject iref = (IorObject) fto; // Check m...
34,349
public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IOR_contructed_object) { IOR_contructed_object iref = (IOR_contructed_object) ft...
public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IOR_contructed_object) { IOR_contructed_object iref = (IOR_contructed_object) ft...
34,350
public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IOR_contructed_object) { IOR_contructed_object iref = (IOR_contructed_object) ft...
public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IOR_contructed_object) { IOR_contructed_object iref = (IOR_contructed_object) ft...
34,351
public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IOR_contructed_object) { IOR_contructed_object iref = (IOR_contructed_object) ft...
public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IOR_contructed_object) { IOR_contructed_object iref = (IOR_contructed_object) ft...
34,352
public void activate_object_with_id(byte[] an_Object_Id, Servant a_servant, boolean use_forwarding ) throws ServantAlreadyActive, ObjectAlreadyActive, WrongPolicy { checkDisc...
public void activate_object_with_id(byte[] an_Object_Id, Servant a_servant, boolean use_forwarding ) throws ServantAlreadyActive, ObjectAlreadyActive, WrongPolicy { checkDisc...
34,353
public void activate_object_with_id(byte[] an_Object_Id, Servant a_servant, boolean use_forwarding ) throws ServantAlreadyActive, ObjectAlreadyActive, WrongPolicy { checkDisc...
public void activate_object_with_id(byte[] an_Object_Id, Servant a_servant, boolean use_forwarding ) throws ServantAlreadyActive, ObjectAlreadyActive, WrongPolicy { checkDisc...
34,354
public Servant id_to_servant(byte[] the_Object_Id) throws ObjectNotActive, WrongPolicy { if (applies(ServantRetentionPolicyValue.RETAIN)) { activeObjectMap.Obj ref = aom.get(the_Object_Id); if (ref == null || ref.isDeactiveted()) { if (default_servant ...
public Servant id_to_servant(byte[] the_Object_Id) throws ObjectNotActive, WrongPolicy { if (applies(ServantRetentionPolicyValue.RETAIN)) { AOM.Obj ref = aom.get(the_Object_Id); if (ref == null || ref.isDeactiveted()) { if (default_servant != null) ...
34,355
EntryInputStream(final ZipEntry entry, final InputStream in) throws IOException { super(in); this.entry = entry; length = entry.getSize(); pos = 0; checked = false; Attributes attr = manifest.getAttributes(entry.getName()); if (DEBUG) debug("verifying entry " + entr...
EntryInputStream(final ZipEntry entry, final InputStream in, final JarFile jar) throws IOException { super(in); this.entry = entry; length = entry.getSize(); pos = 0; checked = false; Attributes attr = manifest.getAttributes(entry.getName()); if (DEBUG) debug("verif...
34,356
EntryInputStream(final ZipEntry entry, final InputStream in) throws IOException { super(in); this.entry = entry; length = entry.getSize(); pos = 0; checked = false; Attributes attr = manifest.getAttributes(entry.getName()); if (DEBUG) debug("verifying entry " + entr...
EntryInputStream(final ZipEntry entry, final InputStream in) throws IOException { super(in); this.entry = entry; length = entry.getSize(); pos = 0; checked = false; Attributes attr; Manifest manifest = jarfile.getManifest(); if (manifest != null) attr = manifest.getAttributes(e...
34,357
private void eof() throws IOException { if (checked) return; checked = true; for (int i = 0; i < md.length; i++) { byte[] hash = md[i].digest(); if (DEBUG) debug("verifying " + md[i].getAlgorithm() + " expect=" + new java.math.BigInteger(...
private void eof() throws IOException { if (checked) return; checked = true; for (int i = 0; i < md.length; i++) { byte[] hash = md[i].digest(); if (DEBUG) debug("verifying " + md[i].getAlgorithm() + " expect=" + new java.math.BigInteger(...
34,358
private void eof() throws IOException { if (checked) return; checked = true; for (int i = 0; i < md.length; i++) { byte[] hash = md[i].digest(); if (DEBUG) debug("verifying " + md[i].getAlgorithm() + " expect=" + new java.math.BigInteger(...
private void eof() throws IOException { if (checked) return; checked = true; for (int i = 0; i < md.length; i++) { byte[] hash = md[i].digest(); if (DEBUG) debug("verifying " + md[i].getAlgorithm() + " expect=" + new java.math.BigInteger(...
34,359
JarEnumeration(Enumeration e) { entries = e; }
JarEnumeration(Enumeration e, JarFile f) { entries = e; }
34,360