bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride * x + scanlineStride * y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th... | public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride * x + scanlineStride * y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th... | 32,124 |
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride * x + scanlineStride * y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th... | public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride * x + scanlineStride * y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th... | 32,125 |
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride * x + scanlineStride * y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th... | public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride * x + scanlineStride * y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th... | 32,126 |
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride * x + scanlineStride * y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th... | public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride * x + scanlineStride * y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th... | 32,127 |
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride * x + scanlineStride * y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th... | public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride * x + scanlineStride * y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th... | 32,128 |
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride * x + scanlineStride * y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th... | public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride * x + scanlineStride * y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th... | 32,129 |
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride * x + scanlineStride * y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th... | public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride * x + scanlineStride * y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th... | 32,130 |
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride * x + scanlineStride * y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th... | public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride * x + scanlineStride * y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th... | 32,131 |
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride * x + scanlineStride * y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th... | public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride * x + scanlineStride * y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th... | 32,132 |
public final int getNumDataElements() { return numBands; } | public final int getNumDataElements() { return numBands; } | 32,133 |
public int getOffset(int x, int y) { return getOffset(x, y, 0); } | public int getOffset(int x, int y) { return getOffset(x, y, 0); } | 32,134 |
public int[] getPixel(int x, int y, int[] iArray, DataBuffer data) { int offset = pixelStride * x + scanlineStride * y; if (iArray == null) iArray = new int[numBands]; for (int b = 0; b < numBands; b++) { iArray[b] = data.getElem(bankIndices[b], offset + bandOffsets[b]); } return iArray; } | public int[] getPixel(int x, int y, int[] iArray, DataBuffer data) { int offset = pixelStride * x + scanlineStride * y; if (iArray == null) iArray = new int[numBands]; for (int b = 0; b < numBands; b++) { iArray[b] = data.getElem(bankIndices[b], offset + bandOffsets[b]); } return iArray; } | 32,135 |
public final int getPixelStride() { return pixelStride; } | public final int getPixelStride() { return pixelStride; } | 32,136 |
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int offset = pixelStride * x + scanlineStride * y; if (iArray == null) iArray = new int[numBands * w * h]; int outOffset = 0; for (y = 0; y < h; y++) { int lineOffset = offset; for (x = 0; x < w; x++) { for (int b = 0; b <... | public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int offset = pixelStride * x + scanlineStride * y; if (iArray == null) iArray = new int[numBands * w * h]; int outOffset = 0; for (y = 0; y < h; y++) { int lineOffset = offset; for (x = 0; x < w; x++) { for (int b = 0; b <... | 32,137 |
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int offset = pixelStride * x + scanlineStride * y; if (iArray == null) iArray = new int[numBands * w * h]; int outOffset = 0; for (y = 0; y < h; y++) { int lineOffset = offset; for (x = 0; x < w; x++) { for (int b = 0; b <... | public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int offset = pixelStride * x + scanlineStride * y; if (iArray == null) iArray = new int[numBands * w * h]; int outOffset = 0; for (y = 0; y < h; y++) { int lineOffset = offset; for (x = 0; x < w; x++) { for (int b = 0; b <... | 32,138 |
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int offset = pixelStride * x + scanlineStride * y; if (iArray == null) iArray = new int[numBands * w * h]; int outOffset = 0; for (y = 0; y < h; y++) { int lineOffset = offset; for (x = 0; x < w; x++) { for (int b = 0; b <... | public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int offset = pixelStride * x + scanlineStride * y; if (iArray == null) iArray = new int[numBands * w * h]; int outOffset = 0; for (y = 0; y < h; y++) { int lineOffset = offset; for (x = 0; x < w; x++) { for (int b = 0; b <... | 32,139 |
public int getSample(int x, int y, int b, DataBuffer data) { return data.getElem(bankIndices[b], getOffset(x, y, b)); } | public int getSample(int x, int y, int b, DataBuffer data) { return data.getElem(bankIndices[b], getOffset(x, y, b)); } | 32,140 |
public final int[] getSampleSize() { int size = DataBuffer.getDataTypeSize(getDataType()); int[] sizes = new int[numBands]; java.util.Arrays.fill(sizes, size); return sizes; } | public final int[] getSampleSize() { int size = DataBuffer.getDataTypeSize(getDataType()); int[] sizes = new int[numBands]; java.util.Arrays.fill(sizes, size); return sizes; } | 32,141 |
public final int getScanlineStride() { return scanlineStride; } | public final int getScanlineStride() { return scanlineStride; } | 32,142 |
public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w * numBands; //int dataSize = rowSize * h; //DataBuffer transferBuffer = Buffers... | public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w * numBands; //int dataSize = rowSize * h; //DataBuffer transferBuffer = Buffers... | 32,143 |
public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w * numBands; //int dataSize = rowSize * h; //DataBuffer transferBuffer = Buffers... | public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w * numBands; //int dataSize = rowSize * h; //DataBuffer transferBuffer = Buffers... | 32,144 |
public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w * numBands; //int dataSize = rowSize * h; //DataBuffer transferBuffer = Buffers... | publicDataBuffer transferBuffer = Buffers.createBufferFromData(getTransferType(), obj, dataSize); voidDataBuffer transferBuffer = Buffers.createBufferFromData(getTransferType(), obj, dataSize); setDataElements(intDataBuffer transferBuffer = Buffers.createBufferFromData(getTransferType(), obj, dataSize); x,DataBuffer t... | 32,145 |
public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w * numBands; //int dataSize = rowSize * h; //DataBuffer transferBuffer = Buffers... | public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w * numBands; //int dataSize = rowSize * h; //DataBuffer transferBuffer = Buffers... | 32,146 |
public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w * numBands; //int dataSize = rowSize * h; //DataBuffer transferBuffer = Buffers... | public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w * numBands; //int dataSize = rowSize * h; //DataBuffer transferBuffer = Buffers... | 32,147 |
public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w * numBands; //int dataSize = rowSize * h; //DataBuffer transferBuffer = Buffers... | public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w * numBands; //int dataSize = rowSize * h; //DataBuffer transferBuffer = Buffers... | 32,148 |
public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w * numBands; //int dataSize = rowSize * h; //DataBuffer transferBuffer = Buffers... | public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w * numBands; //int dataSize = rowSize * h; //DataBuffer transferBuffer = Buffers... | 32,149 |
public void setPixel(int x, int y, int[] iArray, DataBuffer data) { int offset = pixelStride * x + scanlineStride * y; for (int b = 0; b < numBands; b++) data.setElem(bankIndices[b], offset + bandOffsets[b], iArray[b]); } | public void setPixel(int x, int y, int[] iArray, DataBuffer data) { int offset = pixelStride * x + scanlineStride * y; for (int b = 0; b < numBands; b++) data.setElem(bankIndices[b], offset + bandOffsets[b], iArray[b]); } | 32,150 |
public void setSample(int x, int y, int b, int s, DataBuffer data) { data.setElem(bankIndices[b], getOffset(x, y, b), s); } | public void setSample(int x, int y, int b, int s, DataBuffer data) { data.setElem(bankIndices[b], getOffset(x, y, b), s); } | 32,151 |
protected AccessibleJMenu(JMenu component) { super(component); } | protected AccessibleJMenu() { super(component); } | 32,152 |
protected AccessibleJMenu(JMenu component) { super(component); } | protected AccessibleJMenu(JMenu component) { } | 32,153 |
public WinListener(JMenu value0, JPopupMenu value1) { } | public WinListener(JPopupMenu popup) { } | 32,154 |
public void windowClosing(WindowEvent value0) { } | public void windowClosing(WindowEvent event) { } | 32,155 |
protected PropertyChangeListener createActionChangeListener(JMenuItem item) { return null; } | protected PropertyChangeListener createActionChangeListener(JMenuItem item) { return new ActionChangedListener(item); } | 32,158 |
protected JMenuItem createActionComponent(Action action) { return null; } | protected JMenuItem createActionComponent(Action action) { return new JMenuItem(action); } | 32,159 |
private ChangeListener createMenuChangeListener() { return null; } | private ChangeListener createMenuChangeListener() { return new MenuChangeListener(); } | 32,160 |
protected JMenu.WinListener createWinListener(JPopupMenu popup) { return null; } | protected WinListener createWinListener(JPopupMenu popup) { return null; } | 32,161 |
protected JMenu.WinListener createWinListener(JPopupMenu popup) { return null; } | protected JMenu.WinListener createWinListener(JPopupMenu popup) { return new WinListener(popup); } | 32,162 |
protected void fireMenuCanceled() { EventListener[] ll = listenerList.getListeners(MenuListener.class); for (int i = 0; i < ll.length; i++) ((MenuListener) ll[i]).menuCanceled(new MenuEvent(this)); } | protected void fireMenuCanceled() { EventListener[] ll = listenerList.getListeners(MenuListener.class); for (int i = 0; i < ll.length; i++) ((MenuListener) ll[i]).menuCanceled(menuEvent); } | 32,164 |
protected void fireMenuDeselected() { EventListener[] ll = listenerList.getListeners(MenuListener.class); for (int i = 0; i < ll.length; i++) ((MenuListener) ll[i]).menuDeselected(new MenuEvent(this)); } | protected void fireMenuDeselected() { EventListener[] ll = listenerList.getListeners(MenuListener.class); for (int i = 0; i < ll.length; i++) ((MenuListener) ll[i]).menuDeselected(menuEvent); } | 32,165 |
protected void fireMenuSelected() { EventListener[] ll = listenerList.getListeners(MenuListener.class); for (int i = 0; i < ll.length; i++) ((MenuListener) ll[i]).menuSelected(new MenuEvent(this)); } | protected void fireMenuSelected() { EventListener[] ll = listenerList.getListeners(MenuListener.class); for (int i = 0; i < ll.length; i++) ((MenuListener) ll[i]).menuSelected(menuEvent); } | 32,166 |
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJMenu(this); return accessibleContext; } | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJMenu(); return accessibleContext; } | 32,167 |
public int getItemCount() { return 0; } | public int getItemCount() { return getComponents().length; } | 32,169 |
public void insert(String text, int index) { popupMenu.insert(new JMenuItem(text), index); } | public void insert(String text, int index) { this.insert(new JMenuItem(text), index); } | 32,170 |
public boolean isSelected() { return super.isSelected(); } | public boolean isSelected() { return super.isArmed(); } | 32,172 |
public void setAccelerator(KeyStroke keystroke) { super.setAccelerator(keystroke); } | public void setAccelerator(KeyStroke keystroke) { throw new Error("setAccelerator() is not defined for JMenu. Use setMnemonic() instead."); } | 32,175 |
public void setMenuLocation(int x, int y) { popupMenu.setLocation(x, y); } | public void setMenuLocation(int x, int y) { menuLocation = new Point(x, y); } | 32,177 |
public void setPopupMenuVisible(boolean popup) { if (isEnabled()) popupMenu.setVisible(popup); } | public void setPopupMenuVisible(boolean popup) { if (getModel().isEnabled()) popupMenu.setVisible(popup); } | 32,178 |
public void setSelected(boolean selected) { super.setSelected(selected); } | public void setSelected(boolean selected) { super.setArmed(true); fireMenuSelected(); } | 32,179 |
private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; } ... | private EMSA_PKCS1_V1_5(final IMessageDigest hash) super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) prefix = MD5_PREFIX; } else... | 32,180 |
private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; } ... | private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; el... | 32,181 |
private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; } ... | private EMSA_PKCS1_V1_5(final IMessageDigest hash) super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) prefix = MD5_PREFIX; } else... | 32,182 |
private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; } ... | private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; el... | 32,183 |
private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; } ... | private EMSA_PKCS1_V1_5(final IMessageDigest hash) super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) prefix = MD5_PREFIX; } else... | 32,184 |
private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; } ... | private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; el... | 32,185 |
private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; } ... | private EMSA_PKCS1_V1_5(final IMessageDigest hash) super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) prefix = MD5_PREFIX; } else... | 32,186 |
private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; } ... | private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; el... | 32,187 |
private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; } ... | private EMSA_PKCS1_V1_5(final IMessageDigest hash) super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) prefix = MD5_PREFIX; } else... | 32,188 |
private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; } ... | private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; el... | 32,189 |
private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; } ... | private EMSA_PKCS1_V1_5(final IMessageDigest hash) super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) prefix = MD5_PREFIX; } else... | 32,190 |
private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; } ... | private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; el... | 32,191 |
private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; } ... | private EMSA_PKCS1_V1_5(final IMessageDigest hash) super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) prefix = MD5_PREFIX; } else... | 32,192 |
private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; } else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; } ... | private EMSA_PKCS1_V1_5(final IMessageDigest hash) { super(); this.hash = hash; hLen = hash.hashSize(); final String name = hash.name(); if (name.equals(Registry.MD2_HASH)) { prefix = MD2_PREFIX; else if (name.equals(Registry.MD5_HASH)) { prefix = MD5_PREFIX; el... | 32,193 |
public byte[] encode(final byte[] mHash, final int emLen) { // 1. Apply the hash function to the message M to produce a hash value // H: H = Hash(M). // If the hash function outputs "message too long," output "message // too long" and stop. // 2. Encode the algorithm ID for the hash function ... | public byte[] encode(final byte[] mHash, final int emLen) // 1. Apply the hash function to the message M to produce a hash value // H: H = Hash(M). // If the hash function outputs "message too long," output "message // too long" and stop. // 2. Encode the algorithm ID for the hash function an... | 32,194 |
public byte[] encode(final byte[] mHash, final int emLen) { // 1. Apply the hash function to the message M to produce a hash value // H: H = Hash(M). // If the hash function outputs "message too long," output "message // too long" and stop. // 2. Encode the algorithm ID for the hash function ... | public byte[] encode(final byte[] mHash, final int emLen) { // 1. Apply the hash function to the message M to produce a hash value // H: H = Hash(M). // If the hash function outputs "message too long," output "message // too long" and stop. // 2. Encode the algorithm ID for the hash function ... | 32,195 |
public byte[] encode(final byte[] mHash, final int emLen) { // 1. Apply the hash function to the message M to produce a hash value // H: H = Hash(M). // If the hash function outputs "message too long," output "message // too long" and stop. // 2. Encode the algorithm ID for the hash function ... | public byte[] encode(final byte[] mHash, final int emLen) // 1. Apply the hash function to the message M to produce a hash value // H: H = Hash(M). // If the hash function outputs "message too long," output "message // too long" and stop. // 2. Encode the algorithm ID for the hash function an... | 32,196 |
public byte[] encode(final byte[] mHash, final int emLen) { // 1. Apply the hash function to the message M to produce a hash value // H: H = Hash(M). // If the hash function outputs "message too long," output "message // too long" and stop. // 2. Encode the algorithm ID for the hash function ... | public byte[] encode(final byte[] mHash, final int emLen) { // 1. Apply the hash function to the message M to produce a hash value // H: H = Hash(M). // If the hash function outputs "message too long," output "message // too long" and stop. // 2. Encode the algorithm ID for the hash function ... | 32,197 |
public static final EMSA_PKCS1_V1_5 getInstance(final String mdName) { final IMessageDigest hash = HashFactory.getInstance(mdName); final String name = hash.name(); if (!(name.equals(Registry.MD2_HASH) || name.equals(Registry.MD5_HASH) || name.equals(Registry.SHA160_HASH) || name.equals(Re... | public static final EMSA_PKCS1_V1_5 getInstance(final String mdName) { final IMessageDigest hash = HashFactory.getInstance(mdName); final String name = hash.name(); if (! (name.equals(Registry.MD2_HASH) || name.equals(Registry.MD5_HASH) || name.equals(Registry.SHA160_HASH) || name.equals(R... | 32,198 |
public static final EMSA_PKCS1_V1_5 getInstance(final String mdName) { final IMessageDigest hash = HashFactory.getInstance(mdName); final String name = hash.name(); if (!(name.equals(Registry.MD2_HASH) || name.equals(Registry.MD5_HASH) || name.equals(Registry.SHA160_HASH) || name.equals(Re... | public static final EMSA_PKCS1_V1_5 getInstance(final String mdName) { final IMessageDigest hash = HashFactory.getInstance(mdName); final String name = hash.name(); if (!(name.equals(Registry.MD2_HASH) || name.equals(Registry.MD5_HASH) || name.equals(Registry.SHA160_HASH) || name.equals(Re... | 32,199 |
public static final EMSA_PKCS1_V1_5 getInstance(final String mdName) { final IMessageDigest hash = HashFactory.getInstance(mdName); final String name = hash.name(); if (!(name.equals(Registry.MD2_HASH) || name.equals(Registry.MD5_HASH) || name.equals(Registry.SHA160_HASH) || name.equals(Re... | public static final EMSA_PKCS1_V1_5 getInstance(final String mdName) { final IMessageDigest hash = HashFactory.getInstance(mdName); final String name = hash.name(); if (!(name.equals(Registry.MD2_HASH) || name.equals(Registry.MD5_HASH) || name.equals(Registry.SHA160_HASH) || name.equals(Re... | 32,200 |
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof DSAPrivateKeySpec) { DSAPrivateKeySpec spec = (DSAPrivateKeySpec) keySpec; BigInteger p = spec.getP(); BigInteger q = spec.getQ(); BigInteger g = spec.getG(); ... | protectedPrivateKeyengineGeneratePrivate(KeySpeckeySpec)throwsInvalidKeySpecException{if(keySpecinstanceofDSAPrivateKeySpec){DSAPrivateKeySpecspec=(DSAPrivateKeySpec)keySpec;BigIntegerp=spec.getP();BigIntegerq=spec.getQ();BigIntegerg=spec.getG();BigIntegerx=spec.getX();returnnewDSSPrivateKey(Registry.PKCS8_ENCODING_ID,... | 32,201 |
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof DSAPrivateKeySpec) { DSAPrivateKeySpec spec = (DSAPrivateKeySpec) keySpec; BigInteger p = spec.getP(); BigInteger q = spec.getQ(); BigInteger g = spec.getG(); ... | protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof DSAPrivateKeySpec) { DSAPrivateKeySpec spec = (DSAPrivateKeySpec) keySpec; BigInteger p = spec.getP(); BigInteger q = spec.getQ(); BigInteger g = spec.getG(); ... | 32,202 |
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof DSAPrivateKeySpec) { DSAPrivateKeySpec spec = (DSAPrivateKeySpec) keySpec; BigInteger p = spec.getP(); BigInteger q = spec.getQ(); BigInteger g = spec.getG(); ... | protectedPrivateKeyengineGeneratePrivate(KeySpeckeySpec)throwsInvalidKeySpecException{if(keySpecinstanceofDSAPrivateKeySpec){DSAPrivateKeySpecspec=(DSAPrivateKeySpec)keySpec;BigIntegerp=spec.getP();BigIntegerq=spec.getQ();BigIntegerg=spec.getG();BigIntegerx=spec.getX();returnnewDSSPrivateKey(Registry.PKCS8_ENCODING_ID,... | 32,203 |
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof DSAPublicKeySpec) { DSAPublicKeySpec spec = (DSAPublicKeySpec) keySpec; BigInteger p = spec.getP(); BigInteger q = spec.getQ(); BigInteger g = spec.getG(); ... | protectedPublicKeyengineGeneratePublic(KeySpeckeySpec)throwsInvalidKeySpecException{if(keySpecinstanceofDSAPublicKeySpec){DSAPublicKeySpecspec=(DSAPublicKeySpec)keySpec;BigIntegerp=spec.getP();BigIntegerq=spec.getQ();BigIntegerg=spec.getG();BigIntegery=spec.getY();returnnewDSSPublicKey(Registry.X509_ENCODING_ID,p,q,g,y... | 32,204 |
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof DSAPublicKeySpec) { DSAPublicKeySpec spec = (DSAPublicKeySpec) keySpec; BigInteger p = spec.getP(); BigInteger q = spec.getQ(); BigInteger g = spec.getG(); ... | protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof DSAPublicKeySpec) { DSAPublicKeySpec spec = (DSAPublicKeySpec) keySpec; BigInteger p = spec.getP(); BigInteger q = spec.getQ(); BigInteger g = spec.getG(); ... | 32,205 |
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof DSAPublicKeySpec) { DSAPublicKeySpec spec = (DSAPublicKeySpec) keySpec; BigInteger p = spec.getP(); BigInteger q = spec.getQ(); BigInteger g = spec.getG(); ... | protectedPublicKeyengineGeneratePublic(KeySpeckeySpec)throwsInvalidKeySpecException{if(keySpecinstanceofDSAPublicKeySpec){DSAPublicKeySpecspec=(DSAPublicKeySpec)keySpec;BigIntegerp=spec.getP();BigIntegerq=spec.getQ();BigIntegerg=spec.getG();BigIntegery=spec.getY();returnnewDSSPublicKey(Registry.X509_ENCODING_ID,p,q,g,y... | 32,206 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof DSAPublicKey) { if (keySpec.isAssignableFrom(DSAPublicKeySpec.class)) { DSAPublicKey dsaKey = (DSAPublicKey) key; BigInteger p = dsaKey.getParams().getP();... | protectedKeySpecengineGetKeySpec(Keykey,ClasskeySpec)throwsInvalidKeySpecException{if(keyinstanceofDSAPublicKey){if(keySpec.isAssignableFrom(DSAPublicKeySpec.class)){DSAPublicKeydsaKey=(DSAPublicKey)key;BigIntegerp=dsaKey.getParams().getP();BigIntegerq=dsaKey.getParams().getQ();BigIntegerg=dsaKey.getParams().getG();Big... | 32,207 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof DSAPublicKey) { if (keySpec.isAssignableFrom(DSAPublicKeySpec.class)) { DSAPublicKey dsaKey = (DSAPublicKey) key; BigInteger p = dsaKey.getParams().getP();... | protectedKeySpecengineGetKeySpec(Keykey,ClasskeySpec)throwsInvalidKeySpecException{if(keyinstanceofDSAPublicKey){if(keySpec.isAssignableFrom(DSAPublicKeySpec.class)){DSAPublicKeydsaKey=(DSAPublicKey)key;BigIntegerp=dsaKey.getParams().getP();BigIntegerq=dsaKey.getParams().getQ();BigIntegerg=dsaKey.getParams().getG();Big... | 32,208 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof DSAPublicKey) { if (keySpec.isAssignableFrom(DSAPublicKeySpec.class)) { DSAPublicKey dsaKey = (DSAPublicKey) key; BigInteger p = dsaKey.getParams().getP();... | protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof DSAPublicKey) { if (keySpec.isAssignableFrom(DSAPublicKeySpec.class)) { DSAPublicKey dsaKey = (DSAPublicKey) key; BigInteger p = dsaKey.getParams().getP();... | 32,209 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof DSAPublicKey) { if (keySpec.isAssignableFrom(DSAPublicKeySpec.class)) { DSAPublicKey dsaKey = (DSAPublicKey) key; BigInteger p = dsaKey.getParams().getP();... | protectedKeySpecengineGetKeySpec(Keykey,ClasskeySpec)throwsInvalidKeySpecException{if(keyinstanceofDSAPublicKey){if(keySpec.isAssignableFrom(DSAPublicKeySpec.class)){DSAPublicKeydsaKey=(DSAPublicKey)key;BigIntegerp=dsaKey.getParams().getP();BigIntegerq=dsaKey.getParams().getQ();BigIntegerg=dsaKey.getParams().getG();Big... | 32,210 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof DSAPublicKey) { if (keySpec.isAssignableFrom(DSAPublicKeySpec.class)) { DSAPublicKey dsaKey = (DSAPublicKey) key; BigInteger p = dsaKey.getParams().getP();... | protectedKeySpecengineGetKeySpec(Keykey,ClasskeySpec)throwsInvalidKeySpecException{if(keyinstanceofDSAPublicKey){if(keySpec.isAssignableFrom(DSAPublicKeySpec.class)){DSAPublicKeydsaKey=(DSAPublicKey)key;BigIntegerp=dsaKey.getParams().getP();BigIntegerq=dsaKey.getParams().getQ();BigIntegerg=dsaKey.getParams().getG();Big... | 32,211 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof DSAPublicKey) { if (keySpec.isAssignableFrom(DSAPublicKeySpec.class)) { DSAPublicKey dsaKey = (DSAPublicKey) key; BigInteger p = dsaKey.getParams().getP();... | protectedKeySpecengineGetKeySpec(Keykey,ClasskeySpec)throwsInvalidKeySpecException{if(keyinstanceofDSAPublicKey){if(keySpec.isAssignableFrom(DSAPublicKeySpec.class)){DSAPublicKeydsaKey=(DSAPublicKey)key;BigIntegerp=dsaKey.getParams().getP();BigIntegerq=dsaKey.getParams().getQ();BigIntegerg=dsaKey.getParams().getG();Big... | 32,212 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof DSAPublicKey) { if (keySpec.isAssignableFrom(DSAPublicKeySpec.class)) { DSAPublicKey dsaKey = (DSAPublicKey) key; BigInteger p = dsaKey.getParams().getP();... | protectedKeySpecengineGetKeySpec(Keykey,ClasskeySpec)throwsInvalidKeySpecException{if(keyinstanceofDSAPublicKey){if(keySpec.isAssignableFrom(DSAPublicKeySpec.class)){DSAPublicKeydsaKey=(DSAPublicKey)key;BigIntegerp=dsaKey.getParams().getP();BigIntegerq=dsaKey.getParams().getQ();BigIntegerg=dsaKey.getParams().getG();Big... | 32,213 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof DSAPublicKey) { if (keySpec.isAssignableFrom(DSAPublicKeySpec.class)) { DSAPublicKey dsaKey = (DSAPublicKey) key; BigInteger p = dsaKey.getParams().getP();... | protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof DSAPublicKey) { if (keySpec.isAssignableFrom(DSAPublicKeySpec.class)) { DSAPublicKey dsaKey = (DSAPublicKey) key; BigInteger p = dsaKey.getParams().getP();... | 32,214 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof DSAPublicKey) { if (keySpec.isAssignableFrom(DSAPublicKeySpec.class)) { DSAPublicKey dsaKey = (DSAPublicKey) key; BigInteger p = dsaKey.getParams().getP();... | protectedKeySpecengineGetKeySpec(Keykey,ClasskeySpec)throwsInvalidKeySpecException{if(keyinstanceofDSAPublicKey){if(keySpec.isAssignableFrom(DSAPublicKeySpec.class)){DSAPublicKeydsaKey=(DSAPublicKey)key;BigIntegerp=dsaKey.getParams().getP();BigIntegerq=dsaKey.getParams().getQ();BigIntegerg=dsaKey.getParams().getG();Big... | 32,215 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof DSAPublicKey) { if (keySpec.isAssignableFrom(DSAPublicKeySpec.class)) { DSAPublicKey dsaKey = (DSAPublicKey) key; BigInteger p = dsaKey.getParams().getP();... | protectedKeySpecengineGetKeySpec(Keykey,ClasskeySpec)throwsInvalidKeySpecException{if(keyinstanceofDSAPublicKey){if(keySpec.isAssignableFrom(DSAPublicKeySpec.class)){DSAPublicKeydsaKey=(DSAPublicKey)key;BigIntegerp=dsaKey.getParams().getP();BigIntegerq=dsaKey.getParams().getQ();BigIntegerg=dsaKey.getParams().getG();Big... | 32,216 |
protected Key engineTranslateKey(Key key) throws InvalidKeyException { if ((key instanceof DSSPublicKey) || (key instanceof DSSPrivateKey)) return key; if (key instanceof DSAPublicKey) { DSAPublicKey dsaKey = (DSAPublicKey) key; BigInteger p = dsaKey.getParams().getP(); BigIntege... | protectedKeyengineTranslateKey(Keykey)throwsInvalidKeyException{if((keyinstanceofDSSPublicKey)||(keyinstanceofDSSPrivateKey))returnkey;if(keyinstanceofDSAPublicKey){DSAPublicKeydsaKey=(DSAPublicKey)key;BigIntegerp=dsaKey.getParams().getP();BigIntegerq=dsaKey.getParams().getQ();BigIntegerg=dsaKey.getParams().getG();BigI... | 32,217 |
protected Key engineTranslateKey(Key key) throws InvalidKeyException { if ((key instanceof DSSPublicKey) || (key instanceof DSSPrivateKey)) return key; if (key instanceof DSAPublicKey) { DSAPublicKey dsaKey = (DSAPublicKey) key; BigInteger p = dsaKey.getParams().getP(); BigIntege... | protectedKeyengineTranslateKey(Keykey)throwsInvalidKeyException{if((keyinstanceofDSSPublicKey)||(keyinstanceofDSSPrivateKey))returnkey;if(keyinstanceofDSAPublicKey){DSAPublicKeydsaKey=(DSAPublicKey)key;BigIntegerp=dsaKey.getParams().getP();BigIntegerq=dsaKey.getParams().getQ();BigIntegerg=dsaKey.getParams().getG();BigI... | 32,218 |
public static NamingContext extract(Any a) { try { return ((NamingContextHolder) a.extract_Streamable()).value; } catch (ClassCastException ex) { throw new BAD_OPERATION("Naming context expected"); } } | public static NamingContext extract(Any a) { try { return ((NamingContextHolder) a.extract_Streamable()).value; } catch (ClassCastException ex) { BAD_OPERATION bad = new BAD_OPERATION("Naming context expected"); bad.initCause(ex); throw bad; } } | 32,219 |
public final int getAlpha(int pixel) { if (!hasAlpha()) return 0; return extractAndScaleSample(pixel, 3); } | public final int getAlpha(int pixel) { if (!hasAlpha()) return 0; return extractAndScaleSample(pixel, 3); } | 32,220 |
public PackedColorModel(ColorSpace cspace, int pixelBits, int rmask, int gmask, int bmask, int amask, boolean isAlphaPremultiplied, int transparency, int transferType) { this(cspace, pixelBits, makeColorMaskArray(rmask, gmask, bmask), amask, isAlphaPremultiplied, transparency, transferType); } | public PackedColorModel(ColorSpace cspace, int pixelBits, int rmask, int gmask, int bmask, int amask, boolean isAlphaPremultiplied, int transparency, int transferType) { this(cspace, pixelBits, makeColorMaskArray(rmask, gmask, bmask), amask, isAlphaPremultiplied, transparency, transferType); } | 32,221 |
public PackedColorModel(ColorSpace cspace, int pixelBits, int rmask, int gmask, int bmask, int amask, boolean isAlphaPremultiplied, int transparency, int transferType) { this(cspace, pixelBits, makeColorMaskArray(rmask, gmask, bmask), amask, isAlphaPremultiplied, transparency, transferType); } | public PackedColorModel(ColorSpace cspace, int pixelBits, int rmask, int gmask, int bmask, int amask, boolean isAlphaPremultiplied, int transparency, int transferType) { this(cspace, pixelBits, makeColorMaskArray(rmask, gmask, bmask), amask, isAlphaPremultiplied, transparency, transferType); } | 32,222 |
protected boolean accept (Component comp) { if (comp.visible && comp.isDisplayable () && comp.enabled) { if (comp.isFocusTraversableOverridden != 0 && comp.isFocusTraversable ()) return true; else { if (!(comp instanceof Canvas || comp instanceof Panel || comp instanceof Label || comp instan... | protected boolean accept (Component comp) { if (comp.visible && comp.isDisplayable () && comp.enabled) { if (comp.isFocusTraversableOverridden != 0 && comp.isFocusTraversable ()) return true; else { if (!(comp instanceof Canvas || comp instanceof Panel || comp instanceof Label || comp instan... | 32,223 |
protected boolean accept (Component comp) { if (comp.visible && comp.isDisplayable () && comp.enabled) { if (comp.isFocusTraversableOverridden != 0 && comp.isFocusTraversable ()) return true; else { if (!(comp instanceof Canvas || comp instanceof Panel || comp instanceof Label || comp instan... | protected boolean accept (Component comp) { if (comp.visible && comp.isDisplayable () && comp.enabled) { if (comp.isFocusTraversableOverridden != 0 && comp.isFocusTraversable ()) return true; else { if (!(comp instanceof Canvas || comp instanceof Panel || comp instanceof Label || comp instan... | 32,224 |
protected boolean accept (Component comp) { if (comp.visible && comp.isDisplayable () && comp.enabled) { if (comp.isFocusTraversableOverridden != 0 && comp.isFocusTraversable ()) return true; else { if (!(comp instanceof Canvas || comp instanceof Panel || comp instanceof Label || comp instan... | protected boolean accept (Component comp) { if (comp.visible && comp.isDisplayable () && comp.enabled) { if (comp.isFocusTraversableOverridden != 0 && comp.isFocusTraversable ()) return true; else { if (!(comp instanceof Canvas || comp instanceof Panel || comp instanceof Label || comp instan... | 32,225 |
public void checkPackageAccess(String packageName) { checkPackageList(packageName, "access", "accessClassInPackage."); } | public void checkPackageAccess(String packageName) { checkPackageList(packageName, "package.access", "accessClassInPackage."); } | 32,226 |
public void checkPackageDefinition(String packageName) { checkPackageList(packageName, "definition", "defineClassInPackage."); } | public void checkPackageDefinition(String packageName) { checkPackageList(packageName, "package.definition", "defineClassInPackage."); } | 32,227 |
void checkPackageList(String packageName, String restriction, String permission) { // Use the toString() hack to do the null check. Permission p = new RuntimePermission(permission + packageName.toString()); String list = Security.getProperty("package." + restriction); if ... | void checkPackageList(String packageName, final String restriction, String permission) { // Use the toString() hack to do the null check. Permission p = new RuntimePermission(permission + packageName.toString()); String list = Security.getProperty("package." + restriction); ... | 32,228 |
void checkPackageList(String packageName, String restriction, String permission) { // Use the toString() hack to do the null check. Permission p = new RuntimePermission(permission + packageName.toString()); String list = Security.getProperty("package." + restriction); if ... | void checkPackageList(String packageName, String restriction, String permission) { // Use the toString() hack to do the null check. Permission p = new RuntimePermission(permission + packageName.toString()); String list = Security.getProperty("package." + restriction); if ... | 32,229 |
void checkPackageList(String packageName, String restriction, String permission) { // Use the toString() hack to do the null check. Permission p = new RuntimePermission(permission + packageName.toString()); String list = Security.getProperty("package." + restriction); if ... | void checkPackageList(String packageName, String restriction, String permission) { // Use the toString() hack to do the null check. Permission p = new RuntimePermission(permission + packageName.toString()); String list = Security.getProperty("package." + restriction); if ... | 32,230 |
void checkPackageList(String packageName, String restriction, String permission) { // Use the toString() hack to do the null check. Permission p = new RuntimePermission(permission + packageName.toString()); String list = Security.getProperty("package." + restriction); if ... | void checkPackageList(String packageName, String restriction, String permission) { // Use the toString() hack to do the null check. Permission p = new RuntimePermission(permission + packageName.toString()); String list = Security.getProperty("package." + restriction); if ... | 32,231 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.