bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
protected View getViewAtPoint(int x, int y, Rectangle r) { View result = null; int count = getViewCount(); Rectangle copy = new Rectangle(r); for (int i = 0; i < count; ++i) { copy.setBounds(r); // The next call modifies copy. childAllocation(i, copy); if (copy.contains(x... | protected View getViewAtPoint(int x, int y, Rectangle r) { View result = null; int count = getViewCount(); Rectangle copy = new Rectangle(r); for (int i = 0; i < count; ++i) { copy.setBounds(r); // The next call modifies copy. childAllocation(i, copy); if (copy.contains(x... | 31,015 |
protected View getViewAtPoint(int x, int y, Rectangle r) { View result = null; int count = getViewCount(); Rectangle copy = new Rectangle(r); for (int i = 0; i < count; ++i) { copy.setBounds(r); // The next call modifies copy. childAllocation(i, copy); if (copy.contains(x... | protected View getViewAtPoint(int x, int y, Rectangle r) { View result = null; int count = getViewCount(); Rectangle copy = new Rectangle(r); for (int i = 0; i < count; ++i) { copy.setBounds(r); // The next call modifies copy. childAllocation(i, copy); if (copy.contains(x... | 31,016 |
protected View getViewAtPoint(int x, int y, Rectangle r) { View result = null; int count = getViewCount(); Rectangle copy = new Rectangle(r); for (int i = 0; i < count; ++i) { copy.setBounds(r); // The next call modifies copy. childAllocation(i, copy); if (copy.contains(x... | protected View getViewAtPoint(int x, int y, Rectangle r) { View result = null; int count = getViewCount(); Rectangle copy = new Rectangle(r); for (int i = 0; i < count; ++i) { copy.setBounds(r); // The next call modifies copy. childAllocation(i, copy); if (copy.contains(x... | 31,017 |
public int getWidth() { return span[X_AXIS] + getLeftInset() - getRightInset(); } | public int getWidth() { return span[X_AXIS] + getLeftInset() + getRightInset(); } | 31,018 |
protected void layout(int width, int height) { int[] newSpan = new int[]{ width, height }; int count = getViewCount(); // Update minor axis as appropriate. We need to first update the minor // axis layout because that might affect the children's preferences along // the major axis. int minorAxis = ... | protected void layout(int width, int height) { int[] newSpan = new int[]{ width, height }; int count = getViewCount(); // Update minor axis as appropriate. We need to first update the minor // axis layout because that might affect the children's preferences along // the major axis. int minorAxis = ... | 31,019 |
protected void layout(int width, int height) { int[] newSpan = new int[]{ width, height }; int count = getViewCount(); // Update minor axis as appropriate. We need to first update the minor // axis layout because that might affect the children's preferences along // the major axis. int minorAxis = ... | protected void layout(int width, int height) { int[] newSpan = new int[]{ width, height }; int count = getViewCount(); // Update minor axis as appropriate. We need to first update the minor // axis layout because that might affect the children's preferences along // the major axis. int minorAxis = ... | 31,020 |
protected void layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans) { // Set the spans to the preferred sizes. Determine the space // that we have to adjust the sizes afterwards. long sumPref = 0; int n = getViewCount(); for (int i = 0; i < n; i++) ... | protected void layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans) { // Set the spans to the preferred sizes. Determine the space // that we have to adjust the sizes afterwards. long sumPref = 0; int n = getViewCount(); for (int i = 0; i < n; i++) ... | 31,021 |
public void paint(Graphics g, Shape a) { Rectangle alloc; if (a instanceof Rectangle) alloc = (Rectangle) a; else alloc = a.getBounds(); int x = alloc.x + getLeftInset(); int y = alloc.y + getTopInset(); Rectangle clip = g.getClipBounds(); Rectangle tmp = new Rectangle(); int count ... | public void paint(Graphics g, Shape a) { Rectangle alloc; if (a instanceof Rectangle) alloc = (Rectangle) a; else alloc = a.getBounds(); int x = alloc.x + getLeftInset(); int y = alloc.y + getTopInset(); Rectangle clip = g.getClipBounds(); Rectangle tmp = new Rectangle(); int count ... | 31,022 |
public void paint(Graphics g, Shape a) { Rectangle alloc; if (a instanceof Rectangle) alloc = (Rectangle) a; else alloc = a.getBounds(); int x = alloc.x + getLeftInset(); int y = alloc.y + getTopInset(); Rectangle clip = g.getClipBounds(); Rectangle tmp = new Rectangle(); int count ... | public void paint(Graphics g, Shape a) { Rectangle alloc; if (a instanceof Rectangle) alloc = (Rectangle) a; else alloc = a.getBounds(); int x = alloc.x + getLeftInset(); int y = alloc.y + getTopInset(); Rectangle clip = g.getClipBounds(); Rectangle tmp = new Rectangle(); int count ... | 31,023 |
public void paint(Graphics g, Shape a) { Rectangle alloc; if (a instanceof Rectangle) alloc = (Rectangle) a; else alloc = a.getBounds(); int x = alloc.x + getLeftInset(); int y = alloc.y + getTopInset(); Rectangle clip = g.getClipBounds(); Rectangle tmp = new Rectangle(); int count ... | public void paint(Graphics g, Shape a) { Rectangle alloc; if (a instanceof Rectangle) alloc = (Rectangle) a; else alloc = a.getBounds(); int x = alloc.x + getLeftInset(); int y = alloc.y + getTopInset(); Rectangle clip = g.getClipBounds(); Rectangle tmp = new Rectangle(); int count ... | 31,024 |
public void paint(Graphics g, Shape a) { Rectangle alloc; if (a instanceof Rectangle) alloc = (Rectangle) a; else alloc = a.getBounds(); int x = alloc.x + getLeftInset(); int y = alloc.y + getTopInset(); Rectangle clip = g.getClipBounds(); Rectangle tmp = new Rectangle(); int count ... | public void paint(Graphics g, Shape a) { Rectangle alloc; if (a instanceof Rectangle) alloc = (Rectangle) a; else alloc = a.getBounds(); int x = alloc.x + getLeftInset(); int y = alloc.y + getTopInset(); Rectangle clip = g.getClipBounds(); Rectangle tmp = new Rectangle(); int count ... | 31,025 |
public void paint(Graphics g, Shape a) { Rectangle alloc; if (a instanceof Rectangle) alloc = (Rectangle) a; else alloc = a.getBounds(); int x = alloc.x + getLeftInset(); int y = alloc.y + getTopInset(); Rectangle clip = g.getClipBounds(); Rectangle tmp = new Rectangle(); int count ... | public void paint(Graphics g, Shape a) { Rectangle alloc; if (a instanceof Rectangle) alloc = (Rectangle) a; else alloc = a.getBounds(); int x = alloc.x + getLeftInset(); int y = alloc.y + getTopInset(); Rectangle clip = g.getClipBounds(); Rectangle tmp = new Rectangle(); int count ... | 31,026 |
public void replace(int offset, int length, View[] views) { int numViews = 0; if (views != null) numViews = views.length; // Resize and copy data for cache arrays. // The spansX cache. int oldSize = getViewCount(); int[] newSpansX = new int[oldSize - length + numViews]; System.arraycopy(spa... | public void replace(int offset, int length, View[] views) { int numViews = 0; if (views != null) numViews = views.length; // Resize and copy data for cache arrays. // The spansX cache. int oldSize = getViewCount(); int[] newSpansX = new int[oldSize - length + numViews]; System.arraycopy(spa... | 31,027 |
public void replace(int offset, int length, View[] views) { int numViews = 0; if (views != null) numViews = views.length; // Resize and copy data for cache arrays. // The spansX cache. int oldSize = getViewCount(); int[] newSpansX = new int[oldSize - length + numViews]; System.arraycopy(spa... | public void replace(int offset, int length, View[] views) { int numViews = 0; if (views != null) numViews = views.length; // Resize and copy data for cache arrays. // The spansX cache. int oldSize = getViewCount(); int[] newSpansX = new int[oldSize - length + numViews]; System.arraycopy(spa... | 31,028 |
public int viewToModel(float x, float y, Shape a, Position.Bias[] bias) { // FIXME: What to do here? return super.viewToModel(x, y, a, bias); } | if (! isAllocationValid()) { Rectangle r = a instanceof Rectangle ? (Rectangle) a : a.getBounds(); setSize(r.width, r.height); } if (! isAllocationValid()) { Rectangle r = a instanceof Rectangle ? (Rectangle) a : a.getBounds(); setSize(r.width, r.height); } publicif (! isAllocationValid()) { Rectangle r = a instanceof ... | 31,030 |
public abstract void setCheckboxGroup(java.awt.CheckboxGroup group); | public abstract void setCheckboxGroup(java.awt.CheckboxGroup group); | 31,031 |
public abstract void setLabel(String label); | public abstract void setLabel(String label); | 31,032 |
public abstract void setState(boolean state); | public abstract void setState(boolean state); | 31,033 |
public KeyPair generate() { if (p == null) { BigInteger[] params = new FIPS186(L, rnd).generateParameters(); seed = params[FIPS186.DSA_PARAMS_SEED]; counter = params[FIPS186.DSA_PARAMS_COUNTER]; q = params[FIPS186.DSA_PARAMS_Q]; p = params[FIPS186.DSA_PARAMS_P]; e = ... | public KeyPair generate() { if (p == null) { BigInteger[] params = new FIPS186(L, rnd).generateParameters(); seed = params[FIPS186.DSA_PARAMS_SEED]; counter = params[FIPS186.DSA_PARAMS_COUNTER]; q = params[FIPS186.DSA_PARAMS_Q]; p = params[FIPS186.DSA_PARAMS_P]; e = ... | 31,034 |
public KeyPair generate() { if (p == null) { BigInteger[] params = new FIPS186(L, rnd).generateParameters(); seed = params[FIPS186.DSA_PARAMS_SEED]; counter = params[FIPS186.DSA_PARAMS_COUNTER]; q = params[FIPS186.DSA_PARAMS_Q]; p = params[FIPS186.DSA_PARAMS_P]; e = ... | public KeyPair generate() { if (p == null) { BigInteger[] params = new FIPS186(L, rnd).generateParameters(); seed = params[FIPS186.DSA_PARAMS_SEED]; counter = params[FIPS186.DSA_PARAMS_COUNTER]; q = params[FIPS186.DSA_PARAMS_Q]; p = params[FIPS186.DSA_PARAMS_P]; e = ... | 31,035 |
public KeyPair generate() { if (p == null) { BigInteger[] params = new FIPS186(L, rnd).generateParameters(); seed = params[FIPS186.DSA_PARAMS_SEED]; counter = params[FIPS186.DSA_PARAMS_COUNTER]; q = params[FIPS186.DSA_PARAMS_Q]; p = params[FIPS186.DSA_PARAMS_P]; e = ... | publicKeyPairgenerate(){if(p==null){BigInteger[]params=newFIPS186(L,rnd).generateParameters();seed=params[FIPS186.DSA_PARAMS_SEED];counter=params[FIPS186.DSA_PARAMS_COUNTER];q=params[FIPS186.DSA_PARAMS_Q];p=params[FIPS186.DSA_PARAMS_P];e=params[FIPS186.DSA_PARAMS_E];g=params[FIPS186.DSA_PARAMS_G];if(DEBUG&&debuglevel>0... | 31,036 |
public KeyPair generate() { if (p == null) { BigInteger[] params = new FIPS186(L, rnd).generateParameters(); seed = params[FIPS186.DSA_PARAMS_SEED]; counter = params[FIPS186.DSA_PARAMS_COUNTER]; q = params[FIPS186.DSA_PARAMS_Q]; p = params[FIPS186.DSA_PARAMS_P]; e = ... | publicKeyPairgenerate(){if(p==null){BigInteger[]params=newFIPS186(L,rnd).generateParameters();seed=params[FIPS186.DSA_PARAMS_SEED];counter=params[FIPS186.DSA_PARAMS_COUNTER];q=params[FIPS186.DSA_PARAMS_Q];p=params[FIPS186.DSA_PARAMS_P];e=params[FIPS186.DSA_PARAMS_E];g=params[FIPS186.DSA_PARAMS_G];if(DEBUG&&debuglevel>0... | 31,037 |
public KeyPair generate() { if (p == null) { BigInteger[] params = new FIPS186(L, rnd).generateParameters(); seed = params[FIPS186.DSA_PARAMS_SEED]; counter = params[FIPS186.DSA_PARAMS_COUNTER]; q = params[FIPS186.DSA_PARAMS_Q]; p = params[FIPS186.DSA_PARAMS_P]; e = ... | publicKeyPairgenerate(){if(p==null){BigInteger[]params=newFIPS186(L,rnd).generateParameters();seed=params[FIPS186.DSA_PARAMS_SEED];counter=params[FIPS186.DSA_PARAMS_COUNTER];q=params[FIPS186.DSA_PARAMS_Q];p=params[FIPS186.DSA_PARAMS_P];e=params[FIPS186.DSA_PARAMS_E];g=params[FIPS186.DSA_PARAMS_G];if(DEBUG&&debuglevel>0... | 31,038 |
private void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else getDefaultPRNG().nextBytes(buffer); } | private void nextRandomBytes(byte[] buffer) if (rnd != null) rnd.nextBytes(buffer); } else getDefaultPRNG().nextBytes(buffer); } | 31,039 |
private void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else getDefaultPRNG().nextBytes(buffer); } | private void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); else getDefaultPRNG().nextBytes(buffer); } | 31,040 |
private synchronized BigInteger nextX() { byte[] xk = XKEY.toByteArray(); byte[] in = new byte[64]; // 512-bit block for SHS System.arraycopy(xk, 0, in, 0, xk.length); int[] H = Sha160.G(T_SHS[0], T_SHS[1], T_SHS[2], T_SHS[3], T_SHS[4], in, 0); byte[] h = new byte[20]; for (int i = 0, j = 0; i < 5;... | privatesynchronizedBigIntegernextX(){byte[]xk=XKEY.toByteArray();byte[]in=newbyte[64];//512-bitblockforSHSSystem.arraycopy(xk,0,in,0,xk.length);int[]H=Sha160.G(T_SHS[0],T_SHS[1],T_SHS[2],T_SHS[3],T_SHS[4],in,0);byte[]h=newbyte[20];for(inti=0,j=0;i<5;i++){h[j++]=(byte)(H[i]>>>24);h[j++]=(byte)(H[i]>>>16);h[j++]=(byte)(H... | 31,041 |
private synchronized BigInteger nextX() { byte[] xk = XKEY.toByteArray(); byte[] in = new byte[64]; // 512-bit block for SHS System.arraycopy(xk, 0, in, 0, xk.length); int[] H = Sha160.G(T_SHS[0], T_SHS[1], T_SHS[2], T_SHS[3], T_SHS[4], in, 0); byte[] h = new byte[20]; for (int i = 0, j = 0; i < 5;... | private synchronized BigInteger nextX() { byte[] xk = XKEY.toByteArray(); byte[] in = new byte[64]; // 512-bit block for SHS System.arraycopy(xk, 0, in, 0, xk.length); int[] H = Sha160.G(T_SHS[0], T_SHS[1], T_SHS[2], T_SHS[3], T_SHS[4], in, 0); byte[] h = new byte[20]; for (int i = 0, j = 0; i < 5;... | 31,042 |
private synchronized BigInteger nextX() { byte[] xk = XKEY.toByteArray(); byte[] in = new byte[64]; // 512-bit block for SHS System.arraycopy(xk, 0, in, 0, xk.length); int[] H = Sha160.G(T_SHS[0], T_SHS[1], T_SHS[2], T_SHS[3], T_SHS[4], in, 0); byte[] h = new byte[20]; for (int i = 0, j = 0; i < 5;... | privatesynchronizedBigIntegernextX(){byte[]xk=XKEY.toByteArray();byte[]in=newbyte[64];//512-bitblockforSHSSystem.arraycopy(xk,0,in,0,xk.length);int[]H=Sha160.G(T_SHS[0],T_SHS[1],T_SHS[2],T_SHS[3],T_SHS[4],in,0);byte[]h=newbyte[20];for(inti=0,j=0;i<5;i++){h[j++]=(byte)(H[i]>>>24);h[j++]=(byte)(H[i]>>>16);h[j++]=(byte)(H... | 31,043 |
public void setup(Map attributes) { // find out the modulus length Integer l = (Integer) attributes.get(MODULUS_LENGTH); L = (l == null ? DEFAULT_MODULUS_LENGTH : l.intValue()); if ((L % 64) != 0 || L < 512 || L > 1024) throw new IllegalArgumentException(MODULUS_LENGTH); // should we use the defa... | public void setup(Map attributes) // find out the modulus length Integer l = (Integer) attributes.get(MODULUS_LENGTH); L = (l == null ? DEFAULT_MODULUS_LENGTH : l.intValue()); if ((L % 64) != 0 || L < 512 || L > 1024) throw new IllegalArgumentException(MODULUS_LENGTH); // should we use the defaul... | 31,044 |
public void setup(Map attributes) { // find out the modulus length Integer l = (Integer) attributes.get(MODULUS_LENGTH); L = (l == null ? DEFAULT_MODULUS_LENGTH : l.intValue()); if ((L % 64) != 0 || L < 512 || L > 1024) throw new IllegalArgumentException(MODULUS_LENGTH); // should we use the defa... | public void setup(Map attributes) { // find out the modulus length Integer l = (Integer) attributes.get(MODULUS_LENGTH); L = (l == null ? DEFAULT_MODULUS_LENGTH : l.intValue()); if ((L % 64) != 0 || L < 512 || L > 1024) throw new IllegalArgumentException(MODULUS_LENGTH); // should we use the defa... | 31,045 |
public void setup(Map attributes) { // find out the modulus length Integer l = (Integer) attributes.get(MODULUS_LENGTH); L = (l == null ? DEFAULT_MODULUS_LENGTH : l.intValue()); if ((L % 64) != 0 || L < 512 || L > 1024) throw new IllegalArgumentException(MODULUS_LENGTH); // should we use the defa... | publicvoidsetup(Mapattributes){//findoutthemoduluslengthIntegerl=(Integer)attributes.get(MODULUS_LENGTH);L=(l==null?DEFAULT_MODULUS_LENGTH:l.intValue());if((L%64)!=0||L<512||L>1024)thrownewIllegalArgumentException(MODULUS_LENGTH);//shouldweusethedefaultpre-computedparams?BooleanuseDefaults=(Boolean)attributes.get(USE_D... | 31,046 |
public void setup(Map attributes) { // find out the modulus length Integer l = (Integer) attributes.get(MODULUS_LENGTH); L = (l == null ? DEFAULT_MODULUS_LENGTH : l.intValue()); if ((L % 64) != 0 || L < 512 || L > 1024) throw new IllegalArgumentException(MODULUS_LENGTH); // should we use the defa... | publicvoidsetup(Mapattributes){//findoutthemoduluslengthIntegerl=(Integer)attributes.get(MODULUS_LENGTH);L=(l==null?DEFAULT_MODULUS_LENGTH:l.intValue());if((L%64)!=0||L<512||L>1024)thrownewIllegalArgumentException(MODULUS_LENGTH);//shouldweusethedefaultpre-computedparams?BooleanuseDefaults=(Boolean)attributes.get(USE_D... | 31,047 |
public void setup(Map attributes) { // find out the modulus length Integer l = (Integer) attributes.get(MODULUS_LENGTH); L = (l == null ? DEFAULT_MODULUS_LENGTH : l.intValue()); if ((L % 64) != 0 || L < 512 || L > 1024) throw new IllegalArgumentException(MODULUS_LENGTH); // should we use the defa... | public void setup(Map attributes) { // find out the modulus length Integer l = (Integer) attributes.get(MODULUS_LENGTH); L = (l == null ? DEFAULT_MODULUS_LENGTH : l.intValue()); if ((L % 64) != 0 || L < 512 || L > 1024) throw new IllegalArgumentException(MODULUS_LENGTH); // should we use the defa... | 31,048 |
public void setup(Map attributes) { // find out the modulus length Integer l = (Integer) attributes.get(MODULUS_LENGTH); L = (l == null ? DEFAULT_MODULUS_LENGTH : l.intValue()); if ((L % 64) != 0 || L < 512 || L > 1024) throw new IllegalArgumentException(MODULUS_LENGTH); // should we use the defa... | publicvoidsetup(Mapattributes){//findoutthemoduluslengthIntegerl=(Integer)attributes.get(MODULUS_LENGTH);L=(l==null?DEFAULT_MODULUS_LENGTH:l.intValue());if((L%64)!=0||L<512||L>1024)thrownewIllegalArgumentException(MODULUS_LENGTH);//shouldweusethedefaultpre-computedparams?BooleanuseDefaults=(Boolean)attributes.get(USE_D... | 31,049 |
public BigInteger modPow(BigInteger exponent, BigInteger m) { if (m.isNegative() || m.isZero()) throw new ArithmeticException("non-positive modulo"); if (exponent.isNegative()) return modInverse(m); if (exponent.isOne()) return mod(m); // To do this naively by first raising this to the pow... | public BigInteger modPow(BigInteger exponent, BigInteger m) { if (m.isNegative() || m.isZero()) throw new ArithmeticException("non-positive modulo"); if (exponent.isNegative()) return modInverse(m).modPow(exponent.negate(), m); if (exponent.isOne()) return mod(m); // To do this naively by ... | 31,050 |
public void focusGained(FocusEvent e) throws NotImplementedException { // FIXME: implement. } | public void focusGained(FocusEvent e) { // FIXME: implement. } | 31,052 |
public void focusGained(FocusEvent e) throws NotImplementedException { // FIXME: implement. } | slider.repaint(); hasFocus = true; slider.repaint(); hasFocus = true; slider.repaint(); hasFocus = true; slider.repaint(); hasFocus = true; publicslider.repaint(); hasFocus = true; voidslider.repaint(); hasFocus = true; focusGained(FocusEventslider.repaint(); hasFocus = true; e)slider.repaint(); hasFocus = true; slider... | 31,053 |
public void focusLost(FocusEvent e) throws NotImplementedException { // FIXME: implement. } | public void focusLost(FocusEvent e) { // FIXME: implement. } | 31,054 |
public void focusLost(FocusEvent e) throws NotImplementedException { // FIXME: implement. } | slider.repaint(); hasFocus = false; slider.repaint(); hasFocus = false; slider.repaint(); hasFocus = false; slider.repaint(); hasFocus = false; publicslider.repaint(); hasFocus = false; voidslider.repaint(); hasFocus = false; focusLost(FocusEventslider.repaint(); hasFocus = false; e)slider.repaint(); hasFocus = false; ... | 31,055 |
public void paint(Graphics g, JComponent c) { // FIXME: Move this to propertyChangeEvent handler, when we get those. leftToRightCache = slider.getComponentOrientation() != ComponentOrientation.RIGHT_TO_LEFT; // FIXME: This next line is only here because the above line is here. calculateGeometry()... | publicvoidpaint(Graphicsg,JComponentc){//FIXME:MovethistopropertyChangeEventhandler,whenwegetthose.leftToRightCache=slider.getComponentOrientation()!=ComponentOrientation.RIGHT_TO_LEFT;//FIXME:Thisnextlineisonlyherebecausetheabovelineishere.calculateGeometry();if(slider.getPaintTrack())paintTrack(g);if(slider.getPaintT... | 31,056 |
public void paintThumb(Graphics g) { Color saved_color = g.getColor(); Point a = new Point(thumbRect.x, thumbRect.y); Point b = new Point(a); Point c = new Point(a); Point d = new Point(a); Point e = new Point(a); Polygon bright; Polygon light; // light shadow Polygon dark; // dark ... | public void paintThumb(Graphics g) { Color saved_color = g.getColor(); Point a = new Point(thumbRect.x, thumbRect.y); Point b = new Point(a); Point c = new Point(a); Point d = new Point(a); Point e = new Point(a); Polygon bright; Polygon light; // light shadow Polygon dark; // dark ... | 31,058 |
public void paintThumb(Graphics g) { Color saved_color = g.getColor(); Point a = new Point(thumbRect.x, thumbRect.y); Point b = new Point(a); Point c = new Point(a); Point d = new Point(a); Point e = new Point(a); Polygon bright; Polygon light; // light shadow Polygon dark; // dark ... | public void paintThumb(Graphics g) { Color saved_color = g.getColor(); Point a = new Point(thumbRect.x, thumbRect.y); Point b = new Point(a); Point c = new Point(a); Point d = new Point(a); Point e = new Point(a); Polygon bright; Polygon light; // light shadow Polygon dark; // dark ... | 31,059 |
public void paintThumb(Graphics g) { Color saved_color = g.getColor(); Point a = new Point(thumbRect.x, thumbRect.y); Point b = new Point(a); Point c = new Point(a); Point d = new Point(a); Point e = new Point(a); Polygon bright; Polygon light; // light shadow Polygon dark; // dark ... | public void paintThumb(Graphics g) { Color saved_color = g.getColor(); Point a = new Point(thumbRect.x, thumbRect.y); Point b = new Point(a); Point c = new Point(a); Point d = new Point(a); Point e = new Point(a); Polygon bright; Polygon light; // light shadow Polygon dark; // dark ... | 31,060 |
public void paintThumb(Graphics g) { Color saved_color = g.getColor(); Point a = new Point(thumbRect.x, thumbRect.y); Point b = new Point(a); Point c = new Point(a); Point d = new Point(a); Point e = new Point(a); Polygon bright; Polygon light; // light shadow Polygon dark; // dark ... | public void paintThumb(Graphics g) { Color saved_color = g.getColor(); Point a = new Point(thumbRect.x, thumbRect.y); Point b = new Point(a); Point c = new Point(a); Point d = new Point(a); Point e = new Point(a); Polygon bright; Polygon light; // light shadow Polygon dark; // dark ... | 31,061 |
public void paintThumb(Graphics g) { Color saved_color = g.getColor(); Point a = new Point(thumbRect.x, thumbRect.y); Point b = new Point(a); Point c = new Point(a); Point d = new Point(a); Point e = new Point(a); Polygon bright; Polygon light; // light shadow Polygon dark; // dark ... | public void paintThumb(Graphics g) { Color saved_color = g.getColor(); Point a = new Point(thumbRect.x, thumbRect.y); Point b = new Point(a); Point c = new Point(a); Point d = new Point(a); Point e = new Point(a); Polygon bright; Polygon light; // light shadow Polygon dark; // dark ... | 31,062 |
public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return... | public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return... | 31,063 |
public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return... | public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return... | 31,064 |
public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return... | public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return... | 31,065 |
public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return... | public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return... | 31,066 |
public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return... | public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return... | 31,067 |
protected AccessibleJColorChooser(JColorChooser component) { super(component); // TODO } // AccessibleJColorChooser() | protected AccessibleJColorChooser(JColorChooser component) { super(component); // TODO } // AccessibleJColorChooser() | 31,068 |
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJColorChooser(this); } // if return accessibleContext; } // getAccessibleContext() | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJColorChooser(this); } // if return accessibleContext; } // getAccessibleContext() | 31,069 |
public void getInts(int memPtr, int[] dst, int dstOfs, int length) { if (dstOfs < 0) { throw new IndexOutOfBoundsException("dstOfs < 0"); } if (length < 0) { throw new IndexOutOfBoundsException("length < 0"); } if (dstOfs + length > dst.length) { throw new IndexOutOfBoundsException("dstOfs + length > dst.le... | public void getInts(int memPtr, int[] dst, int dstOfs, int length) { if (dstOfs < 0) { throw new IndexOutOfBoundsException("dstOfs < 0"); } if (length < 0) { throw new IndexOutOfBoundsException("length < 0"); } if (dstOfs + length > dst.length) { throw new IndexOutOfBoundsException("dstOfs + length > dst.le... | 31,070 |
public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { String s = value.toString(); setText(s); setOpaque(true); setHorizontalAlignment(LEF... | public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { String s = value != null ? value.toString() : ""; setText(s); setOpaque(true); setHo... | 31,071 |
public static int showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType) { JOptionPane pane = new JOptionPane(message, messageType, optionType); JDialog dialog = pane.createDialog(pare... | public static int showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType) { JOptionPane pane = new JOptionPane(message, messageType, optionType); JDialog dialog = pane.createDialog(pare... | 31,072 |
public static int showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType) { JOptionPane pane = new JOptionPane(message, messageType, optionType); JDialog dialog = pane.createDialog(pare... | public static int showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType) { JOptionPane pane = new JOptionPane(message, messageType, optionType); JDialog dialog = pane.createDialog(pare... | 31,073 |
public static long reverse(long val) { int hi = Integer.reverse((int) val); int lo = Integer.reverse((int) (val >>> 32)); return (((long) hi) << 32) | lo; } | public static long reverse(long val) { int hi = Integer.reverse((int) val); int lo = Integer.reverse((int) (val >>> 32)); return (((long) hi) << 32) | lo; } | 31,075 |
public static Long valueOf(String s) { return new Long(parseLong(s, 10, false)); } | public static Long valueOf(String s, int radix) { return new Long(parseLong(s, 10, false)); } | 31,076 |
public static Long valueOf(String s) { return new Long(parseLong(s, 10, false)); } | public static Long valueOf(String s) { return new Long(parseLong(s, radix, false)); } | 31,077 |
InputStream getInputStream() throws IOException { // Delegate to the URL content handler mechanism to retrieve an // HTML representation of the directory listing if a directory if (file.isDirectory()) { URL url = getURL(); return url.openStream(); } // Otherwis... | InputStream getInputStream() throws IOException { // Delegate to the URL content handler mechanism to retrieve an // HTML representation of the directory listing if a directory if (file.isDirectory()) { URL url = getURL(); return url.openStream(); } // Otherwis... | 31,078 |
public int getLength() { // Delegate to the URL content handler mechanism to retrieve the // length of the HTML representation of the directory listing if // a directory, or -1 if an exception occurs opening the directory. if (file.isDirectory()) { URL url = getURL(); ... | public int getLength() { // Delegate to the URL content handler mechanism to retrieve the // length of the HTML representation of the directory listing if // a directory, or -1 if an exception occurs opening the directory. if (file.isDirectory()) { URL url = getURL(); ... | 31,079 |
Resource getResource(String name) { File file = new File(dir, name); if (file.exists()) return new FileResource(this, name, file); return null; } | Resource getResource(String name) { File file = new File(dir, name); if (file.exists()) return new FileResource(this, name, file); return null; } | 31,080 |
private void addURLImpl(URL newUrl) { synchronized (urlloaders) { if (newUrl == null) return; // Silently ignore... // Reset the toString() value. thisString = null; // Check global cache to see if there're already url loader // for this url. URLLoader loader = (URLLoader) urlloaders.get(newUrl); i... | private void addURLImpl(URL newUrl) { synchronized (this) { if (newUrl == null) return; // Silently ignore... // Reset the toString() value. thisString = null; // Check global cache to see if there're already url loader // for this url. URLLoader loader = (URLLoader) urlloaders.get(newUrl); if (loa... | 31,081 |
protected Package definePackage(String name, Manifest manifest, URL url) throws IllegalArgumentException { Attributes attr = manifest.getMainAttributes(); String specTitle = attr.getValue(Attributes.Name.SPECIFICATION_TITLE); String specVersion = attr.getValue(Attributes.Name.SPECIFICATION_VERSION); ... | protected Package definePackage(String name, Manifest manifest, URL url) throws IllegalArgumentException { Attributes attr = manifest.getMainAttributes(); String specTitle = attr.getValue(Attributes.Name.SPECIFICATION_TITLE); String specVersion = attr.getValue(Attributes.Name.SPECIFICATION_VERSION); ... | 31,082 |
protected Package definePackage(String name, Manifest manifest, URL url) throws IllegalArgumentException { Attributes attr = manifest.getMainAttributes(); String specTitle = attr.getValue(Attributes.Name.SPECIFICATION_TITLE); String specVersion = attr.getValue(Attributes.Name.SPECIFICATION_VERSION); ... | protected Package definePackage(String name, Manifest manifest, URL url) throws IllegalArgumentException { Attributes attr = manifest.getMainAttributes(); String specTitle = attr.getValue(Attributes.Name.SPECIFICATION_TITLE); String specVersion = attr.getValue(Attributes.Name.SPECIFICATION_VERSION); ... | 31,083 |
protected Class findClass(final String className) throws ClassNotFoundException { // Just try to find the resource by the (almost) same name String resourceName = className.replace('.', '/') + ".class"; Resource resource = findURLResource(resourceName); if (resource == null) throw new ClassNotFou... | protected Class findClass(final String className) throws ClassNotFoundException { // Just try to find the resource by the (almost) same name String resourceName = className.replace('.', '/') + ".class"; Resource resource = findURLResource(resourceName); if (resource == null) throw new ClassNotFou... | 31,084 |
public String toString() { synchronized (urlloaders) { if (thisString == null) { StringBuffer sb = new StringBuffer(); sb.append(this.getClass().getName()); sb.append("{urls=[" ); URL[] thisURLs = getURLs(); for (int i = 0; i < thisURLs.length; i++) { sb.append(thisURLs[i]); if ... | public String toString() { synchronized (this) { if (thisString == null) { StringBuffer sb = new StringBuffer(); sb.append(this.getClass().getName()); sb.append("{urls=[" ); URL[] thisURLs = getURLs(); for (int i = 0; i < thisURLs.length; i++) { sb.append(thisURLs[i]); if (i < t... | 31,085 |
public ObjectEmitter(AbstractVmClassLoader b, NativeStream os, PrintWriter debug, Set legalInstanceClasses) { this.loaderContext = b; this.os = os; this.bis = (BootImageNativeStream)os; this.legalInstanceClasses = legalInstanceClasses; this.debugWriter = debug; } | public ObjectEmitter(AbstractVmClassLoader b, NativeStream os, PrintWriter debug, Set legalInstanceClasses) { this.loaderContext = b; this.os = os; this.bis = (BootImageNativeStream)os; this.legalInstanceClasses = legalInstanceClasses; this.debugWriter = debug; } | 31,086 |
public static void invoke(ServerRequest request, InvokeHandler target, Streamable result ) { try { int IN = ARG_IN.value; int OUT = ARG_OUT.value; // Write all arguments to the buffer output stream. cdrBufOutput buffer = new cdr... | public static void invoke(ServerRequest request, InvokeHandler target, Streamable result ) { try { int IN = ARG_IN.value; int OUT = ARG_OUT.value; // Write all arguments to the buffer output stream. BufferedCdrOutput buffer = ne... | 31,087 |
public static void invoke(ServerRequest request, InvokeHandler target, Streamable result ) { try { int IN = ARG_IN.value; int OUT = ARG_OUT.value; // Write all arguments to the buffer output stream. cdrBufOutput buffer = new cdr... | public static void invoke(ServerRequest request, InvokeHandler target, Streamable result ) { try { int IN = ARG_IN.value; int OUT = ARG_OUT.value; // Write all arguments to the buffer output stream. cdrBufOutput buffer = new cdr... | 31,088 |
public static void invoke(ServerRequest request, InvokeHandler target, Streamable result ) { try { int IN = ARG_IN.value; int OUT = ARG_OUT.value; // Write all arguments to the buffer output stream. cdrBufOutput buffer = new cdr... | public static void invoke(ServerRequest request, InvokeHandler target, Streamable result ) { try { int IN = ARG_IN.value; int OUT = ARG_OUT.value; // Write all arguments to the buffer output stream. cdrBufOutput buffer = new cdr... | 31,089 |
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ String jarFileName = main.getJarFileName(); jarFile = new JarFile(jarFileName); // 1. find all signature (.SF) files List sfFiles = new ArrayList(); for (Enumeration e = jarFile.entries(); e.hasMoreEleme... | voidstart()throwsException{log.entering(this.getClass().getName(),"start");//$NON-NLS-1$StringjarFileName=main.getJarFileName();jarFile=newJarFile(jarFileName);//1.findallsignature(.SF)filesListsfFiles=newArrayList();for(Enumeratione=jarFile.entries();e.hasMoreElements();){JarEntryje=(JarEntry)e.nextElement();StringjeN... | 31,090 |
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ String jarFileName = main.getJarFileName(); jarFile = new JarFile(jarFileName); // 1. find all signature (.SF) files List sfFiles = new ArrayList(); for (Enumeration e = jarFile.entries(); e.hasMoreEleme... | if (Configuration.DEBUG) if (Configuration.DEBUG) voidif (Configuration.DEBUG) start()if (Configuration.DEBUG) throwsif (Configuration.DEBUG) Exceptionif (Configuration.DEBUG) if (Configuration.DEBUG) {if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) log.entering(this.... | 31,091 |
private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering(this.getClass().getName(), "verifySF"); //$NON-NLS-1$ log.finest("About to verify signature of " + sigFileName + "..."); //$NON-NLS-1$ //$NON-NLS-2$ // 1. find the correspond... | private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering(this.getClass().getName(), "verifySF"); //$NON-NLS-1$ log.finest("About to verify signature of " + sigFileName + "..."); //$NON-NLS-1$ //$NON-NLS-2$ // 1. find the correspond... | 31,092 |
private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering(this.getClass().getName(), "verifySF"); //$NON-NLS-1$ log.finest("About to verify signature of " + sigFileName + "..."); //$NON-NLS-1$ //$NON-NLS-2$ // 1. find the correspond... | private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering(this.getClass().getName(), "verifySF"); //$NON-NLS-1$ log.finest("About to verify signature of " + sigFileName + "..."); //$NON-NLS-1$ //$NON-NLS-2$ // 1. find the correspond... | 31,093 |
private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering(this.getClass().getName(), "verifySF"); //$NON-NLS-1$ log.finest("About to verify signature of " + sigFileName + "..."); //$NON-NLS-1$ //$NON-NLS-2$ // 1. find the correspond... | private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering(this.getClass().getName(), "verifySF"); //$NON-NLS-1$ log.finest("About to verify signature of " + sigFileName + "..."); //$NON-NLS-1$ //$NON-NLS-2$ // 1. find the correspond... | 31,094 |
private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering(this.getClass().getName(), "verifySF"); //$NON-NLS-1$ log.finest("About to verify signature of " + sigFileName + "..."); //$NON-NLS-1$ //$NON-NLS-2$ // 1. find the correspond... | private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering(this.getClass().getName(), "verifySF"); //$NON-NLS-1$ log.finest("About to verify signature of " + sigFileName + "..."); //$NON-NLS-1$ //$NON-NLS-2$ // 1. find the correspond... | 31,095 |
private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering(this.getClass().getName(), "verifySF"); //$NON-NLS-1$ log.finest("About to verify signature of " + sigFileName + "..."); //$NON-NLS-1$ //$NON-NLS-2$ // 1. find the correspond... | privatebooleanverifySF(StringsigFileName)throwsCRLException,CertificateException,ZipException,IOException{log.entering(this.getClass().getName(),"verifySF");//$NON-NLS-1$log.finest("Abouttoverifysignatureof"+sigFileName+"...");//$NON-NLS-1$//$NON-NLS-2$//1.findthecorresponding.DSAfileforthis.SFfileJarEntrydsaEntry=jarF... | 31,096 |
private boolean verifySFEntries(String alias) throws IOException { log.entering(this.getClass().getName(), "verifySFEntries"); //$NON-NLS-1$ // 1. read the signature file JarEntry jarEntry = jarFile.getJarEntry(JarUtils.META_INF + alias + JarUtils.SF_SUFFIX); In... | privatebooleanverifySFEntries(Stringalias)throwsIOException{log.entering(this.getClass().getName(),"verifySFEntries");//$NON-NLS-1$//1.readthesignaturefileJarEntryjarEntry=jarFile.getJarEntry(JarUtils.META_INF+alias+JarUtils.SF_SUFFIX);InputStreamin=jarFile.getInputStream(jarEntry);Attributesattr=newAttributes();Mapent... | 31,098 |
private boolean verifySFEntries(String alias) throws IOException { log.entering(this.getClass().getName(), "verifySFEntries"); //$NON-NLS-1$ // 1. read the signature file JarEntry jarEntry = jarFile.getJarEntry(JarUtils.META_INF + alias + JarUtils.SF_SUFFIX); In... | private boolean verifySFEntries(String alias) throws IOException { log.entering(this.getClass().getName(), "verifySFEntries"); //$NON-NLS-1$ // 1. read the signature file JarEntry jarEntry = jarFile.getJarEntry(JarUtils.META_INF + alias + JarUtils.SF_SUFFIX); In... | 31,099 |
private boolean verifySFEntry(String name, String hash) throws IOException { String expectedValue = getEntryHash(JarFile.MANIFEST_NAME); boolean result = expectedValue.equalsIgnoreCase(hash); log.finest("Is " + name + " OK? " + result); //$NON-NLS-1$ //$NON-NLS-2$ return result; } | private boolean verifySFEntry(String name, String hash) throws IOException { String expectedValue = getEntryHash(JarFile.MANIFEST_NAME); boolean result = expectedValue.equalsIgnoreCase(hash); if (Configuration.DEBUG) log.fine("Is " + name + " OK? " + result); //$NON-NLS-1$ //$NON-NLS-2$ return result; } | 31,100 |
String hashStream(InputStream stream) throws IOException { BufferedInputStream bis = new BufferedInputStream(stream, 4096); byte[] buffer = new byte[4096]; int count = 0; int n; while ((n = bis.read(buffer)) != - 1) if (n > 0) { sha.update(buffer, 0, n); count += n; ... | StringhashStream(InputStreamstream)throwsIOException{BufferedInputStreambis=newBufferedInputStream(stream,4096);byte[]buffer=newbyte[4096];intcount=0;intn;while((n=bis.read(buffer))!=-1)if(n>0){sha.update(buffer,0,n);count+=n;}byte[]hash=sha.digest();log.finest("Hashed"+count+"byte(s)");Stringresult=Base64.encode(hash)... | 31,101 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | public PrivateKey decodePrivateKey(byte[] k) // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) throw new IllegalArgumentE... | 31,104 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | 31,105 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | public PrivateKey decodePrivateKey(byte[] k) // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) throw new IllegalArgumentE... | 31,106 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | 31,107 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | publicPrivateKeydecodePrivateKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0]||k[1]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1]||k[2]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2]||k[3]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgume... | 31,108 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | publicPrivateKeydecodePrivateKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0]||k[1]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1]||k[2]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2]||k[3]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgume... | 31,109 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | 31,110 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | publicPrivateKeydecodePrivateKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0]||k[1]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1]||k[2]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2]||k[3]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgume... | 31,111 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | 31,112 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | publicPrivateKeydecodePrivateKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0]||k[1]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1]||k[2]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2]||k[3]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgume... | 31,113 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | 31,114 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | publicPrivateKeydecodePrivateKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0]||k[1]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1]||k[2]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2]||k[3]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgume... | 31,115 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | 31,116 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]) { throw new IllegalArgum... | publicPrivateKeydecodePrivateKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0]||k[1]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1]||k[2]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[2]||k[3]!=Registry.MAGIC_RAW_DSS_PRIVATE_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgume... | 31,117 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | public PublicKey decodePublicKey(byte[] k) // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) throw new IllegalArgumentExcepti... | 31,118 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | 31,119 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | public PublicKey decodePublicKey(byte[] k) // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) throw new IllegalArgumentExcepti... | 31,120 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | 31,121 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.