bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void addNotify() { if (getPeer() == null) return; setPeer((ComponentPeer) getToolkit().createScrollPane(this)); if (hAdjustable != null) hAdjustable.addNotify(); if (vAdjustable != null) vAdjustable.removeNotify(); }
public void addNotify() { if (getPeer() == null) return; setPeer((ComponentPeer) getToolkit().createScrollPane(this)); if (hAdjustable != null) hAdjustable.addNotify(); if (vAdjustable != null) vAdjustable.removeNotify(); }
31,892
public void addNotify() { if (getPeer() == null) return; setPeer((ComponentPeer) getToolkit().createScrollPane(this)); if (hAdjustable != null) hAdjustable.addNotify(); if (vAdjustable != null) vAdjustable.removeNotify(); }
public void addNotify() { if (getPeer() == null) return; setPeer((ComponentPeer) getToolkit().createScrollPane(this)); if (hAdjustable != null) hAdjustable.addNotify(); if (vAdjustable != null) vAdjustable.removeNotify(); }
31,893
public void doLayout() { Component[] list = getComponents(); if ((list != null) && (list.length > 0)) { Dimension dim = list[0].getPreferredSize(); list[0].resize(dim); Point p = getScrollPosition(); if (p.x > dim.width) p.x = dim.width; if (p.y > dim.height) p.y = dim.height; setScrollPosition(p);...
public void doLayout() { Component[] list = getComponents(); if ((list != null) && (list.length > 0)) { Dimension dim = list[0].getPreferredSize(); list[0].resize(dim); Point p = getScrollPosition(); if (p.x > dim.width) p.x = dim.width; if (p.y > dim.height) p.y = dim.height; setScrollPosition(p);...
31,894
public Adjustable getHAdjustable() { return (hAdjustable); }
public Adjustable getHAdjustable() { return (hAdjustable); }
31,895
public int getHScrollbarHeight() { ScrollPanePeer spp = (ScrollPanePeer) getPeer(); if (spp != null) return (spp.getHScrollbarHeight()); else return (0); // FIXME: What to do here? }
public int getHScrollbarHeight() { ScrollPanePeer spp = (ScrollPanePeer) getPeer(); if (spp != null) return (spp.getHScrollbarHeight()); else return (0); // FIXME: What to do here? }
31,896
public int getHScrollbarHeight() { ScrollPanePeer spp = (ScrollPanePeer) getPeer(); if (spp != null) return (spp.getHScrollbarHeight()); else return (0); // FIXME: What to do here? }
public int getHScrollbarHeight() { ScrollPanePeer spp = (ScrollPanePeer) getPeer(); if (spp != null) return (spp.getHScrollbarHeight()); else return (0); // FIXME: What to do here? }
31,897
public int getHScrollbarHeight() { ScrollPanePeer spp = (ScrollPanePeer) getPeer(); if (spp != null) return (spp.getHScrollbarHeight()); else return (0); // FIXME: What to do here? }
public int getHScrollbarHeight() { ScrollPanePeer spp = (ScrollPanePeer) getPeer(); if (spp != null) return (spp.getHScrollbarHeight()); else return (0); // FIXME: What to do here? }
31,898
public Point getScrollPosition() { int x = 0; int y = 0; Adjustable v = getVAdjustable(); Adjustable h = getHAdjustable(); if (v != null) y = v.getValue(); if (h != null) x = h.getValue(); return (new Point(x, y)); }
public Point getScrollPosition() { int x = 0; int y = 0; Adjustable v = getVAdjustable(); Adjustable h = getHAdjustable(); if (v != null) y = v.getValue(); if (h != null) x = h.getValue(); return (new Point(x, y)); }
31,899
public Point getScrollPosition() { int x = 0; int y = 0; Adjustable v = getVAdjustable(); Adjustable h = getHAdjustable(); if (v != null) y = v.getValue(); if (h != null) x = h.getValue(); return (new Point(x, y)); }
public Point getScrollPosition() { int x = 0; int y = 0; Adjustable v = getVAdjustable(); Adjustable h = getHAdjustable(); if (v != null) y = v.getValue(); if (h != null) x = h.getValue(); return (new Point(x, y)); }
31,900
public int getScrollbarDisplayPolicy() { return (scrollbarDisplayPolicy); }
public int getScrollbarDisplayPolicy() { return (scrollbarDisplayPolicy); }
31,901
public Adjustable getVAdjustable() { return (vAdjustable); }
public Adjustable getVAdjustable() { return (vAdjustable); }
31,902
public int getVScrollbarWidth() { ScrollPanePeer spp = (ScrollPanePeer) getPeer(); if (spp != null) return (spp.getVScrollbarWidth()); else return (0); // FIXME: What to do here? }
public int getVScrollbarWidth() { ScrollPanePeer spp = (ScrollPanePeer) getPeer(); if (spp != null) return (spp.getVScrollbarWidth()); else return (0); // FIXME: What to do here? }
31,903
public int getVScrollbarWidth() { ScrollPanePeer spp = (ScrollPanePeer) getPeer(); if (spp != null) return (spp.getVScrollbarWidth()); else return (0); // FIXME: What to do here? }
public int getVScrollbarWidth() { ScrollPanePeer spp = (ScrollPanePeer) getPeer(); if (spp != null) return (spp.getVScrollbarWidth()); else return (0); // FIXME: What to do here? }
31,904
public int getVScrollbarWidth() { ScrollPanePeer spp = (ScrollPanePeer) getPeer(); if (spp != null) return (spp.getVScrollbarWidth()); else return (0); // FIXME: What to do here? }
public int getVScrollbarWidth() { ScrollPanePeer spp = (ScrollPanePeer) getPeer(); if (spp != null) return (spp.getVScrollbarWidth()); else return (0); // FIXME: What to do here? }
31,905
public Dimension getViewportSize() { Dimension viewsize = getSize(); Insets insets = getInsets(); viewsize.width = viewsize.width - (insets.left + insets.right); viewsize.height = viewsize.height - (insets.top + insets.bottom); ScrollPaneAdjustable v = (ScrollPaneAdjustable) getVAdjustable(); ScrollPaneAdjustabl...
public Dimension getViewportSize() { Dimension viewsize = getSize(); Insets insets = getInsets(); viewsize.width = viewsize.width - (insets.left + insets.right); viewsize.height = viewsize.height - (insets.top + insets.bottom); ScrollPaneAdjustable v = (ScrollPaneAdjustable) getVAdjustable(); ScrollPaneAdjustabl...
31,906
public Dimension getViewportSize() { Dimension viewsize = getSize(); Insets insets = getInsets(); viewsize.width = viewsize.width - (insets.left + insets.right); viewsize.height = viewsize.height - (insets.top + insets.bottom); ScrollPaneAdjustable v = (ScrollPaneAdjustable) getVAdjustable(); ScrollPaneAdjustabl...
public Dimension getViewportSize() { Dimension viewsize = getSize(); Insets insets = getInsets(); viewsize.width = viewsize.width - (insets.left + insets.right); viewsize.height = viewsize.height - (insets.top + insets.bottom); ScrollPaneAdjustable v = (ScrollPaneAdjustable) getVAdjustable(); ScrollPaneAdjustabl...
31,907
public Dimension getViewportSize() { Dimension viewsize = getSize(); Insets insets = getInsets(); viewsize.width = viewsize.width - (insets.left + insets.right); viewsize.height = viewsize.height - (insets.top + insets.bottom); ScrollPaneAdjustable v = (ScrollPaneAdjustable) getVAdjustable(); ScrollPaneAdjustabl...
public Dimension getViewportSize() { Dimension viewsize = getSize(); Insets insets = getInsets(); viewsize.width = viewsize.width - (insets.left + insets.right); viewsize.height = viewsize.height - (insets.top + insets.bottom); ScrollPaneAdjustable v = (ScrollPaneAdjustable) getVAdjustable(); ScrollPaneAdjustabl...
31,908
public Dimension getViewportSize() { Dimension viewsize = getSize(); Insets insets = getInsets(); viewsize.width = viewsize.width - (insets.left + insets.right); viewsize.height = viewsize.height - (insets.top + insets.bottom); ScrollPaneAdjustable v = (ScrollPaneAdjustable) getVAdjustable(); ScrollPaneAdjustabl...
public Dimension getViewportSize() { Dimension viewsize = getSize(); Insets insets = getInsets(); viewsize.width = viewsize.width - (insets.left + insets.right); viewsize.height = viewsize.height - (insets.top + insets.bottom); ScrollPaneAdjustable v = (ScrollPaneAdjustable) getVAdjustable(); ScrollPaneAdjustabl...
31,909
public void layout() { doLayout(); }
public void layout() { doLayout(); }
31,911
public String paramString() { return (getClass().getName()); }
public String paramString() { return (getClass().getName()); }
31,913
public void printComponents(Graphics graphics) { super.printComponents(graphics); }
public void printComponents(Graphics graphics) { super.printComponents(graphics); }
31,914
public void printComponents(Graphics graphics) { super.printComponents(graphics); }
public void printComponents(Graphics graphics) { super.printComponents(graphics); }
31,915
public void removeNotify() { if (hAdjustable != null) hAdjustable.removeNotify(); if (vAdjustable != null) vAdjustable.removeNotify(); super.removeNotify(); }
public void removeNotify() { if (hAdjustable != null) hAdjustable.removeNotify(); if (vAdjustable != null) vAdjustable.removeNotify(); super.removeNotify(); }
31,916
public void removeNotify() { if (hAdjustable != null) hAdjustable.removeNotify(); if (vAdjustable != null) vAdjustable.removeNotify(); super.removeNotify(); }
public void removeNotify() { if (hAdjustable != null) hAdjustable.removeNotify(); if (vAdjustable != null) vAdjustable.removeNotify(); super.removeNotify(); }
31,917
public final void setLayout(LayoutManager layoutManager) { return; }
public final void setLayout(LayoutManager layoutManager) { return; }
31,918
public final void setLayout(LayoutManager layoutManager) { return; }
public final void setLayout(LayoutManager layoutManager) { return; }
31,919
public void setScrollPosition(Point scrollPosition) throws IllegalArgumentException { setScrollPosition(scrollPosition.x, scrollPosition.y); }
public void setScrollPosition(Point scrollPosition) throws IllegalArgumentException { setScrollPosition(scrollPosition.x, scrollPosition.y); }
31,920
public void setScrollPosition(Point scrollPosition) throws IllegalArgumentException { setScrollPosition(scrollPosition.x, scrollPosition.y); }
public void setScrollPosition(Point scrollPosition) throws IllegalArgumentException { setScrollPosition(scrollPosition.x, scrollPosition.y); }
31,921
ScrollPaneAdjustable(int orientation){ super(orientation);}
ScrollPaneAdjustable(int orientation){ super(orientation);}
31,922
public void clear(int memPtr, int size) { testMemPtr(memPtr, size); Unsafe.clear(start.add(Offset.fromIntZeroExtend(memPtr)), Extent.fromIntZeroExtend(size)); }
public void clear(int memPtr, int size) { testMemPtr(memPtr, size); Unsafe.clear(start.add(Offset.fromIntZeroExtend(memPtr)), Extent.fromIntZeroExtend(size)); }
31,923
public int compareTo(Region otherRegion) { final MemoryResourceImpl other = (MemoryResourceImpl) otherRegion; if (this.end.LE(other.start)) { // this < other return -1; } if (this.start.GT(other.end)) { // this > other return 1; } // this overlaps other return 0; }
public int compareTo(Region otherRegion) { final MemoryResourceImpl other = (MemoryResourceImpl) otherRegion; if (this.end.LE(other.start)) { // this < other return -1; } if (this.start.GT(other.end)) { // this > other return 1; } // this overlaps other return 0; }
31,924
public Object getObject(int memPtr) { if (this.data != null) { throw new SecurityException("Cannot get an Object from a byte-array"); } testMemPtr(memPtr, 4); return start.loadObjectReference(Offset.fromIntSignExtend(memPtr)).toObject(); }
public Object getObject(int memPtr) { if (this.data != null) { throw new SecurityException("Cannot get an Object from a byte-array"); } testMemPtr(memPtr, 4); return start.loadObjectReference(Offset.fromIntSignExtend(memPtr)).toObject(); }
31,925
public void setInt(int memPtr, int value) { testMemPtr(memPtr, 4); start.store(value, Offset.fromIntSignExtend(value)); }
public void setInt(int memPtr, int value) { testMemPtr(memPtr, 4); start.store(value, Offset.fromIntSignExtend(value)); }
31,926
public EEPRO100TxFD(MemoryResource mem) { this.mem = mem; }
public EEPRO100TxFD(MemoryResource mem) { }
31,927
private boolean addNamespace(Attribute attr) throws XMLStreamException { if ("xmlns".equals(attr.name)) { LinkedHashMap ctx = (LinkedHashMap) namespaces.getFirst(); if (ctx.get(XMLConstants.DEFAULT_NS_PREFIX) != null) error("Duplicate default namespace declaration"); if (XMLC...
private boolean addNamespace(Attribute attr) throws XMLStreamException { if ("xmlns".equals(attr.name)) { LinkedHashMap ctx = (LinkedHashMap) namespaces.getFirst(); if (ctx.get(XMLConstants.DEFAULT_NS_PREFIX) != null) error("Duplicate default namespace declaration"); if (XMLC...
31,928
public int getNamespaceCount() { if (!namespaceAware) return 0; switch (event) { case XMLStreamConstants.START_ELEMENT: case XMLStreamConstants.END_ELEMENT: LinkedHashMap ctx = (LinkedHashMap) namespaces.getFirst(); return ctx.size(); default: return 0; } }
public int getNamespaceCount() { if (!namespaceAware || namespaces.isEmpty()) return 0; switch (event) { case XMLStreamConstants.START_ELEMENT: case XMLStreamConstants.END_ELEMENT: LinkedHashMap ctx = (LinkedHashMap) namespaces.getFirst(); return ctx.size(); default: ...
31,929
private int readCharData(String prefix) throws IOException, XMLStreamException { boolean white = true; buf.setLength(0); if (prefix != null) buf.append(prefix); boolean done = false; boolean entities = false; while (!done) { // Block read mark(tmpBuf.length); int l...
private int readCharData(String prefix) throws IOException, XMLStreamException { boolean white = true; buf.setLength(0); if (prefix != null) buf.append(prefix); boolean done = false; boolean entities = false; while (!done) { // Block read mark(tmpBuf.length); int l...
31,931
private String readLiteral(int flags, boolean recognizePEs) throws IOException, XMLStreamException { boolean saved = expandPE; int delim = readCh(); if (delim != 0x27 && delim != 0x22) error("expected '\"' or \"'\"", "U+" + Integer.toHexString(delim)); literalBuf.setLength(0); if ((flags & LIT...
private String readLiteral(int flags, boolean recognizePEs) throws IOException, XMLStreamException { boolean saved = expandPE; int delim = readCh(); if (delim != 0x27 && delim != 0x22) error("expected '\"' or \"'\"", "U+" + Integer.toHexString(delim)); literalBuf.setLength(0); if ((flags & LIT...
31,933
public void addLayoutComponent(String name, Component component) { }
public void addLayoutComponent(String name, Component component) { }
31,934
public float getLayoutAlignmentX(Container target) { return 0.0f; }
public float getLayoutAlignmentX(Container target) { return 0.0f; }
31,935
public float getLayoutAlignmentY(Container target) { return 0.0f; }
public float getLayoutAlignmentY(Container target) { return 0.0f; }
31,936
public void invalidateLayout(Container target) { }
public void invalidateLayout(Container target) { }
31,937
public void layoutContainer(Container parent) { }
public void layoutContainer(Container parent) { }
31,938
public Dimension maximumLayoutSize(Container target) { return null; }
public Dimension maximumLayoutSize(Container target) { return null; }
31,939
public Dimension minimumLayoutSize(Container parent) { return null; }
public Dimension minimumLayoutSize(Container parent) { return null; }
31,940
public Dimension preferredLayoutSize(Container parent) { return null; }
public Dimension preferredLayoutSize(Container parent) { return null; }
31,941
public void removeLayoutComponent(Component component) { }
public void removeLayoutComponent(Component component) { }
31,942
public void setConstraints(Component comp, GridBagConstraints constraints) { }
public void setConstraints(Component comp, GridBagConstraints constraints) { }
31,943
FontMetrics(Font font){ this.font = font;}
FontMetrics(Font font){ this.font = font;}
31,944
FontMetrics(Font font){ this.font = font;}
FontMetrics(Font font){ this.font = font;}
31,945
bytesWidth(byte buf[], int offset, int len){ int total_width = 0; for (int i = offset; i < len; i++) total_width = charWidth((char)buf[i]); return(total_width);}
bytesWidth(byte buf[], int offset, int len){ int total_width = 0; for (int i = offset; i < len; i++) total_width = charWidth((char)buf[i]); return(total_width);}
31,946
bytesWidth(byte buf[], int offset, int len){ int total_width = 0; for (int i = offset; i < len; i++) total_width = charWidth((char)buf[i]); return(total_width);}
bytesWidth(byte buf[], int offset, int len){ int total_width = 0; for (int i = offset; i < len; i++) total_width = charWidth((char) buf[i]); return(total_width);}
31,947
bytesWidth(byte buf[], int offset, int len){ int total_width = 0; for (int i = offset; i < len; i++) total_width = charWidth((char)buf[i]); return(total_width);}
bytesWidth(byte buf[], int offset, int len){ int total_width = 0; for (int i = offset; i < len; i++) total_width = charWidth((char)buf[i]); return(total_width);}
31,948
getFont(){ return(font);}
getFont(){ return(font);}
31,949
getLeading(){ return(0);}
getLeading(){ return(0);}
31,950
public LineMetrics getLineMetrics(String text, Graphics g){ return getLineMetrics(text, 0, text.length(), g);}
public LineMetrics getLineMetrics(String text, Graphics g){ return getLineMetrics(text, 0, text.length(), g);}
31,951
public LineMetrics getLineMetrics(String text, Graphics g){ return getLineMetrics(text, 0, text.length(), g);}
public LineMetrics getLineMetrics(String text, Graphics g){ return getLineMetrics(text, 0, text.length(), g);}
31,952
getMaxAdvance(){ return(-1);}
getMaxAdvance(){ return(-1);}
31,953
getMaxDecent(){ return getDescent ();}
getMaxDecent(){ return getDescent ();}
31,954
getWidths(){ int [] result = new int[256]; for(char i = 0; i < 256; i++) { result[i]= charWidth(i); } return(result);}
getWidths(){ int [] result = new int[256]; for(char i = 0; i < 256; i++) { result[i]= charWidth(i); } return(result);}
31,955
getWidths(){ int [] result = new int[256]; for(char i = 0; i < 256; i++) { result[i]= charWidth(i); } return(result);}
getWidths(){ int [] result = new int[256]; for(char i = 0; i < 256; i++) { result[i]= charWidth(i); } return(result);}
31,956
getWidths(){ int [] result = new int[256]; for(char i = 0; i < 256; i++) { result[i]= charWidth(i); } return(result);}
getWidths(){ int [] result = new int[256]; for(char i = 0; i < 256; i++) { result[i]= charWidth(i); } return(result);}
31,957
toString(){ return (this.getClass() + "[font=" + font + ",ascent=" + getAscent() + ",descent=" + getDescent() + ",height=" + getHeight() + "]");}
toString(){ return (this.getClass() + "[font=" + font + ",ascent=" + getAscent() + ",descent=" + getDescent() + ",height=" + getHeight() + "]");}
31,958
toString(){ return (this.getClass() + "[font=" + font + ",ascent=" + getAscent() + ",descent=" + getDescent() + ",height=" + getHeight() + "]");}
toString(){ return (this.getClass() + "[font=" + font + ",ascent=" + getAscent() + ",descent=" + getDescent() + ",height=" + getHeight() + "]");}
31,959
public abstract boolean visit(VmThreadVisitor visitor);
public abstract boolean visit(VmThreadVisitor visitor);
31,960
protected byte[] getResult() { byte[] result = new byte[] { (byte) h0, (byte) (h0 >>> 8), (byte) (h0 >>> 16), (byte) (h0 >>> 24), (byte) h1, (byte) (h1 >>> 8), (byte) (h1 >>> 16), (byte) (h1 >>> 24), ...
protected byte[] getResult() { byte[] result = new byte[] { (byte) h0, (byte) (h0 >>> 8), (byte) (h0 >>> 16), (byte) (h0 >>> 24), (byte) h1, (byte) (h1 >>> 8), (byte) (h1 >>> 16), (byte) (h1 >>> 24), ...
31,961
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 56) ? (56 - n) : (120 - n); byte[] result = new byte[padding + 8]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes lo...
protected byte[] padBuffer() { int n = (int)(count % BLOCK_SIZE); int padding = (n < 56) ? (56 - n) : (120 - n); byte[] result = new byte[padding + 8]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes lon...
31,962
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 56) ? (56 - n) : (120 - n); byte[] result = new byte[padding + 8]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes lo...
protectedbyte[]padBuffer(){intn=(int)(count%BLOCK_SIZE);intpadding=(n<56)?(56-n):(120-n);byte[]result=newbyte[padding+8];//paddingisalwaysbinary1followedbybinary0sresult[0]=(byte)0x80;//savenumberofbits,castingthelongtoanarrayof8byteslongbits=count<<3;result[padding++]=(byte)bits;result[padding++]=(byte)(bits>>>8);resu...
31,963
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 56) ? (56 - n) : (120 - n); byte[] result = new byte[padding + 8]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes lo...
protectedbyte[]padBuffer(){intn=(int)(count%BLOCK_SIZE);intpadding=(n<56)?(56-n):(120-n);byte[]result=newbyte[padding+8];//paddingisalwaysbinary1followedbybinary0sresult[0]=(byte)0x80;//savenumberofbits,castingthelongtoanarrayof8byteslongbits=count<<3;result[padding++]=(byte)bits;result[padding++]=(byte)(bits>>>8);resu...
31,964
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 56) ? (56 - n) : (120 - n); byte[] result = new byte[padding + 8]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes lo...
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 56) ? (56 - n) : (120 - n); byte[] result = new byte[padding + 8]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes lo...
31,965
public boolean selfTest() { if (valid == null) { valid = Boolean.valueOf (DIGEST0.equals(Util.toString(new RipeMD128().digest()))); } return valid.booleanValue(); }
public boolean selfTest() { if (valid == null) { valid = Boolean.valueOf (DIGEST0.equals(Util.toString(new RipeMD128().digest()))); } return valid.booleanValue(); }
31,966
protected void transform(byte[] in, int offset) { int A, B, C, D, Ap, Bp, Cp, Dp, T, s, i; // encode 64 bytes from input block into an array of 16 unsigned // integers. for (i = 0; i < 16; i++) { X[i] = (in[offset++] & 0xFF) | (in[offset++] & 0xFF) << 8 | (in[offset++] & 0xFF) <...
protected void transform(byte[] in, int offset) { int A, B, C, D, Ap, Bp, Cp, Dp, T, s, i; // encode 64 bytes from input block into an array of 16 unsigned // integers. for (i = 0; i < 16; i++) { X[i] = (in[offset++] & 0xFF) | (in[offset++] & 0xFF) << 8 | (in[offset++] & 0xFF) << 16 | in[offset++] << 24;...
31,967
protected void transform(byte[] in, int offset) { int A, B, C, D, Ap, Bp, Cp, Dp, T, s, i; // encode 64 bytes from input block into an array of 16 unsigned // integers. for (i = 0; i < 16; i++) { X[i] = (in[offset++] & 0xFF) | (in[offset++] & 0xFF) << 8 | (in[offset++] & 0xFF) <...
protected void transform(byte[] in, int offset) { int A, B, C, D, Ap, Bp, Cp, Dp, T, s, i; // encode 64 bytes from input block into an array of 16 unsigned // integers. for (i = 0; i < 16; i++) { X[i] = (in[offset++] & 0xFF) | (in[offset++] & 0xFF) << 8 | (in[offset++] & 0xFF) <...
31,968
protected void transform(byte[] in, int offset) { int A, B, C, D, Ap, Bp, Cp, Dp, T, s, i; // encode 64 bytes from input block into an array of 16 unsigned // integers. for (i = 0; i < 16; i++) { X[i] = (in[offset++] & 0xFF) | (in[offset++] & 0xFF) << 8 | (in[offset++] & 0xFF) <...
protected void transform(byte[] in, int offset) { int A, B, C, D, Ap, Bp, Cp, Dp, T, s, i; // encode 64 bytes from input block into an array of 16 unsigned // integers. for (i = 0; i < 16; i++) { X[i] = (in[offset++] & 0xFF) | (in[offset++] & 0xFF) << 8 | (in[offset++] & 0xFF) <...
31,969
protected void transform(byte[] in, int offset) { int A, B, C, D, Ap, Bp, Cp, Dp, T, s, i; // encode 64 bytes from input block into an array of 16 unsigned // integers. for (i = 0; i < 16; i++) { X[i] = (in[offset++] & 0xFF) | (in[offset++] & 0xFF) << 8 | (in[offset++] & 0xFF) <...
protected void transform(byte[] in, int offset) { int A, B, C, D, Ap, Bp, Cp, Dp, T, s, i; // encode 64 bytes from input block into an array of 16 unsigned // integers. for (i = 0; i < 16; i++) { X[i] = (in[offset++] & 0xFF) | (in[offset++] & 0xFF) << 8 | (in[offset++] & 0xFF) <...
31,970
protected void transform(byte[] in, int offset) { int A, B, C, D, Ap, Bp, Cp, Dp, T, s, i; // encode 64 bytes from input block into an array of 16 unsigned // integers. for (i = 0; i < 16; i++) { X[i] = (in[offset++] & 0xFF) | (in[offset++] & 0xFF) << 8 | (in[offset++] & 0xFF) <...
protected void transform(byte[] in, int offset) { int A, B, C, D, Ap, Bp, Cp, Dp, T, s, i; // encode 64 bytes from input block into an array of 16 unsigned // integers. for (i = 0; i < 16; i++) { X[i] = (in[offset++] & 0xFF) | (in[offset++] & 0xFF) << 8 | (in[offset++] & 0xFF) <...
31,971
protected void transform(byte[] in, int offset) { int A, B, C, D, Ap, Bp, Cp, Dp, T, s, i; // encode 64 bytes from input block into an array of 16 unsigned // integers. for (i = 0; i < 16; i++) { X[i] = (in[offset++] & 0xFF) | (in[offset++] & 0xFF) << 8 | (in[offset++] & 0xFF) <...
protected void transform(byte[] in, int offset) { int A, B, C, D, Ap, Bp, Cp, Dp, T, s, i; // encode 64 bytes from input block into an array of 16 unsigned // integers. for (i = 0; i < 16; i++) { X[i] = (in[offset++] & 0xFF) | (in[offset++] & 0xFF) << 8 | (in[offset++] & 0xFF) <...
31,972
protected void transform(byte[] in, int offset) { int A, B, C, D, Ap, Bp, Cp, Dp, T, s, i; // encode 64 bytes from input block into an array of 16 unsigned // integers. for (i = 0; i < 16; i++) { X[i] = (in[offset++] & 0xFF) | (in[offset++] & 0xFF) << 8 | (in[offset++] & 0xFF) <...
protectedvoidtransform(byte[]in,intoffset){intA,B,C,D,Ap,Bp,Cp,Dp,T,s,i;//encode64bytesfrominputblockintoanarrayof16unsigned//integers.for(i=0;i<16;i++){X[i]=(in[offset++]&0xFF)|(in[offset++]&0xFF)<<8|(in[offset++]&0xFF)<<16|in[offset++]<<24;}A=Ap=h0;B=Bp=h1;C=Cp=h2;D=Dp=h3;for(i=0;i<16;i++){//rounds0...15s=S[i];T=A+(B...
31,973
X509CRLEntry(int version, InputStream encoded) throws CRLException, IOException { super(); extensions = new HashMap(); critOids = new HashSet(); nonCritOids = new HashSet(); try { parse(version, encoded); } catch (IOException ioe) { throw ioe; } catch (Except...
X509CRLEntry(int version, DERReader encoded) throws CRLException, IOException { super(); extensions = new HashMap(); critOids = new HashSet(); nonCritOids = new HashSet(); try { parse(version, encoded); } catch (IOException ioe) { throw ioe; } catch (Exceptio...
31,974
X509CRLEntry(int version, InputStream encoded) throws CRLException, IOException { super(); extensions = new HashMap(); critOids = new HashSet(); nonCritOids = new HashSet(); try { parse(version, encoded); } catch (IOException ioe) { throw ioe; } catch (Except...
X509CRLEntry(int version, InputStream encoded) throws CRLException, IOException { super(); extensions = new HashMap(); critOids = new HashSet(); nonCritOids = new HashSet(); try { parse(version, encoded); } catch (IOException ioe) { throw ioe; } catch (Except...
31,975
public boolean equals(Object o) { return ((X509CRLEntry) o).serialNo.equals(serialNo) && ((X509CRLEntry) o).revocationDate.equals(revocationDate); }
public boolean equals(Object o) { return ((X509CRLEntry) o).serialNo.equals(serialNo) && ((X509CRLEntry) o).revocationDate.equals(revocationDate); }
31,976
public Set getCriticalExtensionOIDs() { return Collections.unmodifiableSet(critOids); }
public Set getCriticalExtensionOIDs() { HashSet s = new HashSet(); for (Iterator it = extensions.values().iterator(); it.hasNext(); ) { Extension e = (Extension) it.next(); if (e.isCritical()) s.add(e.getOid().toString()); } return Collections.unmodifiableSet(s); }
31,977
public byte[] getExtensionValue(String oid) { byte[] ext = (byte[]) extensions.get(oid); if (ext != null) return (byte[]) ext.clone(); return null; }
public byte[] getExtensionValue(String oid) { byte[] ext = (byte[]) extensions.get(oid); if (ext != null) return (byte[]) ext.clone(); return null; }
31,978
public Set getNonCriticalExtensionOIDs() { return Collections.unmodifiableSet(nonCritOids); }
public Set getNonCriticalExtensionOIDs() { HashSet s = new HashSet(); for (Iterator it = extensions.values().iterator(); it.hasNext(); ) { Extension e = (Extension) it.next(); if (!e.isCritical()) s.add(e.getOid().toString()); } return Collections.unmodifiableSet(s); }
31,979
public boolean hasUnsupportedCriticalExtension() { return false; // XXX }
public boolean hasUnsupportedCriticalExtension() { for (Iterator it = extensions.values().iterator(); it.hasNext(); ) { Extension e = (Extension) it.next(); if (e.isCritical() && !e.isSupported()) return true; } return false; // XXX }
31,980
private void parse(int version, InputStream in) throws Exception { DERReader der = new DERReader(in); DERValue entry = der.read(); if (!entry.isConstructed()) throw new ASN1ParsingException("malformed revokedCertificate"); encoded = entry.getEncoded(); int len = 0; DERValue val = der.read(); ...
private void parse(int version, DERReader der) throws Exception { DERReader der = new DERReader(in); DERValue entry = der.read(); if (!entry.isConstructed()) throw new ASN1ParsingException("malformed revokedCertificate"); encoded = entry.getEncoded(); int len = 0; DERValue val = der.read(); ...
31,981
private void parse(int version, InputStream in) throws Exception { DERReader der = new DERReader(in); DERValue entry = der.read(); if (!entry.isConstructed()) throw new ASN1ParsingException("malformed revokedCertificate"); encoded = entry.getEncoded(); int len = 0; DERValue val = der.read(); ...
private void parse(int version, InputStream in) throws Exception { DERValue entry = der.read(); if (!entry.isConstructed()) throw new ASN1ParsingException("malformed revokedCertificate"); encoded = entry.getEncoded(); int len = 0; DERValue val = der.read(); serialNo = (BigInteger) val.getV...
31,982
private void parse(int version, InputStream in) throws Exception { DERReader der = new DERReader(in); DERValue entry = der.read(); if (!entry.isConstructed()) throw new ASN1ParsingException("malformed revokedCertificate"); encoded = entry.getEncoded(); int len = 0; DERValue val = der.read(); ...
private void parse(int version, InputStream in) throws Exception { DERReader der = new DERReader(in); DERValue entry = der.read(); if (!entry.isConstructed()) throw new IOException("malformed revokedCertificate"); encoded = entry.getEncoded(); int len = 0; DERValue val = der.read(); serialN...
31,983
private void parse(int version, InputStream in) throws Exception { DERReader der = new DERReader(in); DERValue entry = der.read(); if (!entry.isConstructed()) throw new ASN1ParsingException("malformed revokedCertificate"); encoded = entry.getEncoded(); int len = 0; DERValue val = der.read(); ...
private void parse(int version, InputStream in) throws Exception { DERReader der = new DERReader(in); DERValue entry = der.read(); if (!entry.isConstructed()) throw new ASN1ParsingException("malformed revokedCertificate"); encoded = entry.getEncoded(); int len = 0; DERValue val = der.read(); ...
31,984
private void parse(int version, InputStream in) throws Exception { DERReader der = new DERReader(in); DERValue entry = der.read(); if (!entry.isConstructed()) throw new ASN1ParsingException("malformed revokedCertificate"); encoded = entry.getEncoded(); int len = 0; DERValue val = der.read(); ...
private void parse(int version, InputStream in) throws Exception { DERReader der = new DERReader(in); DERValue entry = der.read(); if (!entry.isConstructed()) throw new ASN1ParsingException("malformed revokedCertificate"); encoded = entry.getEncoded(); int len = 0; DERValue val = der.read(); ...
31,985
private void parse(int version, InputStream in) throws Exception { DERReader der = new DERReader(in); DERValue entry = der.read(); if (!entry.isConstructed()) throw new ASN1ParsingException("malformed revokedCertificate"); encoded = entry.getEncoded(); int len = 0; DERValue val = der.read(); ...
private void parse(int version, InputStream in) throws Exception { DERReader der = new DERReader(in); DERValue entry = der.read(); if (!entry.isConstructed()) throw new ASN1ParsingException("malformed revokedCertificate"); encoded = entry.getEncoded(); int len = 0; DERValue val = der.read(); ...
31,986
private void parse(int version, InputStream in) throws Exception { DERReader der = new DERReader(in); DERValue entry = der.read(); if (!entry.isConstructed()) throw new ASN1ParsingException("malformed revokedCertificate"); encoded = entry.getEncoded(); int len = 0; DERValue val = der.read(); ...
private void parse(int version, InputStream in) throws Exception { DERReader der = new DERReader(in); DERValue entry = der.read(); if (!entry.isConstructed()) throw new ASN1ParsingException("malformed revokedCertificate"); encoded = entry.getEncoded(); int len = 0; DERValue val = der.read(); ...
31,987
public String toString() { return "X509CRLEntry serial=" + serialNo + " revocation date=" + revocationDate + " critExt=" + critOids + " ext=" + nonCritOids; }
public String toString() { return "X509CRLEntry serial=" + serialNo + " revocation date=" + revocationDate + " ext=" + extensions; }
31,989
public static boolean insertSysException(Any into, SystemException exception) { try { cdrBufOutput output = new cdrBufOutput(); String m_exception_id = getRepositoryId(exception.getClass()); output.write_string(m_exception_id); output.write_ulong(exception.minor); Completio...
public static boolean insertSysException(Any into, SystemException exception) { try { BufferedCdrOutput output = new BufferedCdrOutput(); String m_exception_id = getRepositoryId(exception.getClass()); output.write_string(m_exception_id); output.write_ulong(exception.minor); ...
31,990
public static boolean insertSysException(Any into, SystemException exception) { try { cdrBufOutput output = new cdrBufOutput(); String m_exception_id = getRepositoryId(exception.getClass()); output.write_string(m_exception_id); output.write_ulong(exception.minor); Completio...
public static boolean insertSysException(Any into, SystemException exception) { try { cdrBufOutput output = new cdrBufOutput(); String m_exception_id = getRepositoryId(exception.getClass()); output.write_string(m_exception_id); output.write_ulong(exception.minor); Completio...
31,991
public static boolean insertSysException(Any into, SystemException exception) { try { cdrBufOutput output = new cdrBufOutput(); String m_exception_id = getRepositoryId(exception.getClass()); output.write_string(m_exception_id); output.write_ulong(exception.minor); Completio...
public static boolean insertSysException(Any into, SystemException exception) { try { cdrBufOutput output = new cdrBufOutput(); String m_exception_id = getRepositoryId(exception.getClass()); output.write_string(m_exception_id); output.write_ulong(exception.minor); Completio...
31,992
public static SystemException readSystemException(InputStream input, ServiceContext[] contexts) { SystemException exception; String idl = input.read_string(); int minor = input.read_ulong(); CompletionStatus completed = CompletionStatusHelper.read(input); try { exception = (SystemExcept...
public static SystemException readSystemException(InputStream input, ServiceContext[] contexts) { SystemException exception; String idl = input.read_string(); int minor = input.read_ulong(); CompletionStatus completed = CompletionStatusHelper.read(input); try { exception = (SystemExcept...
31,993
public static SystemException readSystemException(InputStream input, ServiceContext[] contexts) { SystemException exception; String idl = input.read_string(); int minor = input.read_ulong(); CompletionStatus completed = CompletionStatusHelper.read(input); try { exception = (SystemExcept...
public static SystemException readSystemException(InputStream input, ServiceContext[] contexts) { SystemException exception; String idl = input.read_string(); int minor = input.read_ulong(); CompletionStatus completed = CompletionStatusHelper.read(input); try { exception = (SystemExcept...
31,994
public static SystemException readSystemException(InputStream input, ServiceContext[] contexts) { SystemException exception; String idl = input.read_string(); int minor = input.read_ulong(); CompletionStatus completed = CompletionStatusHelper.read(input); try { exception = (SystemExcept...
public static SystemException readSystemException(InputStream input, ServiceContext[] contexts) { SystemException exception; String idl = input.read_string(); int minor = input.read_ulong(); CompletionStatus completed = CompletionStatusHelper.read(input); try { exception = (SystemExcept...
31,995
private Parser getParser() { log.entering(this.getClass().getName(), "getParser"); //$NON-NLS-1$ Parser result = new ClasspathToolParser(KEYTOOL_TOOL, true); result.setHeader(Messages.getString("Main.19")); //$NON-NLS-1$ result.setFooter(Messages.getString("Main.20")); //$NON-NLS-1$ OptionGroup cmdGro...
privateParsergetParser(){log.entering(this.getClass().getName(),"getParser");//$NON-NLS-1$Parserresult=newClasspathToolParser(KEYTOOL_TOOL,true);result.setHeader(Messages.getString("Main.19"));//$NON-NLS-1$result.setFooter(Messages.getString("Main.20"));//$NON-NLS-1$OptionGroupcmdGroup=newOptionGroup(Messages.getString...
31,997