bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public Object run() throws IOException { // Get the API. final NetDeviceAPI api; try { api = (NetDeviceAPI) device.getAPI(NetDeviceAPI.class); } catch (ApiNotFoundException ex) { throw new NetworkException("Device is not...
public Object run() throws IOException { // Get the API. final NetDeviceAPI api; try { api = (NetDeviceAPI) device.getAPI(NetDeviceAPI.class); } catch (ApiNotFoundException ex) { throw new NetworkException("Device is not...
34,997
public Object run() throws IOException { // Get the API. final NetDeviceAPI api; try { api = (NetDeviceAPI) device.getAPI(NetDeviceAPI.class); } catch (ApiNotFoundException ex) { throw new NetworkException("Device is not...
public Object run() throws IOException { // Get the API. final NetDeviceAPI api; try { api = (NetDeviceAPI) device.getAPI(NetDeviceAPI.class); } catch (ApiNotFoundException ex) { throw new NetworkException("Device is not...
34,998
public Object run() throws IOException { // Get the API. final NetDeviceAPI api; try { api = (NetDeviceAPI) device.getAPI(NetDeviceAPI.class); } catch (ApiNotFoundException ex) { throw new NetworkException("Device is not...
public Object run() throws IOException { // Get the API. final NetDeviceAPI api; try { api = (NetDeviceAPI) device.getAPI(NetDeviceAPI.class); } catch (ApiNotFoundException ex) { throw new NetworkException("Device is not...
34,999
public Object run() throws IOException { // Get the API. final NetDeviceAPI api; try { api = (NetDeviceAPI) device.getAPI(NetDeviceAPI.class); } catch (ApiNotFoundException ex) { throw new NetworkException("Device is not...
public Object run() throws IOException { // Get the API. final NetDeviceAPI api; try { api = (NetDeviceAPI) device.getAPI(NetDeviceAPI.class); } catch (ApiNotFoundException ex) { throw new NetworkException("Device is not...
35,000
public Object run() throws IOException { // Get the API. final NetDeviceAPI api; try { api = (NetDeviceAPI) device.getAPI(NetDeviceAPI.class); } catch (ApiNotFoundException ex) { throw new NetworkException("Device is not...
public Object run() throws IOException { // Get the API. final NetDeviceAPI api; try { api = (NetDeviceAPI) device.getAPI(NetDeviceAPI.class); } catch (ApiNotFoundException ex) { throw new NetworkException("Device is not...
35,001
public Object run() throws IOException { // Get the API. final NetDeviceAPI api; try { api = (NetDeviceAPI) device.getAPI(NetDeviceAPI.class); } catch (ApiNotFoundException ex) { throw new NetworkException("Device is not...
public Object run() throws IOException { // Get the API. final NetDeviceAPI api; try { api = (NetDeviceAPI) device.getAPI(NetDeviceAPI.class); } catch (ApiNotFoundException ex) { throw new NetworkException("Device is not...
35,002
protected void configureNetwork(Device device, BOOTPHeader hdr) throws NetworkException { log.info("Got Client IP address : " + hdr.getClientIPAddress()); log.info("Got Your IP address : " + hdr.getYourIPAddress()); log.info("Got Server IP address : " + hdr.getServerIPAddress()); log.info("Got ...
protected void configureNetwork(Device device, BOOTPHeader hdr) throws NetworkException { log.info("Got Client IP address : " + hdr.getClientIPAddress()); log.info("Got Your IP address : " + hdr.getYourIPAddress()); log.info("Got Server IP address : " + hdr.getServerIPAddress()); log.info("Got ...
35,003
protected void configureNetwork(Device device, BOOTPHeader hdr) throws NetworkException { log.info("Got Client IP address : " + hdr.getClientIPAddress()); log.info("Got Your IP address : " + hdr.getYourIPAddress()); log.info("Got Server IP address : " + hdr.getServerIPAddress()); log.info("Got ...
protected void configureNetwork(Device device, BOOTPHeader hdr) throws NetworkException { log.info("Got Client IP address : " + hdr.getClientIPAddress()); log.info("Got Your IP address : " + hdr.getYourIPAddress()); log.info("Got Server IP address : " + hdr.getServerIPAddress()); log.info("Got ...
35,004
protected void configureNetwork(Device device, BOOTPHeader hdr) throws NetworkException { log.info("Got Client IP address : " + hdr.getClientIPAddress()); log.info("Got Your IP address : " + hdr.getYourIPAddress()); log.info("Got Server IP address : " + hdr.getServerIPAddress()); log.info("Got ...
protected void configureNetwork(Device device, BOOTPHeader hdr) throws NetworkException { log.info("Got Client IP address : " + hdr.getClientIPAddress()); log.info("Got Your IP address : " + hdr.getYourIPAddress()); log.info("Got Server IP address : " + hdr.getServerIPAddress()); log.info("Got ...
35,005
protected void configureNetwork(Device device, BOOTPHeader hdr) throws NetworkException { log.info("Got Client IP address : " + hdr.getClientIPAddress()); log.info("Got Your IP address : " + hdr.getYourIPAddress()); log.info("Got Server IP address : " + hdr.getServerIPAddress()); log.info("Got ...
protected void configureNetwork(Device device, BOOTPHeader hdr) throws NetworkException { log.info("Got Client IP address : " + hdr.getClientIPAddress()); log.info("Got Your IP address : " + hdr.getYourIPAddress()); log.info("Got Server IP address : " + hdr.getServerIPAddress()); log.info("Got ...
35,006
protected DatagramPacket createRequestPacket(BOOTPHeader hdr) throws IOException { return new BOOTPMessage(hdr).toDatagramPacket(); }
protected DatagramPacket createRequestPacket(BOOTPHeader hdr) throws IOException { return new BOOTPMessage(hdr).toDatagramPacket(); }
35,007
protected boolean processResponse(Device device, NetDeviceAPI api, int transactionID, DatagramPacket packet) throws IOException { final BOOTPHeader hdr = new BOOTPHeader(packet); if (hdr.getOpcode() != BOOTPHeader.BOOTREPLY) { // Not a response return false; }...
protected boolean processResponse(Device device, NetDeviceAPI api, int transactionID, DatagramPacket packet) throws IOException { final BOOTPHeader hdr = new BOOTPHeader(packet); if (hdr.getOpcode() != BOOTPHeader.BOOTREPLY) { // Not a response return false; }...
35,008
protected boolean processResponse(Device device, NetDeviceAPI api, int transactionID, DatagramPacket packet) throws IOException { final BOOTPHeader hdr = new BOOTPHeader(packet); if (hdr.getOpcode() != BOOTPHeader.BOOTREPLY) { // Not a response return false; }...
protected boolean processResponse(Device device, NetDeviceAPI api, int transactionID, DatagramPacket packet) throws IOException { final BOOTPHeader hdr = new BOOTPHeader(packet); if (hdr.getOpcode() != BOOTPHeader.BOOTREPLY) { // Not a response return false; }...
35,009
protected boolean processResponse(Device device, NetDeviceAPI api, int transactionID, DatagramPacket packet) throws IOException { final BOOTPHeader hdr = new BOOTPHeader(packet); if (hdr.getOpcode() != BOOTPHeader.BOOTREPLY) { // Not a response return false; }...
protected boolean processResponse(Device device, NetDeviceAPI api, int transactionID, DatagramPacket packet) throws IOException { final BOOTPHeader hdr = new BOOTPHeader(packet); if (hdr.getOpcode() != BOOTPHeader.BOOTREPLY) { // Not a response return false; }...
35,010
protected boolean processResponse(Device device, NetDeviceAPI api, int transactionID, DatagramPacket packet) throws IOException { final BOOTPHeader hdr = new BOOTPHeader(packet); if (hdr.getOpcode() != BOOTPHeader.BOOTREPLY) { // Not a response return false; }...
protected boolean processResponse(Device device, NetDeviceAPI api, int transactionID, DatagramPacket packet) throws IOException { final BOOTPHeader hdr = new BOOTPHeader(packet); if (hdr.getOpcode() != BOOTPHeader.BOOTREPLY) { // Not a response return false; }...
35,011
public void updateUI() { setUI((ScrollBarUI) UIManager.getUI(this)); invalidate(); repaint(); }
public void updateUI() { setUI((ScrollBarUI) UIManager.getUI(this)); invalidate(); repaint(); }
35,012
public void mousePressed(MouseEvent e) { Point click = e.getPoint(); TreePath path = getClosestPathForLocation(tree, click.x, click.y); if (path != null) { bounds = getPathBounds(tree, path); int row = getRowForPath(tree, path); boolean cntlClick = isLocationInExp...
public void mousePressed(MouseEvent e) { Point click = e.getPoint(); TreePath path = getClosestPathForLocation(tree, click.x, click.y); if (path != null) { bounds = getPathBounds(tree, path); int row = getRowForPath(tree, path); boolean cntlClick = isLocationInExp...
35,013
int paintRecursive(Graphics g, int indentation, int descent, int depth, JTree tree, TreeModel mod, Object curr) { Rectangle clip = tree.getVisibleRect(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent; ...
int paintRecursive(Graphics g, int indentation, int descent, int depth, JTree tree, TreeModel mod, Object curr) { Rectangle clip = tree.getVisibleRect(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent; ...
35,015
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelect...
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelect...
35,017
void updateCurrentVisiblePath() { Object next = treeModel.getRoot(); Rectangle bounds = getCellBounds(0, 0, next); // If root is not a valid size to be visible, or is // not visible and the tree is expanded, then the next node acts // as the root if ((bounds.width == 0 && bounds.height == 0) ||...
voidupdateCurrentVisiblePath(){Objectnext=treeModel.getRoot();Rectanglebounds=getCellBounds(0,0,next);//Ifrootisnotavalidsizetobevisible,oris//notvisibleandthetreeisexpanded,thenthenextnodeacts//astherootif((bounds.width==0&&bounds.height==0)||(!isRootVisible()&&tree.isExpanded(newTreePath(next))))next=getNextNode(next...
35,019
void updateCurrentVisiblePath() { Object next = treeModel.getRoot(); Rectangle bounds = getCellBounds(0, 0, next); // If root is not a valid size to be visible, or is // not visible and the tree is expanded, then the next node acts // as the root if ((bounds.width == 0 && bounds.height == 0) ||...
void updateCurrentVisiblePath() { Object next = treeModel.getRoot(); Rectangle bounds = getCellBounds(0, 0, next); // If root is not a valid size to be visible, or is // not visible and the tree is expanded, then the next node acts // as the root if ((bounds.width == 0 && bounds.height == 0) ||...
35,020
private ByteBuffer duplicate(boolean readOnly) { int pos = position(); // @classpath-bugfix Changed mark detection //reset(); //int mark = position(); //position(pos); int mark = this.mark; // @classpath-bugfix-end DirectByteBufferImpl result; if (readOnly) result = new DirectByteBufferImpl....
private ByteBuffer duplicate(boolean readOnly) { int pos = position(); // @classpath-bugfix Changed mark detection //reset(); //int mark = position(); //position(pos); int mark = this.mark; // @classpath-bugfix-end DirectByteBufferImpl result; if (readOnly) result = new DirectByteBufferImpl....
35,021
private ByteBuffer duplicate(boolean readOnly) { int pos = position(); // @classpath-bugfix Changed mark detection //reset(); //int mark = position(); //position(pos); int mark = this.mark; // @classpath-bugfix-end DirectByteBufferImpl result; if (readOnly) result = new DirectByteBufferImpl....
private ByteBuffer duplicate(boolean readOnly) { int pos = position(); // @classpath-bugfix Changed mark detection //reset(); //int mark = position(); //position(pos); int mark = this.mark; // @classpath-bugfix-end DirectByteBufferImpl result; if (readOnly) result = new DirectByteBufferImpl....
35,022
public HeapHelperImpl(VmArchitecture arch) { if (Vm.getVm() != null) { throw new SecurityException( "Cannot instantiate HeapHelpImpl at runtime"); } final int refSize = arch.getReferenceSize(); flagsOffset = ObjectLayout.FLAGS_SLOT * refSize; tibOffset = ObjectLayout.TIB_S...
public HeapHelperImpl(VmArchitecture arch) { if (Vm.getVm() != null) { throw new SecurityException( "Cannot instantiate HeapHelpImpl at runtime"); } final int refSize = arch.getReferenceSize(); flagsOffset = ObjectLayout.FLAGS_SLOT * refSize; }
35,023
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Double(0.3), new Double(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arra...
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Float(0.3), new Float(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arrays...
35,024
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Double(0.3), new Double(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arra...
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Float(0.3), new Float(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arrays...
35,025
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Double(0.3), new Double(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arra...
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Float(0.3), new Float(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arrays...
35,026
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Double(0.3), new Double(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arra...
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Double(0.3), new Double(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arra...
35,027
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Double(0.3), new Double(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arra...
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Float(0.3), new Float(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arrays...
35,028
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Double(0.3), new Double(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arra...
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Float(0.3), new Float(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arrays...
35,029
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Double(0.3), new Double(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arra...
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Double(0.3), new Double(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arra...
35,030
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Double(0.3), new Double(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arra...
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Double(0.3), new Double(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arra...
35,031
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Double(0.3), new Double(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arra...
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Float(0.3), new Float(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arrays...
35,032
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Double(0.3), new Double(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arra...
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Float(0.3), new Float(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arrays...
35,033
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Double(0.3), new Double(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arra...
ColorUIResource c1 = new ColorUIResource(200, 221, 242); ColorUIResource c2 = new ColorUIResource(153, 153, 153); ColorUIResource c3 = new ColorUIResource(204, 204, 204); ColorUIResource c4 = new ColorUIResource(210, 226, 239); ColorUIResource c5 = new ColorUIResource(218, 218, 218); defaults.put("Button.disabledToolB...
35,034
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Double(0.3), new Double(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arra...
public void addCustomEntriesToTable(UIDefaults defaults) { defaults.put("Button.gradient", Arrays.asList(new Object[] {new Double(0.3), new Double(0.0), new ColorUIResource(221, 232, 243), new ColorUIResource(Color.WHITE), new ColorUIResource(184, 207, 229)})); defaults.put("CheckBox.gradient", Arra...
35,035
public ImageIcon(String s) { // if description is not specified, then file name becomes // desciption for this icon this(s, s); }
publicImageIcon(Strings){ //ifdescriptionisnotspecified,thenfilenamebecomes //desciptionforthisicon this(s,s);}
35,036
public String getDescription() { return descr; }
public String getDescription() { return descr; }
35,037
public int getIconHeight() { return image.getHeight(observer); }
public int getIconHeight() { return image.getHeight(observer); }
35,038
public int getIconWidth() { return image.getWidth(observer); }
public int getIconWidth() { return image.getWidth(observer); }
35,039
public Image getImage() { return image; }
public Image getImage() { return image; }
35,040
public void paintIcon(Component c, Graphics g, int x, int y) { g.drawImage(image, x, y, observer); }
public void paintIcon(Component c, Graphics g, int x, int y) { g.drawImage(image, x, y, observer); }
35,041
public void setDescription(String description) { this.descr = description; }
public void setDescription(String description) { this.descr = description; }
35,042
public abstract void read(cdrInput in);
public abstract void read(cdrInput in);
35,043
public abstract void write(cdrOutput out);
public abstract void write(cdrOutput out);
35,044
public Document createDocument(String namespaceURI, String rootName, DocumentType doctype) { Document doc = new DomDocument(this); Element root = null; if (rootName != null) { root = doc.createElementNS(namespaceURI, rootName); ...
public Document createDocument(String namespaceURI, String rootName, DocumentType doctype) { Document doc = createDocument(); Element root = null; if (rootName != null) { root = doc.createElementNS(namespaceURI, rootName); ...
35,045
public InvalidTypeForEncoding(String why) { super(why); }
public InvalidTypeForEncoding() { super(why); }
35,048
public InvalidTypeForEncoding(String why) { super(why); }
public InvalidTypeForEncoding(String why) { }
35,049
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ...
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ...
35,050
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ...
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ...
35,051
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ...
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ...
35,052
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ...
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ...
35,053
print(Graphics graphics, PageFormat format, int page_number) throws PrinterException;
int print(Graphics graphics, PageFormat format, int page_number) throws PrinterException;
35,054
protected byte[] getResult() { // apply inverse mu to the context byte[] result = new byte[] { (byte) (H0 >>> 56), (byte) (H0 >>> 48), (byte) (H0 >>> 40), (byte) (H0 >>> 32), (byte) (H0 >>> 24), (byte) (H0 >>> 16), (by...
protected byte[] getResult() { // apply inverse mu to the context byte[] result = new byte[] { (byte) (H0 >>> 56), (byte) (H0 >>> 48), (byte) (H0 >>> 40), (byte) (H0 >>> 32), (byte) (H0 >>> 24), (byte) (H0 >>> 16), (by...
35,055
protected byte[] padBuffer() { // [WHIRLPOOL] p. 6: // "...padded with a 1-bit, then with as few 0-bits as necessary to // obtain a bit string whose length is an odd multiple of 256, and // finally with the 256-bit right-justified binary representation of L." // in this implementation we use 'count' a...
protected byte[] padBuffer() { // [WHIRLPOOL] p. 6: // "...padded with a 1-bit, then with as few 0-bits as necessary to // obtain a bit string whose length is an odd multiple of 256, and // finally with the 256-bit right-justified binary representation of L." // in this implementation we use 'count' a...
35,056
protected byte[] padBuffer() { // [WHIRLPOOL] p. 6: // "...padded with a 1-bit, then with as few 0-bits as necessary to // obtain a bit string whose length is an odd multiple of 256, and // finally with the 256-bit right-justified binary representation of L." // in this implementation we use 'count' a...
protected byte[] padBuffer() { // [WHIRLPOOL] p. 6: // "...padded with a 1-bit, then with as few 0-bits as necessary to // obtain a bit string whose length is an odd multiple of 256, and // finally with the 256-bit right-justified binary representation of L." // in this implementation we use 'count' a...
35,057
public boolean selfTest() { if (valid == null) { valid = new Boolean( DIGEST0.equals(Util.toString(new Whirlpool().digest()))); } return valid.booleanValue(); }
public boolean selfTest() { if (valid == null) { valid = new Boolean( DIGEST0.equals(Util.toString(new Whirlpool().digest()))); } return valid.booleanValue(); }
35,058
protected void transform(byte[] in, int offset) { // apply mu to the input n0 = (in[offset++] & 0xFFL) << 56 | (in[offset++] & 0xFFL) << 48 | (in[offset++] & 0xFFL) << 40 | (in[offset++] & 0xFFL) << 32 | (in[offset++] & 0xFFL) << 24 | (in[offset++] & 0xFFL) << 16 | (in[offset++] & 0xFFL...
protected void transform(byte[] in, int offset) { // apply mu to the input n0 = (in[offset++] & 0xFFL) << 56 | (in[offset++] & 0xFFL) << 48 | (in[offset++] & 0xFFL) << 40 | (in[offset++] & 0xFFL) << 32 | (in[offset++] & 0xFFL) << 24 | (in[offset++] & 0xFFL) << 16 | (in[offset++] & 0xFFL...
35,059
protected void transform(byte[] in, int offset) { // apply mu to the input n0 = (in[offset++] & 0xFFL) << 56 | (in[offset++] & 0xFFL) << 48 | (in[offset++] & 0xFFL) << 40 | (in[offset++] & 0xFFL) << 32 | (in[offset++] & 0xFFL) << 24 | (in[offset++] & 0xFFL) << 16 | (in[offset++] & 0xFFL...
protected void transform(byte[] in, int offset) { // apply mu to the input n0 = (in[offset++] & 0xFFL) << 56 | (in[offset++] & 0xFFL) << 48 | (in[offset++] & 0xFFL) << 40 | (in[offset++] & 0xFFL) << 32 | (in[offset++] & 0xFFL) << 24 | (in[offset++] & 0xFFL) << 16 | (in[offset++] & 0xFFL...
35,060
protected void transform(byte[] in, int offset) { // apply mu to the input n0 = (in[offset++] & 0xFFL) << 56 | (in[offset++] & 0xFFL) << 48 | (in[offset++] & 0xFFL) << 40 | (in[offset++] & 0xFFL) << 32 | (in[offset++] & 0xFFL) << 24 | (in[offset++] & 0xFFL) << 16 | (in[offset++] & 0xFFL...
protected void transform(byte[] in, int offset) { // apply mu to the input n0 = (in[offset++] & 0xFFL) << 56 | (in[offset++] & 0xFFL) << 48 | (in[offset++] & 0xFFL) << 40 | (in[offset++] & 0xFFL) << 32 | (in[offset++] & 0xFFL) << 24 | (in[offset++] & 0xFFL) << 16 | (in[offset++] & 0xFFL...
35,061
public char[] getPassword() { return null; // TODO }
public char[] getPassword() { return new char[0]; // TODO }
35,062
private void writeObject(ObjectOutputStream stream) throws IOException { // TODO }
private void writeObject(ObjectOutputStream stream) throws IOException { // TODO }
35,063
protected final int getDataLength(int status) throws InvalidMidiDataException { int originalStatus = status; if ((status & 0xF0) != 0xF0) status &= 0xF0; switch (status) { case NOTE_OFF: case NOTE_ON: case POLY_PRESSURE: case CONTROL_CHANGE: case PITCH_BEND: case SO...
protected final int getDataLength(int status) throws InvalidMidiDataException { int originalStatus = status; if ((status & 0xF0) != 0xF0) status &= 0xF0; switch (status) { case NOTE_OFF: case NOTE_ON: case POLY_PRESSURE: case CONTROL_CHANGE: case PITCH_BEND: case SO...
35,064
public IndexColorModel(int bits, int size, byte[] reds, byte[] greens, byte[] blues) { this (bits, size, reds, greens, blues, (byte[]) null); }
public IndexColorModel(int bits, int size, byte[] reds, byte[] greens, byte[] blues) { this (bits, size, reds, greens, blues, (byte[]) null); }
35,065
public final int getAlpha (int pixel) { if (opaque || pixel >= map_size) return 255; return (int) ((generateMask (3) & rgb[pixel]) >> (3 * pixel_bits)); }
public final int getAlpha(int pixel) { if (opaque || pixel >= map_size) return 255; return (int) ((generateMask (3) & rgb[pixel]) >> (3 * pixel_bits)); }
35,066
public final int getAlpha (int pixel) { if (opaque || pixel >= map_size) return 255; return (int) ((generateMask (3) & rgb[pixel]) >> (3 * pixel_bits)); }
public final int getAlpha (int pixel) { if (opaque && pixel != trans) return 255; return (int) ((generateMask (3) & rgb[pixel]) >> (3 * pixel_bits)); }
35,067
public final int getAlpha (int pixel) { if (opaque || pixel >= map_size) return 255; return (int) ((generateMask (3) & rgb[pixel]) >> (3 * pixel_bits)); }
public final int getAlpha (int pixel) { if (opaque || pixel >= map_size) return 255; return (int) ((generateMask (3) & rgb[pixel]) >> (3 * pixel_bits)); }
35,068
public final void getAlphas (byte[] a) { getComponents (a, 3); }
public final void getAlphas(byte[] a) { getComponents (a, 3); }
35,069
public final void getAlphas (byte[] a) { getComponents (a, 3); }
public final void getAlphas (byte[] a) { getComponents (a, 3); }
35,070
public final int getBlue (int pixel) { if (pixel < map_size) return (int) (generateMask (0) & rgb[pixel]); return 0; }
public final int getBlue(int pixel) { if (pixel < map_size) return (int) (generateMask (0) & rgb[pixel]); return 0; }
35,071
public final int getBlue (int pixel) { if (pixel < map_size) return (int) (generateMask (0) & rgb[pixel]); return 0; }
public final int getBlue (int pixel) { if (pixel < map_size) return 0x000000FF & rgb[pixel]; return 0; }
35,072
public final void getBlues (byte[] b) { getComponents (b, 0); }
public final void getBlues(byte[] b) { getComponents (b, 0); }
35,073
public final void getBlues (byte[] b) { getComponents (b, 0); }
public final void getBlues (byte[] b) { getComponents (b, 0); }
35,074
public final int getGreen (int pixel) { if (pixel < map_size) return (int) ((generateMask (1) & rgb[pixel]) >> (1 * pixel_bits)); return 0; }
public final int getGreen(int pixel) { if (pixel < map_size) return (int) ((generateMask (1) & rgb[pixel]) >> (1 * pixel_bits)); return 0; }
35,075
public final int getGreen (int pixel) { if (pixel < map_size) return (int) ((generateMask (1) & rgb[pixel]) >> (1 * pixel_bits)); return 0; }
public final int getGreen (int pixel) { if (pixel < map_size) return (0x0000FF00 & rgb[pixel]) >> 8; return 0; }
35,076
public final void getGreens (byte[] g) { getComponents (g, 1); }
public final void getGreens(byte[] g) { getComponents (g, 1); }
35,077
public final void getGreens (byte[] g) { getComponents (g, 1); }
public final void getGreens (byte[] g) { getComponents (g, 1); }
35,078
public final int getMapSize () { return map_size; }
public final int getMapSize() { return map_size; }
35,079
public final int getRGB (int pixel) { if (pixel >= 0 && pixel < map_size) return rgb[pixel]; return 0; }
public final int getRGB(int pixel) { if (pixel >= 0 && pixel < map_size) return rgb[pixel]; return 0; }
35,080
public final void getRGBs (int[] rgb) { System.arraycopy(this.rgb, 0, rgb, 0, map_size); }
public final void getRGBs(int[] rgb) { System.arraycopy(this.rgb, 0, rgb, 0, map_size); }
35,081
public final int getRed (int pixel) { if (pixel < map_size) return (int) ((generateMask (2) & rgb[pixel]) >> (2 * pixel_bits)); return 0; }
public final int getRed(int pixel) { if (pixel < map_size) return (int) ((generateMask (2) & rgb[pixel]) >> (2 * pixel_bits)); return 0; }
35,082
public final int getRed (int pixel) { if (pixel < map_size) return (int) ((generateMask (2) & rgb[pixel]) >> (2 * pixel_bits)); return 0; }
public final int getRed (int pixel) { if (pixel < map_size) return (0x00FF0000 & rgb[pixel]) >> 16; return 0; }
35,083
public final void getReds (byte[] r) { getComponents (r, 2); }
public final void getReds(byte[] r) { getComponents (r, 2); }
35,084
public final void getReds (byte[] r) { getComponents (r, 2); }
public final void getReds (byte[] r) { getComponents (r, 2); }
35,085
public final int getTransparentPixel () { return trans; }
public final int getTransparentPixel() { return trans; }
35,086
public PrinterJob() { }
public PrinterJob() { }
35,088
public abstract void cancel();
public abstract void cancel();
35,089
public PageFormat defaultPage() { return (new PageFormat()); }
public PageFormat defaultPage() { return (new PageFormat()); }
35,090
public abstract int getCopies();
public abstract int getCopies();
35,091
public abstract String getJobName();
public abstract String getJobName();
35,092
public static PrinterJob getPrinterJob() { // FIXME: Need to fix this to load a default implementation instance. return (null); }
public static PrinterJob getPrinterJob() { // FIXME: Need to fix this to load a default implementation instance. return (null); }
35,093
public static PrinterJob getPrinterJob() { // FIXME: Need to fix this to load a default implementation instance. return (null); }
public static PrinterJob getPrinterJob() { // FIXME: Need to fix this to load a default implementation instance. return (null); }
35,094
public abstract String getUserName();
public abstract String getUserName();
35,095
public abstract boolean isCancelled();
public abstract boolean isCancelled();
35,096
public abstract PageFormat pageDialog(PageFormat page_format);
public abstract PageFormat pageDialog(PageFormat page_format);
35,097
public abstract void print();
public abstract void print();
35,098
public abstract boolean printDialog();
public abstract boolean printDialog();
35,099
public abstract void setCopies();
public abstract void setCopies();
35,100
public abstract String setJobName(String job_name);
public abstract String setJobName(String job_name);
35,101
public abstract void setPageable(Pageable pageable);
public abstract void setPageable(Pageable pageable);
35,102