bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
protected GridBagLayoutInfo GetLayoutInfo (Container parent, int sizeflag) { if (sizeflag != MINSIZE && sizeflag != PREFERREDSIZE) throw new IllegalArgumentException(); Dimension parentDim = parent.getSize (); Insets parentInsets = parent.getInsets (); parentDim.width -= parentInsets.l...
protectedGridBagLayoutInfoGetLayoutInfo(Containerparent,intsizeflag){if(sizeflag!=MINSIZE&&sizeflag!=PREFERREDSIZE)thrownewIllegalArgumentException();DimensionparentDim=parent.getSize();InsetsparentInsets=parent.getInsets();parentDim.width-=parentInsets.left+parentInsets.right;parentDim.height-=parentInsets.top+parentI...
30,898
protected GridBagLayoutInfo GetLayoutInfo (Container parent, int sizeflag) { if (sizeflag != MINSIZE && sizeflag != PREFERREDSIZE) throw new IllegalArgumentException(); Dimension parentDim = parent.getSize (); Insets parentInsets = parent.getInsets (); parentDim.width -= parentInsets.l...
protectedGridBagLayoutInfoGetLayoutInfo(Containerparent,intsizeflag){if(sizeflag!=MINSIZE&&sizeflag!=PREFERREDSIZE)thrownewIllegalArgumentException();DimensionparentDim=parent.getSize();InsetsparentInsets=parent.getInsets();parentDim.width-=parentInsets.left+parentInsets.right;parentDim.height-=parentInsets.top+parentI...
30,899
protected GridBagLayoutInfo GetLayoutInfo (Container parent, int sizeflag) { if (sizeflag != MINSIZE && sizeflag != PREFERREDSIZE) throw new IllegalArgumentException(); Dimension parentDim = parent.getSize (); Insets parentInsets = parent.getInsets (); parentDim.width -= parentInsets.l...
protected GridBagLayoutInfo GetLayoutInfo (Container parent, int sizeflag) { if (sizeflag != MINSIZE && sizeflag != PREFERREDSIZE) throw new IllegalArgumentException(); Dimension parentDim = parent.getSize (); Insets parentInsets = parent.getInsets (); parentDim.width -= parentInsets.l...
30,900
private void distributeSizeAndWeight (int size, double weight, int start, int span, int[] sizes, double[] weights) { if (span == 1) { sizes[start] = Math.max(sizes[start], size); weights[start] = Math....
private void distributeSizeAndWeight (int size, double weight, int start, int span, int[] sizes, double[] weights) { if (span == 1) { sizes[start] = Math.max(sizes[start], size); weights[start] = Math....
30,901
public void propertyChange(PropertyChangeEvent e) { super.propertyChange(e); if (e.getPropertyName().equals( AbstractButton.ROLLOVER_ENABLED_CHANGED_PROPERTY)) { AbstractButton b = (AbstractButton) e.getSource(); if (b.getBorder() instanceof UIResource) { if (B...
public void propertyChange(PropertyChangeEvent e) { super.propertyChange(e); if (e.getPropertyName().equals( AbstractButton.ROLLOVER_ENABLED_CHANGED_PROPERTY)) { AbstractButton b = (AbstractButton) e.getSource(); if (b.getBorder() instanceof UIResource) { if (B...
30,902
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tab...
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tab...
30,903
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tab...
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { int index = tabForCoordinate(tabPane, e.getX(), e.getY()); if (index >= 0 && tabPane.isEnable...
30,904
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tab...
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tab...
30,905
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tab...
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tab...
30,906
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tab...
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tab...
30,907
public void calculateLayoutInfo() { assureRectsCreated(tabPane.getTabCount()); contentRect = SwingUtilities.calculateInnerArea(tabPane, contentRect); calculateTabRects(tabPane.getTabPlacement(), tabPane.getTabCount()); if (tabPane.getSelectedIndex() != -1) { Component visible ...
public void calculateLayoutInfo() { assureRectsCreated(tabPane.getTabCount()); contentRect = SwingUtilities.calculateInnerArea(tabPane, contentRect); calculateTabRects(tabPane.getTabPlacement(), tabPane.getTabCount()); if (tabPane.getSelectedIndex() != -1) { Component visible ...
30,908
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ...
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ...
30,909
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ...
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ...
30,910
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ...
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ...
30,911
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ...
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ...
30,912
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ...
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ...
30,913
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ...
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ...
30,914
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
30,915
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
30,916
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
30,917
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
30,918
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
30,919
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
30,920
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
30,921
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
30,922
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
30,923
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
30,924
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
30,925
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
30,926
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
30,927
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
30,928
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i...
30,929
protected int calculateTabHeight(int tabPlacement, int tabIndex, int fontHeight) { Icon icon = getIconForTab(tabIndex); Insets insets = getTabInsets(tabPlacement, tabIndex); int height = 0; if (icon != null) { Rectangle vr = new Rectangle(); Rectangle ...
protected int calculateTabHeight(int tabPlacement, int tabIndex, int fontHeight) { Icon icon = getIconForTab(tabIndex); Insets insets = getTabInsets(tabPlacement, tabIndex); int height = 0; if (icon != null) { Rectangle vr = new Rectangle(); Rectangle ...
30,931
protected int calculateTabHeight(int tabPlacement, int tabIndex, int fontHeight) { Icon icon = getIconForTab(tabIndex); Insets insets = getTabInsets(tabPlacement, tabIndex); int height = 0; if (icon != null) { Rectangle vr = new Rectangle(); Rectangle ...
protected int calculateTabHeight(int tabPlacement, int tabIndex, int fontHeight) { Icon icon = getIconForTab(tabIndex); Insets insets = getTabInsets(tabPlacement, tabIndex); int height = 0; if (icon != null) { Rectangle vr = new Rectangle(); Rectangle ...
30,932
protected Insets getTabInsets(int tabPlacement, int tabIndex) { Insets target = new Insets(0, 0, 0, 0); rotateInsets(tabInsets, target, tabPlacement); return target; }
protected Insets getTabInsets(int tabPlacement, int tabIndex) { Insets target = new Insets(0, 0, 0, 0); rotateInsets(tabInsets, target, tabPlacement); return target; }
30,933
protected void paintContentBorder(Graphics g, int tabPlacement, int selectedIndex) { int x = contentRect.x; int y = contentRect.y; int w = contentRect.width; int h = contentRect.height; paintContentBorderTopEdge(g, tabPlacement, selectedIndex, x, y, w, h); paintCo...
protected void paintContentBorder(Graphics g, int tabPlacement, int selectedIndex) { int x = contentRect.x; int y = contentRect.y; int w = contentRect.width; int h = contentRect.height; paintContentBorderTopEdge(g, tabPlacement, selectedIndex, x, y, w, h); paintCo...
30,936
protected void paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected) { Color saved = g.getColor(); calcRect = icon...
protected void paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected) { Color saved = g.getColor(); calcRect = icon...
30,937
protected void paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected) { Color saved = g.getColor(); calcRect = icon...
protected void paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected) { Color saved = g.getColor(); calcRect = icon...
30,938
protected void paintTab(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect) { FontMetrics fm = getFontMetrics(); Icon icon = getIconForTab(tabIndex); String title = tabPane.getTitleAt(tabIndex); boolean isSelected = tabIndex == t...
protected void paintTab(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect) { FontMetrics fm = getFontMetrics(); Icon icon = getIconForTab(tabIndex); String title = tabPane.getTitleAt(tabIndex); boolean isSelected = tabIndex == t...
30,939
protected void paintTab(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect) { FontMetrics fm = getFontMetrics(); Icon icon = getIconForTab(tabIndex); String title = tabPane.getTitleAt(tabIndex); boolean isSelected = tabIndex == t...
protected void paintTab(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect) { FontMetrics fm = getFontMetrics(); Icon icon = getIconForTab(tabIndex); String title = tabPane.getTitleAt(tabIndex); boolean isSelected = tabIndex == t...
30,940
protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex) { Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle(); boolean isScroll = tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT; // Please note: the ordering of the painting is important. // we WANT to pai...
protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex) { Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle(); boolean isScroll = tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT; // Please note: the ordering of the painting is important. // we WANT to pai...
30,942
protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex) { Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle(); boolean isScroll = tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT; // Please note: the ordering of the painting is important. // we WANT to pai...
protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex) { Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle(); boolean isScroll = tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT; // Please note: the ordering of the painting is important. // we WANT to pai...
30,943
protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex) { Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle(); boolean isScroll = tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT; // Please note: the ordering of the painting is important. // we WANT to pai...
protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex) { Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle(); boolean isScroll = tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT; // Please note: the ordering of the painting is important. // we WANT to pai...
30,944
protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex) { Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle(); boolean isScroll = tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT; // Please note: the ordering of the painting is important. // we WANT to pai...
protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex) { Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle(); boolean isScroll = tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT; // Please note: the ordering of the painting is important. // we WANT to pai...
30,945
protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex) { Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle(); boolean isScroll = tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT; // Please note: the ordering of the painting is important. // we WANT to pai...
protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex) { Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle(); boolean isScroll = tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT; // Please note: the ordering of the painting is important. // we WANT to pai...
30,946
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { View textView = getTextViewForTab(tabIndex); if (textView != null) { textView.paint(g, tex...
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { View textView = getTextViewForTab(tabIndex); if (textView != null) { textView.paint(g, tex...
30,947
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { View textView = getTextViewForTab(tabIndex); if (textView != null) { textView.paint(g, tex...
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { View textView = getTextViewForTab(tabIndex); if (textView != null) { textView.paint(g, tex...
30,948
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { View textView = getTextViewForTab(tabIndex); if (textView != null) { textView.paint(g, tex...
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { View textView = getTextViewForTab(tabIndex); if (textView != null) { textView.paint(g, tex...
30,949
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { View textView = getTextViewForTab(tabIndex); if (textView != null) { textView.paint(g, tex...
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { View textView = getTextViewForTab(tabIndex); if (textView != null) { textView.paint(g, tex...
30,950
public int tabForCoordinate(JTabbedPane pane, int x, int y) { Point p = new Point(x, y); int tabCount = tabPane.getTabCount(); int currRun = 1; for (int i = 0; i < runCount; i++) { int first = lastTabInRun(tabCount, getPreviousTabRun(currRun)) + 1; if (first == tabCount) first...
public int tabForCoordinate(JTabbedPane pane, int x, int y) { if (! tabPane.isValid()) tabPane.validate(); int tabCount = tabPane.getTabCount(); int currRun = 1; for (int i = 0; i < runCount; i++) { int first = lastTabInRun(tabCount, getPreviousTabRun(currRun)) + 1; if (first == tabCo...
30,951
public int tabForCoordinate(JTabbedPane pane, int x, int y) { Point p = new Point(x, y); int tabCount = tabPane.getTabCount(); int currRun = 1; for (int i = 0; i < runCount; i++) { int first = lastTabInRun(tabCount, getPreviousTabRun(currRun)) + 1; if (first == tabCount) first...
public int tabForCoordinate(JTabbedPane pane, int x, int y) { Point p = new Point(x, y); int tabCount = tabPane.getTabCount(); int currRun = 1; for (int i = 0; i < runCount; i++) { int first = lastTabInRun(tabCount, getPreviousTabRun(currRun)) + 1; if (first == tabCount) first...
30,952
public int tabForCoordinate(JTabbedPane pane, int x, int y) { Point p = new Point(x, y); int tabCount = tabPane.getTabCount(); int currRun = 1; for (int i = 0; i < runCount; i++) { int first = lastTabInRun(tabCount, getPreviousTabRun(currRun)) + 1; if (first == tabCount) first...
public int tabForCoordinate(JTabbedPane pane, int x, int y) { Point p = new Point(x, y); int tabCount = tabPane.getTabCount(); int currRun = 1; for (int i = 0; i < runCount; i++) { int first = lastTabInRun(tabCount, getPreviousTabRun(currRun)) + 1; if (first == tabCount) first...
30,953
public int tabForCoordinate(JTabbedPane pane, int x, int y) { Point p = new Point(x, y); int tabCount = tabPane.getTabCount(); int currRun = 1; for (int i = 0; i < runCount; i++) { int first = lastTabInRun(tabCount, getPreviousTabRun(currRun)) + 1; if (first == tabCount) first...
public int tabForCoordinate(JTabbedPane pane, int x, int y) { Point p = new Point(x, y); int tabCount = tabPane.getTabCount(); int currRun = 1; for (int i = 0; i < runCount; i++) { int first = lastTabInRun(tabCount, getPreviousTabRun(currRun)) + 1; if (first == tabCount) first...
30,954
public int tabForCoordinate(JTabbedPane pane, int x, int y) { Point p = new Point(x, y); int tabCount = tabPane.getTabCount(); int currRun = 1; for (int i = 0; i < runCount; i++) { int first = lastTabInRun(tabCount, getPreviousTabRun(currRun)) + 1; if (first == tabCount) first...
public int tabForCoordinate(JTabbedPane pane, int x, int y) { Point p = new Point(x, y); int tabCount = tabPane.getTabCount(); int currRun = 1; for (int i = 0; i < runCount; i++) { int first = lastTabInRun(tabCount, getPreviousTabRun(currRun)) + 1; if (first == tabCount) first...
30,955
public int tabForCoordinate(JTabbedPane pane, int x, int y) { Point p = new Point(x, y); int tabCount = tabPane.getTabCount(); int currRun = 1; for (int i = 0; i < runCount; i++) { int first = lastTabInRun(tabCount, getPreviousTabRun(currRun)) + 1; if (first == tabCount) first...
public int tabForCoordinate(JTabbedPane pane, int x, int y) { Point p = new Point(x, y); int tabCount = tabPane.getTabCount(); int currRun = 1; for (int i = 0; i < runCount; i++) { int first = lastTabInRun(tabCount, getPreviousTabRun(currRun)) + 1; if (first == tabCount) first...
30,956
protected void uninstallDefaults() { calcRect = null; tabAreaRect = null; contentRect = null; tabRuns = null; contentBorderInsets = null; tabAreaInsets = null; selectedTabPadInsets = null; tabInsets = null; focus = null; darkShadow = null; shadow = null; lightHighlight = null; ...
protected void uninstallDefaults() { calcRect = null; tabAreaRect = null; contentRect = null; tabRuns = null; contentBorderInsets = null; tabAreaInsets = null; selectedTabPadInsets = null; tabInsets = null; focus = null; darkShadow = null; shadow = null; lightHighlight = null; ...
30,957
public byte[] encodePublicKey(PublicKey key) { log.entering(this.getClass().getName(), "encodePublicKey()", key); if (! (key instanceof GnuRSAPublicKey)) throw new InvalidParameterException("key"); DERValue derOID = new DERValue(DER.OBJECT_IDENTIFIER, RSA_ALG_OID); GnuRSAPublicKey rsaKey = (GnuRSAPu...
public byte[] encodePublicKey(PublicKey key) { log.entering(this.getClass().getName(), "encodePublicKey()", key); if (! (key instanceof GnuRSAPublicKey)) throw new InvalidParameterException("key"); DERValue derOID = new DERValue(DER.OBJECT_IDENTIFIER, RSA_ALG_OID); GnuRSAPublicKey rsaKey = (GnuRSAPu...
30,965
private void parseExtra() { // Already parsed? if ((known & KNOWN_EXTRA) != 0) return; if (extra == null) { known |= KNOWN_EXTRA; return; } try { int pos = 0; while (pos < extra.length) { int sig = (extra[pos++] & 0xff) | (extra[pos++] & 0xff) << 8; int len = (extra...
private void parseExtra() { // Already parsed? if ((known & KNOWN_EXTRA) != 0) if (extra == null) { known |= KNOWN_EXTRA; } try { int pos = 0; while (pos < extra.length) { int sig = (extra[pos++] & 0xff) | (extra[pos++] & 0xff) << 8; int len = (extra[pos++] & 0xff) ...
30,967
public static NameComponent extract(Any a) { try { return ((NameComponentHolder) a.extract_Streamable()).value; } catch (ClassCastException ex) { throw new BAD_OPERATION("Name component expected"); } }
public static NameComponent extract(Any a) { try { return ((NameComponentHolder) a.extract_Streamable()).value; } catch (ClassCastException ex) { BAD_OPERATION bad = new BAD_OPERATION("Name component expected"); bad.initCause(ex); throw bad; } }
30,969
VmArrayClass(String name, AbstractVmClassLoader loader, boolean primitive, VmType componentType, int typeSize) { super(name, getObjectClass(), loader, primitive, typeSize); this.componentType = componentType; testClassType(); }
VmArrayClass(String name, AbstractVmClassLoader loader, boolean primitive, VmType componentType, int typeSize) { super(name, getObjectClass(), loader, primitive, typeSize); this.componentType = componentType; testClassType(); }
30,970
final VmArrayClass getArrayClass(boolean link) { if (arrayClass == null) { arrayClass = createArrayClass(link, null); } return arrayClass; }
final VmArrayClass getArrayClass(boolean link) { if (arrayClass == null) { arrayClass = createArrayClass(link, null); } return arrayClass; }
30,971
final VmArrayClass getArrayClass(boolean link) { if (arrayClass == null) { arrayClass = createArrayClass(link, null); } return arrayClass; }
final VmArrayClass getArrayClass(boolean link) { if (arrayClass == null) { arrayClass = createArrayClass(link, null); } return arrayClass; }
30,972
public Info(String name, String vendor, String description, String version) { this.name = name; this.vendor = vendor; this.description = description; this.version = version; }
protected Info(String name, String vendor, String description, String version) { this.name = name; this.vendor = vendor; this.description = description; this.version = version; }
30,973
public boolean equals(Object obj) { return super.equals(obj); }
public final boolean equals(Object obj) { return super.equals(obj); }
30,974
public String getDescription() { return description; }
public final String getDescription() { return description; }
30,975
public String getName() { return name; }
public final String getName() { return name; }
30,976
public String getVendor() { return vendor; }
public final String getVendor() { return vendor; }
30,977
public String getVersion() { return version; }
public final String getVersion() { return version; }
30,978
public int hashCode() { return super.hashCode(); }
public final int hashCode() { return super.hashCode(); }
30,979
public String toString() { return name; }
public final String toString() { return name; }
30,980
private static final void checkTag(int value_tag) { if ((value_tag < 0x7fffff00 || value_tag > 0x7fffffff) && value_tag != vt_NULL && value_tag != vt_INDIRECTION ) throw new MARSHAL("Invalid value record, unsupported header tag: " + value_tag ); }
private static final void checkTag(int value_tag) { if ((value_tag < 0x7fffff00 || value_tag > 0x7fffffff) && value_tag != vt_NULL && value_tag != vt_INDIRECTION ) throw new MARSHAL("Invalid value record, unsupported header tag: " + value_tag ); }
30,981
static void incorrect_plug_in(Throwable ex) throws NO_IMPLEMENT { NO_IMPLEMENT no = new NO_IMPLEMENT("Incorrect CORBA plug-in"); no.initCause(ex); throw no; }
static void incorrect_plug_in(Throwable ex) throws NO_IMPLEMENT { NO_IMPLEMENT no = new NO_IMPLEMENT("Incorrect CORBA plug-in"); no.initCause(ex); throw no; }
30,982
private static void write_instance(OutputStream output, Serializable value, String id, Object helper ) { // This implementation always writes a single repository id. // It never writes multiple repository ids and currently does not use /...
private static void write_instance(OutputStream output, Serializable value, String id, Object helper ) { // This implementation always writes a single repository id. // It never writes multiple repository ids and currently does not use /...
30,983
private static void write_instance(OutputStream output, Serializable value, String id, Object helper ) { // This implementation always writes a single repository id. // It never writes multiple repository ids and currently does not use /...
private static void write_instance(OutputStream output, Serializable value, String id, Object helper ) { // This implementation always writes a single repository id. // It never writes multiple repository ids and currently does not use /...
30,984
public void layoutContainer(Container c) { if (glassPaneBounds == null || layeredPaneBounds == null || contentPaneBounds == null || menuBarBounds == null) { Insets i = getInsets(); int containerWidth = c.getBounds().width - i.left - i.right; int containerHeight = c...
public void layoutContainer(Container c) { if (glassPaneBounds == null || layeredPaneBounds == null || contentPaneBounds == null || menuBarBounds == null) { Insets i = getInsets(); int containerWidth = c.getBounds().width - i.left - i.right; int containerHeight = c...
30,987
public Dimension preferredLayoutSize(Container c) { Dimension prefSize = new Dimension(); Insets i = getInsets(); prefSize = new Dimension(i.left + i.right, i.top + i.bottom); Dimension contentPrefSize = contentPane.getPreferredSize(); prefSize.width += co...
public Dimension preferredLayoutSize(Container c) { Dimension prefSize = new Dimension(); Insets i = getInsets(); prefSize = new Dimension(i.left + i.right, i.top + i.bottom); Dimension contentPrefSize = getContentPane().getPreferredSize(); prefSize.width ...
30,988
public boolean isHeadlessInstance() { return false; }
public boolean isHeadlessInstance() { return false; }
30,989
private void encryptBlock(byte[] in, int off) { for (int i = 0; i < BLOCK_LENGTH; i++) { byte b = in[off + i]; work[BLOCK_LENGTH + i] = b; work[BLOCK_LENGTH * 2 + i] = (byte) (work[i] ^ b); } byte t = 0; for (int i = 0; i < 18; i++) { for (int j = 0; j < 3 * BLOCK_...
private void encryptBlock(byte[] in, int off) { for (int i = 0; i < BLOCK_LENGTH; i++) { byte b = in[off + i]; work[BLOCK_LENGTH + i] = b; work[BLOCK_LENGTH * 2 + i] = (byte)(work[i] ^ b); } byte t = 0; for (int i = 0; i < 18; i++) { for (int j = 0; j < 3 * BLOCK_L...
30,990
private void encryptBlock(byte[] in, int off) { for (int i = 0; i < BLOCK_LENGTH; i++) { byte b = in[off + i]; work[BLOCK_LENGTH + i] = b; work[BLOCK_LENGTH * 2 + i] = (byte) (work[i] ^ b); } byte t = 0; for (int i = 0; i < 18; i++) { for (int j = 0; j < 3 * BLOCK_...
privatevoidencryptBlock(byte[]in,intoff){for(inti=0;i<BLOCK_LENGTH;i++){byteb=in[off+i];work[BLOCK_LENGTH+i]=b;work[BLOCK_LENGTH*2+i]=(byte)(work[i]^b);}bytet=0;for(inti=0;i<18;i++){for(intj=0;j<3*BLOCK_LENGTH;j++){//t=(byte)((work[j]&0xFF)^(PI[t&0xFF]&0xFF));t=(byte)(work[j]^PI[t&0xFF]);work[j]=t;}//t=(byte)((t+i)&0xF...
30,991
private void encryptBlock(byte[] in, int off) { for (int i = 0; i < BLOCK_LENGTH; i++) { byte b = in[off + i]; work[BLOCK_LENGTH + i] = b; work[BLOCK_LENGTH * 2 + i] = (byte) (work[i] ^ b); } byte t = 0; for (int i = 0; i < 18; i++) { for (int j = 0; j < 3 * BLOCK_...
private void encryptBlock(byte[] in, int off) { for (int i = 0; i < BLOCK_LENGTH; i++) { byte b = in[off + i]; work[BLOCK_LENGTH + i] = b; work[BLOCK_LENGTH * 2 + i] = (byte) (work[i] ^ b); } byte t = 0; for (int i = 0; i < 18; i++) { for (int j = 0; j < 3 * BLOCK_...
30,992
private void encryptBlock(byte[] in, int off) { for (int i = 0; i < BLOCK_LENGTH; i++) { byte b = in[off + i]; work[BLOCK_LENGTH + i] = b; work[BLOCK_LENGTH * 2 + i] = (byte) (work[i] ^ b); } byte t = 0; for (int i = 0; i < 18; i++) { for (int j = 0; j < 3 * BLOCK_...
private void encryptBlock(byte[] in, int off) { for (int i = 0; i < BLOCK_LENGTH; i++) { byte b = in[off + i]; work[BLOCK_LENGTH + i] = b; work[BLOCK_LENGTH * 2 + i] = (byte) (work[i] ^ b); } byte t = 0; for (int i = 0; i < 18; i++) { for (int j = 0; j < 3 * BLOCK_...
30,993
protected byte[] getResult() { byte[] result = new byte[DIGEST_LENGTH]; // Encrypt checksum as last block. encryptBlock(checksum, 0); for (int i = 0; i < BLOCK_LENGTH; i++) { result[i] = work[i]; } return result; }
protectedbyte[]getResult(){byte[]result=newbyte[DIGEST_LENGTH];//Encryptchecksumaslastblock.encryptBlock(checksum,0);for(inti=0;i<BLOCK_LENGTH;i++){result[i]=work[i];}returnresult;}
30,994
protected byte[] getResult() { byte[] result = new byte[DIGEST_LENGTH]; // Encrypt checksum as last block. encryptBlock(checksum, 0); for (int i = 0; i < BLOCK_LENGTH; i++) { result[i] = work[i]; } return result; }
protectedbyte[]getResult(){byte[]result=newbyte[DIGEST_LENGTH];//Encryptchecksumaslastblock.encryptBlock(checksum,0);for(inti=0;i<BLOCK_LENGTH;i++){result[i]=work[i];}returnresult;}
30,995
protected byte[] getResult() { byte[] result = new byte[DIGEST_LENGTH]; // Encrypt checksum as last block. encryptBlock(checksum, 0); for (int i = 0; i < BLOCK_LENGTH; i++) { result[i] = work[i]; } return result; }
protected byte[] getResult() byte[] result = new byte[DIGEST_LENGTH]; // Encrypt checksum as last block. encryptBlock(checksum, 0); for (int i = 0; i < BLOCK_LENGTH; i++) result[i] = work[i]; } return result; }
30,996
protected byte[] getResult() { byte[] result = new byte[DIGEST_LENGTH]; // Encrypt checksum as last block. encryptBlock(checksum, 0); for (int i = 0; i < BLOCK_LENGTH; i++) { result[i] = work[i]; } return result; }
protected byte[] getResult() { byte[] result = new byte[DIGEST_LENGTH]; // Encrypt checksum as last block. encryptBlock(checksum, 0); for (int i = 0; i < BLOCK_LENGTH; i++) { result[i] = work[i]; return result; }
30,997
protected byte[] padBuffer() { int length = BLOCK_LENGTH - (int) (count % BLOCK_LENGTH); if (length == 0) { length = BLOCK_LENGTH; } byte[] pad = new byte[length]; for (int i = 0; i < length; i++) { pad[i] = (byte) length; } return pad; }
protected byte[] padBuffer() int length = BLOCK_LENGTH - (int) (count % BLOCK_LENGTH); if (length == 0) length = BLOCK_LENGTH; } byte[] pad = new byte[length]; for (int i = 0; i < length; i++) pad[i] = (byte) length; } return pad; }
30,998
protected byte[] padBuffer() { int length = BLOCK_LENGTH - (int) (count % BLOCK_LENGTH); if (length == 0) { length = BLOCK_LENGTH; } byte[] pad = new byte[length]; for (int i = 0; i < length; i++) { pad[i] = (byte) length; } return pad; }
protected byte[] padBuffer() { int length = BLOCK_LENGTH - (int) (count % BLOCK_LENGTH); if (length == 0) { length = BLOCK_LENGTH; byte[] pad = new byte[length]; for (int i = 0; i < length; i++) { pad[i] = (byte) length; return pad; }
30,999
protected byte[] padBuffer() { int length = BLOCK_LENGTH - (int) (count % BLOCK_LENGTH); if (length == 0) { length = BLOCK_LENGTH; } byte[] pad = new byte[length]; for (int i = 0; i < length; i++) { pad[i] = (byte) length; } return pad; }
protected byte[] padBuffer() int length = BLOCK_LENGTH - (int) (count % BLOCK_LENGTH); if (length == 0) length = BLOCK_LENGTH; } byte[] pad = new byte[length]; for (int i = 0; i < length; i++) pad[i] = (byte) length; } return pad; }
31,000
protected byte[] padBuffer() { int length = BLOCK_LENGTH - (int) (count % BLOCK_LENGTH); if (length == 0) { length = BLOCK_LENGTH; } byte[] pad = new byte[length]; for (int i = 0; i < length; i++) { pad[i] = (byte) length; } return pad; }
protected byte[] padBuffer() { int length = BLOCK_LENGTH - (int) (count % BLOCK_LENGTH); if (length == 0) { length = BLOCK_LENGTH; byte[] pad = new byte[length]; for (int i = 0; i < length; i++) { pad[i] = (byte) length; return pad; }
31,001
public boolean selfTest() { if (valid == null) { valid = Boolean.valueOf(DIGEST0.equals(Util.toString(new MD2().digest()))); } return valid.booleanValue(); }
public boolean selfTest() { if (valid == null) { String d = Util.toString(new MD2().digest()); valid = Boolean.valueOf(DIGEST0.equals(d)); } return valid.booleanValue(); }
31,002
protected void transform(byte[] in, int off) { // encryptBlock(in, off); // updateCheckSum(in, off); updateCheckSumAndEncryptBlock(in, off); }
protected void transform(byte[] in, int off){// encryptBlock(in, off);// updateCheckSum(in, off);updateCheckSumAndEncryptBlock(in, off);}
31,003
private void updateCheckSumAndEncryptBlock(byte[] in, int off) { byte l = checksum[BLOCK_LENGTH - 1]; for (int i = 0; i < BLOCK_LENGTH; i++) { byte b = in[off + i]; work[BLOCK_LENGTH + i] = b; // work[BLOCK_LENGTH*2+i] = (byte)((work[i] & 0xFF) ^ (b & 0xFF)); work[BLOCK...
private void updateCheckSumAndEncryptBlock(byte[] in, int off) { byte l = checksum[BLOCK_LENGTH - 1]; for (int i = 0; i < BLOCK_LENGTH; i++) { byte b = in[off + i]; work[BLOCK_LENGTH + i] = b; // work[BLOCK_LENGTH*2+i] = (byte)((work[i] & 0xFF) ^ (b & 0xFF)); work[BLOCK...
31,004
private void updateCheckSumAndEncryptBlock(byte[] in, int off) { byte l = checksum[BLOCK_LENGTH - 1]; for (int i = 0; i < BLOCK_LENGTH; i++) { byte b = in[off + i]; work[BLOCK_LENGTH + i] = b; // work[BLOCK_LENGTH*2+i] = (byte)((work[i] & 0xFF) ^ (b & 0xFF)); work[BLOCK...
privatevoidupdateCheckSumAndEncryptBlock(byte[]in,intoff){bytel=checksum[BLOCK_LENGTH-1];for(inti=0;i<BLOCK_LENGTH;i++){byteb=in[off+i];work[BLOCK_LENGTH+i]=b;//work[BLOCK_LENGTH*2+i]=(byte)((work[i]&0xFF)^(b&0xFF));work[BLOCK_LENGTH*2+i]=(byte)(work[i]^b);//l=(byte)((checksum[i]&0xFF)^(PI[((b&0xFF)^(l&0xFF))]&0xFF));l...
31,005
private void updateCheckSumAndEncryptBlock(byte[] in, int off) { byte l = checksum[BLOCK_LENGTH - 1]; for (int i = 0; i < BLOCK_LENGTH; i++) { byte b = in[off + i]; work[BLOCK_LENGTH + i] = b; // work[BLOCK_LENGTH*2+i] = (byte)((work[i] & 0xFF) ^ (b & 0xFF)); work[BLOCK...
private void updateCheckSumAndEncryptBlock(byte[] in, int off) { byte l = checksum[BLOCK_LENGTH - 1]; for (int i = 0; i < BLOCK_LENGTH; i++) { byte b = in[off + i]; work[BLOCK_LENGTH + i] = b; // work[BLOCK_LENGTH*2+i] = (byte)((work[i] & 0xFF) ^ (b & 0xFF)); work[BLOCK...
31,006
private void updateCheckSumAndEncryptBlock(byte[] in, int off) { byte l = checksum[BLOCK_LENGTH - 1]; for (int i = 0; i < BLOCK_LENGTH; i++) { byte b = in[off + i]; work[BLOCK_LENGTH + i] = b; // work[BLOCK_LENGTH*2+i] = (byte)((work[i] & 0xFF) ^ (b & 0xFF)); work[BLOCK...
private void updateCheckSumAndEncryptBlock(byte[] in, int off) { byte l = checksum[BLOCK_LENGTH - 1]; for (int i = 0; i < BLOCK_LENGTH; i++) { byte b = in[off + i]; work[BLOCK_LENGTH + i] = b; // work[BLOCK_LENGTH*2+i] = (byte)((work[i] & 0xFF) ^ (b & 0xFF)); work[BLOCK...
31,007
protected SizeRequirements calculateMinorAxisRequirements(int axis, SizeRequirements sr) { SizeRequirements res = sr; if (res == null) res = new SizeRequirements(); res.minimum = 0; res.preferred = 0; res.maximum = 0; res.alignment = 0....
protected SizeRequirements calculateMinorAxisRequirements(int axis, SizeRequirements sr) { SizeRequirements res = sr; if (res == null) res = new SizeRequirements(); res.minimum = 0; res.preferred = 0; res.maximum = Integer.MAX_VALUE; re...
31,009
protected void forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a, ViewFactory vf) { // FIXME: What to do here? super.forwardUpdate(ec, e, a, vf); }
boolean wasValid = isLayoutValid(myAxis); boolean wasValid = isLayoutValid(myAxis); protectedboolean wasValid = isLayoutValid(myAxis); voidboolean wasValid = isLayoutValid(myAxis); forwardUpdate(DocumentEvent.ElementChangeboolean wasValid = isLayoutValid(myAxis); ec,boolean wasValid = isLayoutValid(myAxis); DocumentEve...
31,010
public int getHeight() { return span[Y_AXIS] + getTopInset() - getBottomInset(); }
public int getHeight() { return span[Y_AXIS] + getTopInset() + getBottomInset(); }
31,012
public int getResizeWeight(int axis) { if (axis != X_AXIS && axis != Y_AXIS) throw new IllegalArgumentException("Illegal axis argument"); int weight = 1; if (axis == myAxis) weight = 0; return weight; }
public int getResizeWeight(int axis) { if (axis != X_AXIS && axis != Y_AXIS) throw new IllegalArgumentException("Illegal axis argument"); int weight = 1; if (axis == myAxis) weight = 0; return weight; }
31,013
protected View getViewAtPoint(int x, int y, Rectangle r) { View result = null; int count = getViewCount(); Rectangle copy = new Rectangle(r); for (int i = 0; i < count; ++i) { copy.setBounds(r); // The next call modifies copy. childAllocation(i, copy); if (copy.contains(x...
protected View getViewAtPoint(int x, int y, Rectangle r) { View result = null; int count = getViewCount(); Rectangle copy = new Rectangle(r); for (int i = 0; i < count; ++i) { copy.setBounds(r); // The next call modifies copy. childAllocation(i, copy); if (copy.contains(x...
31,014