bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public Properties getPropertyOverrides() { throw new Error("Not implemented");}
public Properties getPropertyOverrides() { throw new Error("Not implemented");}
38,465
public int hashCode() { throw new Error("Not implemented");}
public int hashCode() { throw new Error("Not implemented");}
38,466
public PopupMenu() { }
public PopupMenu() { }
38,467
public void show(Component component, int x, int y) { PopupMenuPeer pmp = (PopupMenuPeer) getPeer(); if (pmp != null) { /* XXX Event e = new Event (component, Event.ACTION_EVENT, component); e.x = x; e.y = y;*/ pmp.show(component, x, y); } }
public void show(Component component, int x, int y) { PopupMenuPeer pmp = (PopupMenuPeer) getPeer(); if (pmp != null) { /* XXX Event e = new Event (component, Event.ACTION_EVENT, component); e.x = x; e.y = y;*/ pmp.show(component, x, y); } }
38,468
public void show(Component component, int x, int y) { PopupMenuPeer pmp = (PopupMenuPeer) getPeer(); if (pmp != null) { /* XXX Event e = new Event (component, Event.ACTION_EVENT, component); e.x = x; e.y = y;*/ pmp.show(component, x, y); } }
public void show(Component component, int x, int y) { PopupMenuPeer pmp = (PopupMenuPeer) getPeer(); if (pmp != null) { /* XXX Event e = new Event (component, Event.ACTION_EVENT, component); e.x = x; e.y = y;*/ pmp.show(component, x, y); } }
38,469
public Graphics getGraphics() { // TODO Auto-generated method stub return null; }
publicGraphicsgetGraphics(){ //TODOAuto-generatedmethodstub returnnull; }
38,471
public String getUIClassID() { return "JViewport"; }
public String getUIClassID() { return "ViewportUI"; }
38,472
static void paintHorizontalGradient(Graphics g, int x, int y, int w, int h, double g1, double g2, Color c1, Color c2, Color c3) { // Calculate the coordinates. // The size of the first gradient area (c1->2). int w1 = (int) (w * g1); ...
static void paintHorizontalGradient(Graphics g, int x, int y, int w, int h, double g1, double g2, Color c1, Color c2, Color c3) { // Calculate the coordinates. // The size of the first gradient area (c1->2). int w1 = (int) (w * g1); ...
38,473
static void paintHorizontalGradient(Graphics g, int x, int y, int w, int h, double g1, double g2, Color c1, Color c2, Color c3) { // Calculate the coordinates. // The size of the first gradient area (c1->2). int w1 = (int) (w * g1); ...
static void paintHorizontalGradient(Graphics g, int x, int y, int w, int h, double g1, double g2, Color c1, Color c2, Color c3) { // Calculate the coordinates. // The size of the first gradient area (c1->2). int w1 = (int) (w * g1); ...
38,474
static void paintHorizontalGradient(Graphics g, int x, int y, int w, int h, double g1, double g2, Color c1, Color c2, Color c3) { // Calculate the coordinates. // The size of the first gradient area (c1->2). int w1 = (int) (w * g1); ...
static void paintHorizontalGradient(Graphics g, int x, int y, int w, int h, double g1, double g2, Color c1, Color c2, Color c3) { // Calculate the coordinates. // The size of the first gradient area (c1->2). int w1 = (int) (w * g1); ...
38,475
static void paintHorizontalGradient(Graphics g, int x, int y, int w, int h, double g1, double g2, Color c1, Color c2, Color c3) { // Calculate the coordinates. // The size of the first gradient area (c1->2). int w1 = (int) (w * g1); ...
static void paintHorizontalGradient(Graphics g, int x, int y, int w, int h, double g1, double g2, Color c1, Color c2, Color c3) { // Calculate the coordinates. // The size of the first gradient area (c1->2). int w1 = (int) (w * g1); ...
38,476
static void paintVerticalGradient(Graphics g, int x, int y, int w, int h, double g1, double g2, Color c1, Color c2, Color c3) { // Calculate the coordinates. // The size of the first gradient area (c1->2). int w1 = (int) (h * g1); // T...
static void paintVerticalGradient(Graphics g, int x, int y, int w, int h, double g1, double g2, Color c1, Color c2, Color c3, int[][] mask) { // Calculate the coordinates. // The size of the first gradient area (c1->2). int w1 = (int) (h ...
38,477
static void paintVerticalGradient(Graphics g, int x, int y, int w, int h, double g1, double g2, Color c1, Color c2, Color c3) { // Calculate the coordinates. // The size of the first gradient area (c1->2). int w1 = (int) (h * g1); // T...
static void paintVerticalGradient(Graphics g, int x, int y, int w, int h, double g1, double g2, Color c1, Color c2, Color c3) { // Calculate the coordinates. // The size of the first gradient area (c1->2). int w1 = (int) (h * g1); // T...
38,478
static void paintVerticalGradient(Graphics g, int x, int y, int w, int h, double g1, double g2, Color c1, Color c2, Color c3) { // Calculate the coordinates. // The size of the first gradient area (c1->2). int w1 = (int) (h * g1); // T...
static void paintVerticalGradient(Graphics g, int x, int y, int w, int h, double g1, double g2, Color c1, Color c2, Color c3) { // Calculate the coordinates. // The size of the first gradient area (c1->2). int w1 = (int) (h * g1); // T...
38,479
static void paintVerticalGradient(Graphics g, int x, int y, int w, int h, double g1, double g2, Color c1, Color c2, Color c3) { // Calculate the coordinates. // The size of the first gradient area (c1->2). int w1 = (int) (h * g1); // T...
static void paintVerticalGradient(Graphics g, int x, int y, int w, int h, double g1, double g2, Color c1, Color c2, Color c3) { // Calculate the coordinates. // The size of the first gradient area (c1->2). int w1 = (int) (h * g1); // T...
38,480
public Request create_request(org.omg.CORBA.Object target, Context context, String method, NVList parameters, NamedValue returns, ExceptionList exceptions, ContextList ctx_list ) { operation ...
public Request create_request(org.omg.CORBA.Object target, Context context, String method, NVList parameters, NamedValue returns, ExceptionList exceptions, ContextList ctx_list ) { operation ...
38,481
public InputStream invoke(org.omg.CORBA.Object target, OutputStream output) throws ApplicationException { streamRequest sr = (streamRequest) output; LocalRequest lr = (LocalRequest) sr.request; InvokeHandler handler = lr.object.getHandler(lr.operation(), lr.cookie, false); if (handler...
public InputStream invoke(org.omg.CORBA.Object target, OutputStream output) throws ApplicationException { streamRequest sr = (streamRequest) output; LocalRequest lr = (LocalRequest) sr.request; InvokeHandler handler = lr.object.getHandler(lr.operation(), lr.cookie, false); if (handler...
38,482
public InputStream invoke(org.omg.CORBA.Object target, OutputStream output) throws ApplicationException { streamRequest sr = (streamRequest) output; LocalRequest lr = (LocalRequest) sr.request; InvokeHandler handler = lr.object.getHandler(lr.operation(), lr.cookie, false); if (handler...
public InputStream invoke(org.omg.CORBA.Object target, OutputStream output) throws ApplicationException { streamRequest sr = (streamRequest) output; LocalRequest lr = (LocalRequest) sr.request; InvokeHandler handler = lr.object.getHandler(lr.operation(), lr.cookie, false); if (handler...
38,483
static void parseParams(DomNode node, AppletTag t) { boolean ja = false; boolean jb = false; boolean jc = false; NodeList l = node.getChildNodes(); int size = l.getLength(); if (size != 0) for (int i = 0; i < size; i++) { Object c = l.item(i); if (! (c instanceof D...
val = unescapeString(val); val = unescapeString(val); staticval = unescapeString(val); voidval = unescapeString(val); parseParams(DomNodeval = unescapeString(val); node,val = unescapeString(val); AppletTagval = unescapeString(val); t)val = unescapeString(val); val = unescapeString(val); {val = unescapeString(val); val ...
38,484
protected byte[] getResult() { byte[] digest = { (byte) a, (byte) (a >>> 8), (byte) (a >>> 16), (byte) (a >>> 24), (byte) b, (byte) (b >>> 8), (byte) (b >>> 16), (byte) (b >>> 24), (byte) c, (byte) (c >>> 8), (byte) (c >>> 16), (byte) (c >>> 24), ...
protected byte[] getResult() { byte[] digest = { (byte) a, (byte) (a >>> 8), (byte) (a >>> 16), (byte) (a >>> 24), (byte) b, (byte) (b >>> 8), (byte) (b >>> 16), (byte) (b >>> 24), (byte) c, (byte) (c >>> 8), (byte) (c >>> 16), (byte) (c >>> 24), ...
38,485
protected byte[] padBuffer() { int n = (int) (count % BLOCK_LENGTH); int padding = (n < 56) ? (56 - n) : (120 - n); byte[] pad = new byte[padding + 8]; pad[0] = (byte) 0x80; long bits = count << 3; pad[padding++] = (byte) bits; pad[padding++] = (byte) (bits >>> 8); pad[padding++] = (byte) (bi...
protected byte[] padBuffer() { int n = (int)(count % BLOCK_LENGTH); int padding = (n < 56) ? (56 - n) : (120 - n); byte[] pad = new byte[padding + 8]; pad[0] = (byte) 0x80; long bits = count << 3; pad[padding++] = (byte) bits; pad[padding++] = (byte) (bits >>> 8); pad[padding++] = (byte) (bit...
38,486
protected byte[] padBuffer() { int n = (int) (count % BLOCK_LENGTH); int padding = (n < 56) ? (56 - n) : (120 - n); byte[] pad = new byte[padding + 8]; pad[0] = (byte) 0x80; long bits = count << 3; pad[padding++] = (byte) bits; pad[padding++] = (byte) (bits >>> 8); pad[padding++] = (byte) (bi...
protectedbyte[]padBuffer(){intn=(int)(count%BLOCK_LENGTH);intpadding=(n<56)?(56-n):(120-n);byte[]pad=newbyte[padding+8];pad[0]=(byte)0x80;longbits=count<<3;pad[padding++]=(byte)bits;pad[padding++]=(byte)(bits>>>8);pad[padding++]=(byte)(bits>>>16);pad[padding++]=(byte)(bits>>>24);pad[padding++]=(byte)(bits>>>32);pad[pad...
38,487
protected byte[] padBuffer() { int n = (int) (count % BLOCK_LENGTH); int padding = (n < 56) ? (56 - n) : (120 - n); byte[] pad = new byte[padding + 8]; pad[0] = (byte) 0x80; long bits = count << 3; pad[padding++] = (byte) bits; pad[padding++] = (byte) (bits >>> 8); pad[padding++] = (byte) (bi...
protected byte[] padBuffer() { int n = (int) (count % BLOCK_LENGTH); int padding = (n < 56) ? (56 - n) : (120 - n); byte[] pad = new byte[padding + 8]; pad[0] = (byte) 0x80; long bits = count << 3; pad[padding++] = (byte) bits; pad[padding++] = (byte) (bits >>> 8); pad[padding++] = (byte) (bi...
38,488
public boolean selfTest() { if (valid == null) { valid = Boolean.valueOf(DIGEST0.equals(Util.toString(new MD4().digest()))); } return valid.booleanValue(); }
public boolean selfTest() { if (valid == null) { String d = Util.toString(new MD4().digest()); valid = Boolean.valueOf(DIGEST0.equals(d)); } return valid.booleanValue(); }
38,489
protected void transform(byte[] in, int i) { int X0 = (in[i++] & 0xFF) | (in[i++] & 0xFF) << 8 | (in[i++] & 0xFF) << 16 | in[i++] << 24; int X1 = (in[i++] & 0xFF) | (in[i++] & 0xFF) << 8 | (in[i++] & 0xFF) << 16 | in[i++] << 24; int X2 = (in[i++] & 0xFF) | (in[i++] & 0xFF) << 8 | (in...
protected void transform(byte[] in, int i) { int X0 = (in[i++] & 0xFF) | (in[i++] & 0xFF) << 8 | (in[i++] & 0xFF) << 16 | in[i++] << 24; int X1 = (in[i++] & 0xFF) | (in[i++] & 0xFF) << 8 | (in[i++] & 0xFF) << 16 | in[i++] << 24; int X2 = (in[i++] & 0xFF) | (in[i++] & 0xFF) << 8 | (in...
38,490
protected void transform(byte[] in, int i) { int X0 = (in[i++] & 0xFF) | (in[i++] & 0xFF) << 8 | (in[i++] & 0xFF) << 16 | in[i++] << 24; int X1 = (in[i++] & 0xFF) | (in[i++] & 0xFF) << 8 | (in[i++] & 0xFF) << 16 | in[i++] << 24; int X2 = (in[i++] & 0xFF) | (in[i++] & 0xFF) << 8 | (in...
protectedvoidtransform(byte[]in,inti){intX0=(in[i++]&0xFF)|(in[i++]&0xFF)<<8|(in[i++]&0xFF)<<16|in[i++]<<24;intX1=(in[i++]&0xFF)|(in[i++]&0xFF)<<8|(in[i++]&0xFF)<<16|in[i++]<<24;intX2=(in[i++]&0xFF)|(in[i++]&0xFF)<<8|(in[i++]&0xFF)<<16|in[i++]<<24;intX3=(in[i++]&0xFF)|(in[i++]&0xFF)<<8|(in[i++]&0xFF)<<16|in[i++]<<24;in...
38,491
protected void transform(byte[] in, int i) { int X0 = (in[i++] & 0xFF) | (in[i++] & 0xFF) << 8 | (in[i++] & 0xFF) << 16 | in[i++] << 24; int X1 = (in[i++] & 0xFF) | (in[i++] & 0xFF) << 8 | (in[i++] & 0xFF) << 16 | in[i++] << 24; int X2 = (in[i++] & 0xFF) | (in[i++] & 0xFF) << 8 | (in...
protectedvoidtransform(byte[]in,inti){intX0=(in[i++]&0xFF)|(in[i++]&0xFF)<<8|(in[i++]&0xFF)<<16|in[i++]<<24;intX1=(in[i++]&0xFF)|(in[i++]&0xFF)<<8|(in[i++]&0xFF)<<16|in[i++]<<24;intX2=(in[i++]&0xFF)|(in[i++]&0xFF)<<8|(in[i++]&0xFF)<<16|in[i++]<<24;intX3=(in[i++]&0xFF)|(in[i++]&0xFF)<<8|(in[i++]&0xFF)<<16|in[i++]<<24;in...
38,492
public int offsetRequested () { return offset; }
public int offsetRequested() { return offset; }
38,493
public void mark(long mark) { }
public void mark(int mark) { }
38,494
public final int update(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset) throws IllegalStateException, ShortBufferException { if (cipherSpi == null) { if (inputLength > output.length - outputOffset) { throw new ShortBuffer...
public final int update(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset) throws IllegalStateException, ShortBufferException { if (cipherSpi == null) { if (inputLength > output.length - outputOffset) { throw new ShortBuffer...
38,495
public final int update(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset) throws IllegalStateException, ShortBufferException { if (cipherSpi == null) { if (inputLength > output.length - outputOffset) { throw new ShortBuffer...
public final int update(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset) throws IllegalStateException, ShortBufferException { if (cipherSpi == null) { if (inputLength > output.length - outputOffset) { throw new ShortBuffer...
38,496
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), ...
38,497
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...
38,498
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...
38,499
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...
38,500
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...
38,501
public boolean selfTest() { if (valid == null) { valid = Boolean.valueOf (DIGEST0.equals(Util.toString(new RipeMD160().digest()))); } return valid.booleanValue(); }
public boolean selfTest() { if (valid == null) { valid = Boolean.valueOf (DIGEST0.equals(Util.toString(new RipeMD160().digest()))); } return valid.booleanValue(); }
38,502
protected void transform(byte[] in, int offset) { int A, B, C, D, E, Ap, Bp, Cp, Dp, Ep, 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,E,Ap,Bp,Cp,Dp,Ep,T,s,i;//encode64bytesfrominputblockintoanarrayof16unsignedintegersfor(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;E=Ep=h4;for(i=0;i<16;i++){//rounds0...15s=S...
38,503
protected void transform(byte[] in, int offset) { int A, B, C, D, E, Ap, Bp, Cp, Dp, Ep, 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, E, Ap, Bp, Cp, Dp, Ep, 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) <...
38,504
protected void transform(byte[] in, int offset) { int A, B, C, D, E, Ap, Bp, Cp, Dp, Ep, 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, E, Ap, Bp, Cp, Dp, Ep, 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) <...
38,505
protected void transform(byte[] in, int offset) { int A, B, C, D, E, Ap, Bp, Cp, Dp, Ep, 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, E, Ap, Bp, Cp, Dp, Ep, 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) <...
38,506
protected void transform(byte[] in, int offset) { int A, B, C, D, E, Ap, Bp, Cp, Dp, Ep, 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, E, Ap, Bp, Cp, Dp, Ep, 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) <...
38,507
protected void transform(byte[] in, int offset) { int A, B, C, D, E, Ap, Bp, Cp, Dp, Ep, 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, E, Ap, Bp, Cp, Dp, Ep, 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) <...
38,508
protected void transform(byte[] in, int offset) { int A, B, C, D, E, Ap, Bp, Cp, Dp, Ep, 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, E, Ap, Bp, Cp, Dp, Ep, 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) <...
38,509
protected void transform(byte[] in, int offset) { int A, B, C, D, E, Ap, Bp, Cp, Dp, Ep, 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,E,Ap,Bp,Cp,Dp,Ep,T,s,i;//encode64bytesfrominputblockintoanarrayof16unsignedintegersfor(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;E=Ep=h4;for(i=0;i<16;i++){//rounds0...15s=S...
38,510
public VGASurface(VGADriver driver) throws ResourceNotFreeException { super(640, 480); this.vga = new StandardVGA(driver.getDevice(), VGADriver.COLOR_MODEL); this.vgaIO = new StandardVGAIO(driver.getDevice(), vga.getVgaMem()); this.driver = driver; this.model = VGADriver.COLOR_MODEL; this.bitmapGraphics = new VG...
public VGASurface(VGADriver driver) throws ResourceNotFreeException { super(640, 480); this.vga = new StandardVGA(driver.getDevice(), VGADriver.COLOR_MODEL); this.vgaIO = new StandardVGAIO(driver.getDevice(), vga.getVgaMem()); this.driver = driver; this.model = VGADriver.COLOR_MODEL; this.bitmapGraphics = new VG...
38,511
public static String mapLibraryName(String libname) { // XXX Fix this!!!! return VMRuntime.nativeGetLibname("", libname); }
public static String mapLibraryName(String libname) { // XXX Fix this!!!! return VMRuntime.mapLibraryName(libname); }
38,512
public static void setProperties(Properties properties) { SecurityManager sm = Runtime.securityManager; // Be thread-safe. if (sm != null) sm.checkPropertiesAccess(); if (properties == null) { // Note that we use clone here and not new. Some programs // assume that the system properties do not ha...
public static void setProperties(Properties properties) { SecurityManager sm = SecurityManager.current; // Be thread-safe. if (sm != null) sm.checkPropertiesAccess(); if (properties == null) { // Note that we use clone here and not new. Some programs // assume that the system properties do not ha...
38,513
public static void setProperties(Properties properties) { SecurityManager sm = Runtime.securityManager; // Be thread-safe. if (sm != null) sm.checkPropertiesAccess(); if (properties == null) { // Note that we use clone here and not new. Some programs // assume that the system properties do not ha...
public static void setProperties(Properties properties) { SecurityManager sm = Runtime.securityManager; // Be thread-safe. if (sm != null) sm.checkPropertiesAccess(); if (properties == null) { // Note that we use clone here and not new. Some programs // assume that the system properties do not ha...
38,514
public static synchronized void setSecurityManager(SecurityManager sm) { // Implementation note: the field lives in Runtime because of bootstrap // initialization issues. This method is synchronized so that no other // thread changes it to null before this thread makes the change. if (Runtime.securityMan...
public static synchronized void setSecurityManager(SecurityManager sm) { // Implementation note: the field lives in Runtime because of bootstrap // initialization issues. This method is synchronized so that no other // thread changes it to null before this thread makes the change. if (Runtime.securityMan...
38,515
public static synchronized void setSecurityManager(SecurityManager sm) { // Implementation note: the field lives in Runtime because of bootstrap // initialization issues. This method is synchronized so that no other // thread changes it to null before this thread makes the change. if (Runtime.securityMan...
public static synchronized void setSecurityManager(SecurityManager sm) { // Implementation note: the field lives in Runtime because of bootstrap // initialization issues. This method is synchronized so that no other // thread changes it to null before this thread makes the change. if (Runtime.securityMan...
38,516
private static int scanFormat(String pat, int index, StringBuffer buffer, Vector elts, Locale locale) { MessageFormatElement mfe = new MessageFormatElement (); elts.addElement(mfe); int max = pat.length(); // Skip the opening `{'. ++index; // Fetch the argument number...
private static int scanFormat(String pat, int index, StringBuffer buffer, Vector elts, Locale locale) { MessageFormatElement mfe = new MessageFormatElement (); elts.addElement(mfe); int max = pat.length(); // Skip the opening `{'. ++index; // Fetch the argument number...
38,517
public PublicKey decodePublicKey(byte[] input) { throw new IllegalArgumentException("Wrong format for public keys"); }
public PublicKey decodePublicKey(byte[] input) { throw new InvalidParameterException("Wrong format for public keys"); }
38,518
public byte[] encodePublicKey(PublicKey key) { throw new IllegalArgumentException("Wrong format for public keys"); }
public byte[] encodePublicKey(PublicKey key) { throw new InvalidParameterException("Wrong format for public keys"); }
38,519
public void setHandle(long handle) { super.setHandle(handle); addNotify(); ArrayList l = parser.parseAppletTags(); int s = l.size(); for (int i = 0; i < s; i++) { tag = (AppletTag) l.get(i); applet = Main.createApplet(tag); if (contexts.get(tag.getCodeBase()) == null) ...
public void setHandle(long handle) { super.setHandle(handle); addNotify(); ArrayList l = parser.parseAppletTags(); int s = l.size(); for (int i = 0; i < s; i++) { tag = (AppletTag) l.get(i); applet = Main.createApplet(tag); if (contexts.get(tag.getCodeBase()) == null) ...
38,520
public Dimension preferredLayoutSize(Container target) { if (target instanceof JSplitPane) { JSplitPane split = (JSplitPane) target; Insets insets = target.getInsets(); int height = 0; int width = 0; for (int i = 0; i < components.length; i++) { if (components[i] == null) continu...
public Dimension preferredLayoutSize(Container target) { if (target instanceof JSplitPane) { JSplitPane split = (JSplitPane) target; Insets insets = target.getInsets(); int height = 0; int width = 0; for (int i = 0; i < components.length; i++) { if (components[i] == null) continu...
38,521
protected void setComponentToSize(Component c, int size, int location, Insets insets, Dimension containerSize) { int y = location; int x = insets.left; int h = size; int w = containerSize.width - insets.left - insets.right; c.setBounds(x, y, w, h); ...
protectedvoidsetComponentToSize(Componentc,intsize,intlocation,Insetsinsets,DimensioncontainerSize){inty=location;intx=insets.left;inth=size;intw=containerSize.width-insets.left-insets.right;c.setBounds(x,y,w,h);}
38,522
public void propertyChange(PropertyChangeEvent e) { if (e.getPropertyName().equals(JSplitPane.DIVIDER_SIZE_PROPERTY)) { int newSize = splitPane.getDividerSize(); int[] tmpSizes = layoutManager.getSizes(); dividerSize = tmpSizes[2]; int newSpace = newSize - tmpSizes[2]; tmpSizes[2] = newSize...
publicvoidpropertyChange(PropertyChangeEvente){if(e.getPropertyName().equals(JSplitPane.DIVIDER_SIZE_PROPERTY)){ intnewSize=splitPane.getDividerSize(); int[]tmpSizes=layoutManager.getSizes(); dividerSize=tmpSizes[2]; intnewSpace=newSize-tmpSizes[2]; tmpSizes[2]=newSize; tmpSizes[0]+=newSpace/2; tmpSizes[1]+=newSpace/2;...
38,523
void setCursor(Cursor c);
void setCursor(Cursor c);
38,524
void startDrag(DragSourceContext context, Cursor c, Image i, Point p);
void startDrag(DragSourceContext context, Cursor c, Image i, Point p);
38,525
private static java.io.OutputStream createFileStream(String pattern, int limit, int count, boolean append, int generation) { String path; int unique = 0; /* Throws a SecurityException if the caller does not have * LoggingPermission("control"). */ ...
private static java.io.OutputStream createFileStream(String pattern, int limit, int count, boolean append, int generation) { String path; int unique = 0; /* Throws a SecurityException if the caller does not have * LoggingPermission("control"). */ ...
38,526
private static java.io.OutputStream createFileStream(String pattern, int limit, int count, boolean append, int generation) { String path; int unique = 0; /* Throws a SecurityException if the caller does not have * LoggingPermission("control"). */ ...
private static java.io.OutputStream createFileStream(String pattern, int limit, int count, boolean append, int generation) { String path; int unique = 0; /* Throws a SecurityException if the caller does not have * LoggingPermission("control"). */ ...
38,527
private static java.io.OutputStream createFileStream(String pattern, int limit, int count, boolean append, int generation) { String path; int unique = 0; /* Throws a SecurityException if the caller does not have * LoggingPermission("control"). */ ...
private static java.io.OutputStream createFileStream(String pattern, int limit, int count, boolean append, int generation) { String path; int unique = 0; /* Throws a SecurityException if the caller does not have * LoggingPermission("control"). */ ...
38,528
private static java.io.OutputStream createFileStream(String pattern, int limit, int count, boolean append, int generation) { String path; int unique = 0; /* Throws a SecurityException if the caller does not have * LoggingPermission("control"). */ ...
private static java.io.OutputStream createFileStream(String pattern, int limit, int count, boolean append, int generation) { String path; int unique = 0; /* Throws a SecurityException if the caller does not have * LoggingPermission("control"). */ ...
38,529
public void publish(LogRecord record) { super.publish(record); /* FIXME: Decide when to switch over. How do we get to * the number of bytes published so far? Two possibilities: * 1. File.length, 2. have metering wrapper around * output stream counting the number of written bytes. */ /* FIX...
public void publish(LogRecord record) { super.publish(record); /* FIXME: Decide when to switch over. How do we get to * the number of bytes published so far? Two possibilities: * 1. File.length, 2. have metering wrapper around * output stream counting the number of written bytes. */ /* FIX...
38,530
public int getBreakWeight(int axis, float pos, float len) { if (axis == X_AXIS) return ForcedBreakWeight; else return BadBreakWeight; }
public int getBreakWeight(int axis, float pos, float len) { if (axis == X_AXIS) return ForcedBreakWeight; else return super.getBreakWeight(axis, pos, len); }
38,531
public RTL8139Core(RTL8139Driver driver, ResourceOwner owner, PCIDevice device, Flags flags) throws DriverException, ResourceNotFreeException { if (!(flags instanceof RTL8139Flags)) throw new DriverException("Wrong flags to the RTL8139 driver"); this.driver = driver; this.flags = (RTL8139Flags) flags; final int ...
public RTL8139Core(RTL8139Driver driver, ResourceOwner owner, PCIDevice device, Flags flags) throws DriverException, ResourceNotFreeException { if (!(flags instanceof RTL8139Flags)) throw new DriverException("Wrong flags to the RTL8139 driver"); this.driver = driver; this.flags = (RTL8139Flags) flags; final int ...
38,532
public static ComponentInputMap makeComponentInputMap(JComponent c, Object[] keys) { // Creates a ComponentInputMap from keys. return null; }
public static ComponentInputMap makeComponentInputMap(JComponent c, Object[] keys) { // Creates a ComponentInputMap from keys. return null; }
38,533
public static ComponentInputMap makeComponentInputMap(JComponent c, Object[] keys) { // Creates a ComponentInputMap from keys. return null; }
publicstaticComponentInputMapmakeComponentInputMap(JComponentc,Object[]keys){ //CreatesaComponentInputMapfromkeys. returnnull;}
38,534
public static Object makeIcon(Class baseClass, String gifFile) { //Utility method that creates a UIDefaults.LazyValue that creates an ImageIcon UIResource for the specified gifFile filename. return null; }
publicstaticObjectmakeIcon(ClassbaseClass,StringgifFile){ //UtilitymethodthatcreatesaUIDefaults.LazyValuethatcreatesanImageIconUIResourceforthespecifiedgifFilefilename. returnnull;}
38,535
public static InputMap makeInputMap(Object[] keys) { //Creates a InputMap from keys. return null; }
publicstaticInputMapmakeInputMap(Object[]keys){ //CreatesaInputMapfromkeys. returnnull;}
38,536
public static JTextComponent.KeyBinding[] makeKeyBindings(Object[] keyBindingList) { // Convenience method for building lists of KeyBindings. return null; }
publicstaticJTextComponent.KeyBinding[]makeKeyBindings(Object[]keyBindingList){ //ConveniencemethodforbuildinglistsofKeyBindings. returnnull;}
38,537
public String toString() { //Returns a string that displays and identifies this object's properties. return "LookAndFeel"; }
publicStringtoString(){ //Returnsastringthatdisplaysandidentifiesthisobject'sproperties. return"LookAndFeel";}
38,538
public int drawSelectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { String text = getDocument().getText(p0, p1); g.setColor(Color.WHITE); g.drawString(text, x, y); return metrics.stringWidth(text); }
protected int drawSelectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { String text = getDocument().getText(p0, p1); g.setColor(Color.WHITE); g.drawString(text, x, y); return metrics.stringWidth(text); }
38,539
public int drawSelectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { String text = getDocument().getText(p0, p1); g.setColor(Color.WHITE); g.drawString(text, x, y); return metrics.stringWidth(text); }
public int drawSelectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { String text = getDocument().getText(p0, p1); g.setColor(Color.WHITE); g.drawString(text, x, y); return metrics.stringWidth(text); }
38,540
public int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { String text = getDocument().getText(p0, p1); g.setColor(Color.BLACK); g.drawString(text, x, y); return metrics.stringWidth(text); }
protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { String text = getDocument().getText(p0, p1); g.setColor(Color.BLACK); g.drawString(text, x, y); return metrics.stringWidth(text); }
38,541
public int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { String text = getDocument().getText(p0, p1); g.setColor(Color.BLACK); g.drawString(text, x, y); return metrics.stringWidth(text); }
public int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { String text = getDocument().getText(p0, p1); g.setColor(Color.BLACK); g.drawString(text, x, y); return metrics.stringWidth(text); }
38,542
public float nextTabStop(float x, int tabStop) { System.out.println("Michael: PlainView.nextTabpStop: missing implementation"); return x; }
public float nextTabStop(float x, int tabStop) { System.out.println("Michael: PlainView.nextTabpStop: missing implementation"); return x; }
38,543
public void paint(Graphics g, Shape s) { System.out.println("Michael: PlainView.paint"); Rectangle rect = s.getBounds(); g.setColor(Color.WHITE); g.fillRect(rect.x, rect.y, rect.width, rect.height); // FIXME: Text may be scrolled. drawLine(0, g, rect.x, rect.y); }
public void paint(Graphics g, Shape s) { JTextComponent textComponent = (JTextComponent) getContainer(); Rectangle rect = s.getBounds(); g.setColor(Color.WHITE); g.fillRect(rect.x, rect.y, rect.width, rect.height); // FIXME: Text may be scrolled. drawLine(0, g, rect.x, rect.y); }
38,544
public void paint(Graphics g, Shape s) { System.out.println("Michael: PlainView.paint"); Rectangle rect = s.getBounds(); g.setColor(Color.WHITE); g.fillRect(rect.x, rect.y, rect.width, rect.height); // FIXME: Text may be scrolled. drawLine(0, g, rect.x, rect.y); }
public void paint(Graphics g, Shape s) { System.out.println("Michael: PlainView.paint"); Rectangle rect = s.getBounds(); g.setColor(Color.WHITE); g.fillRect(rect.x, rect.y, rect.width, rect.height); // FIXME: Text may be scrolled. drawLine(0, g, rect.x, rect.y); }
38,545
public Exception() { super(); }
public Exception() { super(); }
38,546
getPrinterJob();
getPrinterJob();
38,547
public Object narrow(Object narrowFrom, Class narrowTo) throws ClassCastException { if (narrowTo == null) throw new ClassCastException("Can't narrow to null class"); else if (narrowFrom == null) return null; else // Simple narrowing case. if (narrowTo.isAssignableFrom(narrowFrom.getClass(...
public Object narrow(Object narrowFrom, Class narrowTo) throws ClassCastException { if (narrowTo == null) throw new ClassCastException("Can't narrow to null class"); else if (narrowFrom == null) return null; else // Simple narrowing case. if (narrowTo.isAssignableFrom(narrowFrom.getClass(...
38,548
protected FramePeer createFrame(Frame target) { log.debug("createFrame", new Exception("Stacktrace")); final int rc = incRefCount(); log.debug("createFrame refCount=" + rc); if (!initialized) { log.debug("createFrame:desktopFramePeer(" + target + ")"); // Only deskt...
protected FramePeer createFrame(Frame target) { final int rc = incRefCount(); log.debug("createFrame refCount=" + rc); if (!initialized) { log.debug("createFrame:desktopFramePeer(" + target + ")"); // Only desktop is real frame initialized = true; ...
38,549
protected FramePeer createFrame(Frame target) { log.debug("createFrame", new Exception("Stacktrace")); final int rc = incRefCount(); log.debug("createFrame refCount=" + rc); if (!initialized) { log.debug("createFrame:desktopFramePeer(" + target + ")"); // Only deskt...
protected FramePeer createFrame(Frame target) { log.debug("createFrame", new Exception("Stacktrace")); final int rc = incRefCount(); if (!initialized) { log.debug("createFrame:desktopFramePeer(" + target + ")"); // Only desktop is real frame initialized =...
38,550
protected void onInitialize() { log.debug("onInitialize", new Exception("Stacktrace")); desktopFrame = new JFrame(""); log.debug("onInitialize.1"); desktopFrame.setSize(getScreenSize().width, getScreenSize().height); log.debug("onInitialize.2"); desktop = new JDesktopPane()...
protected void onInitialize() { log.debug("onInitialize"); desktopFrame = new JFrame(""); log.debug("onInitialize.1"); desktopFrame.setSize(getScreenSize().width, getScreenSize().height); log.debug("onInitialize.2"); desktop = new JDesktopPane(); log.debug("onInitial...
38,551
protected void onInitialize() { log.debug("onInitialize", new Exception("Stacktrace")); desktopFrame = new JFrame(""); log.debug("onInitialize.1"); desktopFrame.setSize(getScreenSize().width, getScreenSize().height); log.debug("onInitialize.2"); desktop = new JDesktopPane()...
protected void onInitialize() { log.debug("onInitialize", new Exception("Stacktrace")); desktopFrame = new JFrame(""); desktopFrame.setSize(getScreenSize().width, getScreenSize().height); log.debug("onInitialize.2"); desktop = new JDesktopPane(); log.debug("onInitial...
38,552
protected void onInitialize() { log.debug("onInitialize", new Exception("Stacktrace")); desktopFrame = new JFrame(""); log.debug("onInitialize.1"); desktopFrame.setSize(getScreenSize().width, getScreenSize().height); log.debug("onInitialize.2"); desktop = new JDesktopPane()...
protected void onInitialize() { log.debug("onInitialize", new Exception("Stacktrace")); desktopFrame = new JFrame(""); log.debug("onInitialize.1"); desktopFrame.setSize(getScreenSize().width, getScreenSize().height); desktop = new JDesktopPane(); log.debug("onInitial...
38,553
protected void onInitialize() { log.debug("onInitialize", new Exception("Stacktrace")); desktopFrame = new JFrame(""); log.debug("onInitialize.1"); desktopFrame.setSize(getScreenSize().width, getScreenSize().height); log.debug("onInitialize.2"); desktop = new JDesktopPane()...
protected void onInitialize() { log.debug("onInitialize", new Exception("Stacktrace")); desktopFrame = new JFrame(""); log.debug("onInitialize.1"); desktopFrame.setSize(getScreenSize().width, getScreenSize().height); log.debug("onInitialize.2"); desktop = new JDesktopPane()...
38,554
protected void onInitialize() { log.debug("onInitialize", new Exception("Stacktrace")); desktopFrame = new JFrame(""); log.debug("onInitialize.1"); desktopFrame.setSize(getScreenSize().width, getScreenSize().height); log.debug("onInitialize.2"); desktop = new JDesktopPane()...
protected void onInitialize() { log.debug("onInitialize", new Exception("Stacktrace")); desktopFrame = new JFrame(""); log.debug("onInitialize.1"); desktopFrame.setSize(getScreenSize().width, getScreenSize().height); log.debug("onInitialize.2"); desktop = new JDesktopPane()...
38,555
protected void installKeyboardActions() throws NotImplementedException { // FIXME: Need to implement }
protected void installKeyboardActions() { // FIXME: Need to implement }
38,556
protected void installKeyboardActions() throws NotImplementedException { // FIXME: Need to implement }
protected void installKeyboardActions() throws NotImplementedException { // FIXME: Need to implement }
38,557
protected void uninstallKeyboardActions() throws NotImplementedException { // FIXME: Need to implement }
protected void uninstallKeyboardActions() { // FIXME: Need to implement }
38,558
protected void uninstallKeyboardActions() throws NotImplementedException { // FIXME: Need to implement }
protected void uninstallKeyboardActions() throws NotImplementedException { // FIXME: Need to implement }
38,559
private void notifyNode(DomEvent e, DomNode current, boolean capture, ListenerRecord[] notificationSet) { int count = 0; // do any of this set of listeners get notified? for (int i = 0; i < current.nListeners; i++) { List...
private void notifyNode(DomEvent e, DomNode current, boolean capture, ListenerRecord[] notificationSet) { int count = 0; // do any of this set of listeners get notified? for (int i = 0; i < current.nListeners; i++) { List...
38,560
private void notifyNode(DomEvent e, DomNode current, boolean capture, ListenerRecord[] notificationSet) { int count = 0; // do any of this set of listeners get notified? for (int i = 0; i < current.nListeners; i++) { List...
private void notifyNode(DomEvent e, DomNode current, boolean capture, ListenerRecord[] notificationSet) { int count = 0; // do any of this set of listeners get notified? for (int i = 0; i < current.nListeners; i++) { List...
38,561
private void notifyNode(DomEvent e, DomNode current, boolean capture, ListenerRecord[] notificationSet) { int count = 0; // do any of this set of listeners get notified? for (int i = 0; i < current.nListeners; i++) { List...
private void notifyNode(DomEvent e, DomNode current, boolean capture, ListenerRecord[] notificationSet) { int count = 0; // do any of this set of listeners get notified? for (int i = 0; i < current.nListeners; i++) { List...
38,562
public String toString() { return "lastGCTime " + lastGCTime + "\n" + "lastMarkDuration " + lastMarkDuration + "\n" + "lastSweepDuration " + lastSweepDuration + "\n" + "lastCleanupDuration " + lastCleanupDuration + "\n" + "lastMarkedObjects " + ...
public String toString() { return "lastGCTime " + lastGCTime + "\n" + "lastMarkDuration " + lastMarkDuration + "\n" + "lastSweepDuration " + lastSweepDuration + "\n" + "lastCleanupDuration " + lastCleanupDuration + "\n" + "lastMarkedObjects " + ...
38,563
public String toString() { return "lastGCTime " + lastGCTime + "\n" + "lastMarkDuration " + lastMarkDuration + "\n" + "lastSweepDuration " + lastSweepDuration + "\n" + "lastCleanupDuration " + lastCleanupDuration + "\n" + "lastMarkedObjects " + ...
public String toString() { return "lastGCTime " + lastGCTime + "\n" + "lastMarkDuration " + lastMarkDuration + "\n" + "lastSweepDuration " + lastSweepDuration + "\n" + "lastCleanupDuration " + lastCleanupDuration + "\n" + "lastMarkedObjects " + ...
38,564
public UnicastRef() {}
public UnicastRef() {}
38,565