bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public boolean getPaintLabels() { return false; // TODO } // getPaintLabels() | public boolean getPaintLabels() { return false; // TODO } // getPaintLabels() | 41,344 |
public boolean getPaintTicks() { return false; // TODO } // getPaintTicks() | public boolean getPaintTicks() { return false; // TODO } // getPaintTicks() | 41,345 |
public boolean getPaintTrack() { return false; // TODO } // getPaintTrack() | public boolean getPaintTrack() { return false; // TODO } // getPaintTrack() | 41,346 |
public boolean getSnapToTicks() { return false; // TODO } // getSnapToTicks() | public boolean getSnapToTicks() { return false; // TODO } // getSnapToTicks() | 41,347 |
public SliderUI getUI() { return (SliderUI) ui; } // getUI() | public SliderUI getUI() { return (SliderUI) ui; } // getUI() | 41,348 |
public String getUIClassID() { return uiClassID; } // getUIClassID() | public String getUIClassID() { return uiClassID; } // getUIClassID() | 41,349 |
public int getValue() { return 0; // TODO } // getValue() | public int getValue() { return 0; // TODO } // getValue() | 41,350 |
public boolean getValueIsAdjusting() { return false; // TODO } // getValueIsAdjusting() | public boolean getValueIsAdjusting() { return false; // TODO } // getValueIsAdjusting() | 41,351 |
protected String paramString() { return null; // TODO } // paramString() | protected String paramString() { return null; // TODO } // paramString() | 41,352 |
public void removeChangeListener(ChangeListener listener) { // TODO } // removeChangeListener() | public void removeChangeListener(ChangeListener listener) { // TODO } // removeChangeListener() | 41,353 |
public void setExtent(int extent) { // TODO } // setExtent() | public void setExtent(int extent) { // TODO } // setExtent() | 41,354 |
public void setInverted(boolean inverted) { // TODO } // setInverted() | public void setInverted(boolean inverted) { // TODO } // setInverted() | 41,355 |
public void setLabelTable(Dictionary table) { // TODO } // setLabelTable() | public void setLabelTable(Dictionary table) { // TODO } // setLabelTable() | 41,356 |
public void setMajorTickSpacing(int spacing) { // TODO } // setMajorTickSpacing() | public void setMajorTickSpacing(int spacing) { // TODO } // setMajorTickSpacing() | 41,357 |
public void setMaximum(int maximum) { // TODO } // setMaximum() | public void setMaximum(int maximum) { // TODO } // setMaximum() | 41,358 |
public void setMinimum(int minimum) { // TODO } // setMinimum() | public void setMinimum(int minimum) { // TODO } // setMinimum() | 41,359 |
public void setMinorTickSpacing(int spacing) { // TODO } // setMinorTickSpacing() | public void setMinorTickSpacing(int spacing) { // TODO } // setMinorTickSpacing() | 41,360 |
public void setModel(BoundedRangeModel model) { // TODO } // setModel() | public void setModel(BoundedRangeModel model) { // TODO } // setModel() | 41,361 |
public void setOrientation(int orientation) { // TODO } // setOrientation() | public void setOrientation(int orientation) { // TODO } // setOrientation() | 41,362 |
public void setPaintLabels(boolean paint) { // TODO } // setPaintLabels() | public void setPaintLabels(boolean paint) { // TODO } // setPaintLabels() | 41,363 |
public void setPaintTicks(boolean paint) { // TODO } // setPaintTicks() | public void setPaintTicks(boolean paint) { // TODO } // setPaintTicks() | 41,364 |
public void setPaintTrack(boolean paint) { // TODO } // setPaintTrack() | public void setPaintTrack(boolean paint) { // TODO } // setPaintTrack() | 41,365 |
public void setSnapToTicks(boolean snap) { // TODO } // setSnapToTicks() | public void setSnapToTicks(boolean snap) { // TODO } // setSnapToTicks() | 41,366 |
public void setUI(SliderUI ui) { super.setUI(ui); } // setUI() | public void setUI(SliderUI ui) { super.setUI(ui); } // setUI() | 41,367 |
public void setValue(int value) { // TODO } // setValue() | public void setValue(int value) { // TODO } // setValue() | 41,368 |
public void setValueIsAdjusting(boolean adjusting) { // TODO } // setValueIsAdjusting() | public void setValueIsAdjusting(boolean adjusting) { // TODO } // setValueIsAdjusting() | 41,369 |
protected void updateLabelUIs() { // TODO } // updateLabelUIs() | protected void updateLabelUIs() { // TODO } // updateLabelUIs() | 41,370 |
public void updateUI() { setUI((SliderUI) UIManager.get(this)); invalidate(); } // updateUI() | public void updateUI() { setUI((SliderUI) UIManager.get(this)); invalidate(); } // updateUI() | 41,371 |
public EventListenerList() { listenerList = new Object[0]; } // EventListenerList() | public EventListenerList() { listenerList = new Object[0]; } // EventListenerList() | 41,372 |
public void add(Class t, EventListener listener) { // Variables Object[] list; int index; Class checkClass; EventListener checkListener; // Create New list in anticipation that listener is not present list = new Object[listenerList.length + 2]; // Search through list looking for listener for (index = 0;... | public void add(Class t, EventListener listener) { // Variables Object[] list; int index; Class checkClass; EventListener checkListener; // Create New list in anticipation that listener is not present list = new Object[listenerList.length + 2]; // Search through list looking for listener for (index = 0;... | 41,373 |
public void add(Class t, EventListener listener) { // Variables Object[] list; int index; Class checkClass; EventListener checkListener; // Create New list in anticipation that listener is not present list = new Object[listenerList.length + 2]; // Search through list looking for listener for (index = 0;... | public void add(Class t, EventListener listener) { // Variables Object[] list; int index; Class checkClass; EventListener checkListener; // Create New list in anticipation that listener is not present list = new Object[listenerList.length + 2]; // Search through list looking for listener for (index = 0;... | 41,374 |
public void add(Class t, EventListener listener) { // Variables Object[] list; int index; Class checkClass; EventListener checkListener; // Create New list in anticipation that listener is not present list = new Object[listenerList.length + 2]; // Search through list looking for listener for (index = 0;... | public void add(Class t, EventListener listener) { // Variables Object[] list; int index; Class checkClass; EventListener checkListener; // Create New list in anticipation that listener is not present list = new Object[listenerList.length + 2]; // Search through list looking for listener for (index = 0;... | 41,375 |
public void add(Class t, EventListener listener) { // Variables Object[] list; int index; Class checkClass; EventListener checkListener; // Create New list in anticipation that listener is not present list = new Object[listenerList.length + 2]; // Search through list looking for listener for (index = 0;... | public void add(Class t, EventListener listener) { // Variables Object[] list; int index; Class checkClass; EventListener checkListener; // Create New list in anticipation that listener is not present list = new Object[listenerList.length + 2]; // Search through list looking for listener for (index = 0;... | 41,376 |
public void add(Class t, EventListener listener) { // Variables Object[] list; int index; Class checkClass; EventListener checkListener; // Create New list in anticipation that listener is not present list = new Object[listenerList.length + 2]; // Search through list looking for listener for (index = 0;... | public void add(Class t, EventListener listener) { // Variables Object[] list; int index; Class checkClass; EventListener checkListener; // Create New list in anticipation that listener is not present list = new Object[listenerList.length + 2]; // Search through list looking for listener for (index = 0;... | 41,377 |
public void setVerticalAlignment(int alignment) { // Sets the alignment of the label's contents along the Y axis. vert_align = alignment; } | public void setVerticalAlignment(int alignment) { // Sets the alignment of the label's contents along the Y axis. vert_align = alignment; } | 41,378 |
public void setHorizontalAlignment(int alignment) { // Sets the alignment of the label's contents along the X axis. hor_align = alignment; } | public void setHorizontalAlignment(int alignment) { // Sets the alignment of the label's contents along the X axis. hor_align = alignment; } | 41,379 |
public Object[] getListenerList() { return listenerList; } // getListenerList() | public Object[] getListenerList() { return listenerList; } // getListenerList() | 41,380 |
public ChangeEvent(Object source) { super(source); } // ChangeEvent() | public ChangeEvent(Object source) { super(source); } // ChangeEvent() | 41,381 |
public ChangeEvent(Object source) { super(source); } // ChangeEvent() | public ChangeEvent(Object source) { super(source); } // ChangeEvent() | 41,382 |
public void remove(Class t, EventListener listener) { // Variables Object[] list; int index; Class checkClass; EventListener checkListener; int pointer; boolean found; // Create New list in anticipation that listener is not present if (listenerList.length == 0) { return; } // if list = new Obje... | public void remove(Class t, EventListener listener) { // Variables Object[] list; int index; Class checkClass; EventListener checkListener; int pointer; boolean found; // Create New list in anticipation that listener is not present if (listenerList.length == 0) { return; } // if list = new Obje... | 41,383 |
public void remove(Class t, EventListener listener) { // Variables Object[] list; int index; Class checkClass; EventListener checkListener; int pointer; boolean found; // Create New list in anticipation that listener is not present if (listenerList.length == 0) { return; } // if list = new Obje... | public void remove(Class t, EventListener listener) { // Variables Object[] list; int index; Class checkClass; EventListener checkListener; int pointer; boolean found; // Create New list in anticipation that listener is not present if (listenerList.length == 0) { return; } // if list = new Obje... | 41,384 |
public void remove(Class t, EventListener listener) { // Variables Object[] list; int index; Class checkClass; EventListener checkListener; int pointer; boolean found; // Create New list in anticipation that listener is not present if (listenerList.length == 0) { return; } // if list = new Obje... | public void remove(Class t, EventListener listener) { // Variables Object[] list; int index; Class checkClass; EventListener checkListener; int pointer; boolean found; // Create New list in anticipation that listener is not present if (listenerList.length == 0) { return; } // if list = new Obje... | 41,385 |
public void remove(Class t, EventListener listener) { // Variables Object[] list; int index; Class checkClass; EventListener checkListener; int pointer; boolean found; // Create New list in anticipation that listener is not present if (listenerList.length == 0) { return; } // if list = new Obje... | public void remove(Class t, EventListener listener) { // Variables Object[] list; int index; Class checkClass; EventListener checkListener; int pointer; boolean found; // Create New list in anticipation that listener is not present if (listenerList.length == 0) { return; } // if list = new Obje... | 41,386 |
public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) { //Reports a bound property change. } | publicif (changeSupport != null) changeSupport.firePropertyChange(propertyName, new Boolean(oldValue), new Boolean(newValue)); voidif (changeSupport != null) changeSupport.firePropertyChange(propertyName, new Boolean(oldValue), new Boolean(newValue)); firePropertyChange(Stringif (changeSupport != null) changeSupport.f... | 41,387 |
public void updateUI() { LabelUI b = (LabelUI)UIManager.getUI(this); setUI(b); } | public void updateUI() { LabelUI b = (LabelUI)UIManager.getUI(this); setUI(b); } | 41,388 |
private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | 41,389 |
private void saveLine(LineBox line_to_save, LineBox prev_line, Element containing_block, int width, int x, Context c, Box block, boolean last) { c.setFirstLine(false); // account for text-align TextAlign.adjustTextAlignment(c, line_to_save, containing_block, width, x, l... | private void saveLine(LineBox line_to_save, LineBox prev_line, Element containing_block, int width, int x, Context c, Box block, boolean last) { c.setFirstLine(false); // account for text-align TextAlign.adjustTextAlignment(c, line_to_save, containing_block, width, x, l... | 41,390 |
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line, int parent_width, InlineBlockBox pendingBlockBox) { InlineBlockBox box = new InlineBlockBox(); box.element = content.getElement(); // use the prev_align to calculate... | public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line, InlineBlockBox pendingBlockBox) { InlineBlockBox box = new InlineBlockBox(); box.element = content.getElement(); // use the prev_align to calculate the x if (... | 41,391 |
public static void stripWhitespace( Context c, Node node, Element containing_block ) { String white_space = c.css.getStringProperty( containing_block, "white-space" ); // if doing preformatted whitespace if ( white_space != null && white_space.equals( "pre" ) ) { return; } ... | publicstaticvoidstripWhitespace(Contextc,Nodenode,Elementcontaining_block){Stringwhite_space=c.css.getStringProperty(containing_block,"white-space");//ifdoingpreformattedwhitespaceif(white_space!=null&&white_space.equals("pre")){return;}if(node==null){return;}if(node.getNodeType()!=node.TEXT_NODE){return;}Stringtext=no... | 41,392 |
public static void stripWhitespace( Context c, Node node, Element containing_block ) { String white_space = c.css.getStringProperty( containing_block, "white-space" ); // if doing preformatted whitespace if ( white_space != null && white_space.equals( "pre" ) ) { return; } ... | publicstaticvoidstripWhitespace(Contextc,Nodenode,Elementcontaining_block){Stringwhite_space=c.css.getStringProperty(containing_block,"white-space");//ifdoingpreformattedwhitespaceif(white_space!=null&&white_space.equals("pre")){return;}if(node==null){return;}if(node.getNodeType()!=node.TEXT_NODE){return;}Stringtext=no... | 41,393 |
public static void stripWhitespace( Context c, Node node, Element containing_block ) { String white_space = c.css.getStringProperty( containing_block, "white-space" ); // if doing preformatted whitespace if ( white_space != null && white_space.equals( "pre" ) ) { return; } ... | publicstaticvoidstripWhitespace(Contextc,Nodenode,Elementcontaining_block){Stringwhite_space=c.css.getStringProperty(containing_block,"white-space");//ifdoingpreformattedwhitespaceif(white_space!=null&&white_space.equals("pre")){return;}if(node==null){return;}if(node.getNodeType()!=node.TEXT_NODE){return;}Stringtext=no... | 41,394 |
public static void stripWhitespace( Context c, Node node, Element containing_block ) { String white_space = c.css.getStringProperty( containing_block, "white-space" ); // if doing preformatted whitespace if ( white_space != null && white_space.equals( "pre" ) ) { return; } ... | publicstaticvoidstripWhitespace(Contextc,Nodenode,Elementcontaining_block){Stringwhite_space=c.css.getStringProperty(containing_block,"white-space");//ifdoingpreformattedwhitespaceif(white_space!=null&&white_space.equals("pre")){return;}if(node==null){return;}if(node.getNodeType()!=node.TEXT_NODE){return;}Stringtext=no... | 41,395 |
public static void stripWhitespace( Context c, Node node, Element containing_block ) { String white_space = c.css.getStringProperty( containing_block, "white-space" ); // if doing preformatted whitespace if ( white_space != null && white_space.equals( "pre" ) ) { return; } ... | publicstaticvoidstripWhitespace(Contextc,Nodenode,Elementcontaining_block){Stringwhite_space=c.css.getStringProperty(containing_block,"white-space");//ifdoingpreformattedwhitespaceif(white_space!=null&&white_space.equals("pre")){return;}if(node==null){return;}if(node.getNodeType()!=node.TEXT_NODE){return;}Stringtext=no... | 41,396 |
public static void stripWhitespace( Context c, Node node, Element containing_block ) { String white_space = c.css.getStringProperty( containing_block, "white-space" ); // if doing preformatted whitespace if ( white_space != null && white_space.equals( "pre" ) ) { return; } ... | publicstaticvoidstripWhitespace(Contextc,Nodenode,Elementcontaining_block){Stringwhite_space=c.css.getStringProperty(containing_block,"white-space");//ifdoingpreformattedwhitespaceif(white_space!=null&&white_space.equals("pre")){return;}if(node==null){return;}if(node.getNodeType()!=node.TEXT_NODE){return;}Stringtext=no... | 41,397 |
public static void stripWhitespace( Context c, Node node, Element containing_block ) { String white_space = c.css.getStringProperty( containing_block, "white-space" ); // if doing preformatted whitespace if ( white_space != null && white_space.equals( "pre" ) ) { return; } ... | publicstaticvoidstripWhitespace(Contextc,Nodenode,Elementcontaining_block){Stringwhite_space=c.css.getStringProperty(containing_block,"white-space");//ifdoingpreformattedwhitespaceif(white_space!=null&&white_space.equals("pre")){return;}if(node==null){return;}if(node.getNodeType()!=node.TEXT_NODE){return;}Stringtext=no... | 41,398 |
public static void stripWhitespace( Context c, Node node, Element containing_block ) { String white_space = c.css.getStringProperty( containing_block, "white-space" ); // if doing preformatted whitespace if ( white_space != null && white_space.equals( "pre" ) ) { return; } ... | publicstaticvoidstripWhitespace(Contextc,Nodenode,Elementcontaining_block){Stringwhite_space=c.css.getStringProperty(containing_block,"white-space");//ifdoingpreformattedwhitespaceif(white_space!=null&&white_space.equals("pre")){return;}if(node==null){return;}if(node.getNodeType()!=node.TEXT_NODE){return;}Stringtext=no... | 41,399 |
public static void stripWhitespace( Context c, Node node, Element containing_block ) { String white_space = c.css.getStringProperty( containing_block, "white-space" ); // if doing preformatted whitespace if ( white_space != null && white_space.equals( "pre" ) ) { return; } ... | publicstaticvoidstripWhitespace(Contextc,Nodenode,Elementcontaining_block){Stringwhite_space=c.css.getStringProperty(containing_block,"white-space");//ifdoingpreformattedwhitespaceif(white_space!=null&&white_space.equals("pre")){return;}if(node==null){return;}if(node.getNodeType()!=node.TEXT_NODE){return;}Stringtext=no... | 41,400 |
public static void stripWhitespace( Context c, Node node, Element containing_block ) { String white_space = c.css.getStringProperty( containing_block, "white-space" ); // if doing preformatted whitespace if ( white_space != null && white_space.equals( "pre" ) ) { return; } ... | publicstaticvoidstripWhitespace(Contextc,Nodenode,Elementcontaining_block){Stringwhite_space=c.css.getStringProperty(containing_block,"white-space");//ifdoingpreformattedwhitespaceif(white_space!=null&&white_space.equals("pre")){return;}if(node==null){return;}if(node.getNodeType()!=node.TEXT_NODE){return;}Stringtext=no... | 41,401 |
public static void stripWhitespace( Context c, Node node, Element containing_block ) { String white_space = c.css.getStringProperty( containing_block, "white-space" ); // if doing preformatted whitespace if ( white_space != null && white_space.equals( "pre" ) ) { return; } ... | publicstaticvoidstripWhitespace(Contextc,Nodenode,Elementcontaining_block){Stringwhite_space=c.css.getStringProperty(containing_block,"white-space");//ifdoingpreformattedwhitespaceif(white_space!=null&&white_space.equals("pre")){return;}if(node==null){return;}if(node.getNodeType()!=node.TEXT_NODE){return;}Stringtext=no... | 41,402 |
public static void stripWhitespace( Context c, Node node, Element containing_block ) { String white_space = c.css.getStringProperty( containing_block, "white-space" ); // if doing preformatted whitespace if ( white_space != null && white_space.equals( "pre" ) ) { return; } ... | public static void stripWhitespace( Context c, Node node, Element containing_block ) {String white_space = c.css.getStringProperty( containing_block, "white-space" );// if doing preformatted whitespaceif ( white_space != null && white_space.equals( "pre" ) ) {return;}if ( node == null ) {return;}if ( node.getNodeType()... | 41,403 |
public static void stripWhitespace( Context c, Node node, Element containing_block ) { String white_space = c.css.getStringProperty( containing_block, "white-space" ); // if doing preformatted whitespace if ( white_space != null && white_space.equals( "pre" ) ) { return; } ... | publicstaticvoidstripWhitespace(Contextc,Nodenode,Elementcontaining_block){Stringwhite_space=c.css.getStringProperty(containing_block,"white-space");//ifdoingpreformattedwhitespaceif(white_space!=null&&white_space.equals("pre")){return;}if(node==null){return;}if(node.getNodeType()!=node.TEXT_NODE){return;}Stringtext=no... | 41,404 |
public static void stripWhitespace( Context c, Node node, Element containing_block ) { String white_space = c.css.getStringProperty( containing_block, "white-space" ); // if doing preformatted whitespace if ( white_space != null && white_space.equals( "pre" ) ) { return; } ... | publicstaticvoidstripWhitespace(Contextc,Nodenode,Elementcontaining_block){Stringwhite_space=c.css.getStringProperty(containing_block,"white-space");//ifdoingpreformattedwhitespaceif(white_space!=null&&white_space.equals("pre")){return;}if(node==null){return;}if(node.getNodeType()!=node.TEXT_NODE){return;}Stringtext=no... | 41,405 |
public static void stripWhitespace( Context c, Node node, Element containing_block ) { String white_space = c.css.getStringProperty( containing_block, "white-space" ); // if doing preformatted whitespace if ( white_space != null && white_space.equals( "pre" ) ) { return; } ... | public static void stripWhitespace( Context c, Node node, Element containing_block ) {String white_space = c.css.getStringProperty( containing_block, "white-space" );// if doing preformatted whitespaceif ( white_space != null && white_space.equals( "pre" ) ) {return;}if ( node == null ) {return;}if ( node.getNodeType()... | 41,406 |
public static void stripWhitespace( Context c, Node node, Element containing_block ) { String white_space = c.css.getStringProperty( containing_block, "white-space" ); // if doing preformatted whitespace if ( white_space != null && white_space.equals( "pre" ) ) { return; } ... | publicstaticvoidstripWhitespace(Contextc,Nodenode,Elementcontaining_block){Stringwhite_space=c.css.getStringProperty(containing_block,"white-space");//ifdoingpreformattedwhitespaceif(white_space!=null&&white_space.equals("pre")){return;}if(node==null){return;}if(node.getNodeType()!=node.TEXT_NODE){return;}Stringtext=no... | 41,407 |
public static void adjustTextAlignment(Context c, LineBox line_to_save, Element containing_block, int width, int x, boolean last) { String text_align = c.css.getStyle(containing_block).getStringProperty(CSSName.TEXT_ALIGN); if (text_align == null) { return; } if (text_align.eq... | public static void adjustTextAlignment(Context c, LineBox line_to_save, Element containing_block, int width, int x, boolean last) { String text_align = c.css.getStyle(containing_block).getStringProperty(CSSName.TEXT_ALIGN); if (text_align == null) { return; } if (text_align.eq... | 41,408 |
public static void adjustTextAlignment(Context c, LineBox line_to_save, Element containing_block, int width, int x, boolean last) { String text_align = c.css.getStyle(containing_block).getStringProperty(CSSName.TEXT_ALIGN); if (text_align == null) { return; } if (text_align.eq... | public static void adjustTextAlignment(Context c, LineBox line_to_save, Element containing_block, int width, int x, boolean last) { String text_align = c.css.getStyle(containing_block).getStringProperty(CSSName.TEXT_ALIGN); if (text_align == null) { return; } if (text_align.eq... | 41,409 |
public static void adjustTextAlignment(Context c, LineBox line_to_save, Element containing_block, int width, int x, boolean last) { String text_align = c.css.getStyle(containing_block).getStringProperty(CSSName.TEXT_ALIGN); if (text_align == null) { return; } if (text_align.eq... | public static void adjustTextAlignment(Context c, LineBox line_to_save, Element containing_block, int width, int x, boolean last) { String text_align = c.css.getStyle(containing_block).getStringProperty(CSSName.TEXT_ALIGN); if (text_align == null) { return; } if (text_align.eq... | 41,410 |
public static void setupVerticalAlign(LineBox box) { // Uu.p("setting up vertical align for a line: " + box); // top and bottom are max dist from baseline int top = 0; int bot = 0; int height = 0; for (int i = 0; i < box.getChildCount(); i++) { InlineBox inline =... | public static void setupVerticalAlign(Context c, CalculatedStyle style, InlineBox box) { Content content = box.content; // Uu.p("setting up vertical align for a line: " + box); // top and bottom are max dist from baseline int top = 0; int bot = 0; int height = 0; for (int i... | 41,411 |
public static void setupVerticalAlign(LineBox box) { // Uu.p("setting up vertical align for a line: " + box); // top and bottom are max dist from baseline int top = 0; int bot = 0; int height = 0; for (int i = 0; i < box.getChildCount(); i++) { InlineBox inline =... | public static void setupVerticalAlign(LineBox box) { // Uu.p("setting up vertical align for a line: " + box); // top and bottom are max dist from baseline int top = 0; int bot = 0; int height = 0; for (int i = 0; i < box.getChildCount(); i++) { InlineBox inline =... | 41,412 |
public static void setupVerticalAlign(LineBox box) { // Uu.p("setting up vertical align for a line: " + box); // top and bottom are max dist from baseline int top = 0; int bot = 0; int height = 0; for (int i = 0; i < box.getChildCount(); i++) { InlineBox inline =... | public static void setupVerticalAlign(LineBox box) { // Uu.p("setting up vertical align for a line: " + box); // top and bottom are max dist from baseline int top = 0; int bot = 0; int height = 0; for (int i = 0; i < box.getChildCount(); i++) { InlineBox inline =... | 41,413 |
public static void setupVerticalAlign(LineBox box) { // Uu.p("setting up vertical align for a line: " + box); // top and bottom are max dist from baseline int top = 0; int bot = 0; int height = 0; for (int i = 0; i < box.getChildCount(); i++) { InlineBox inline =... | public static void setupVerticalAlign(LineBox box) { // Uu.p("setting up vertical align for a line: " + box); // top and bottom are max dist from baseline int top = 0; int bot = 0; int height = 0; for (int i = 0; i < box.getChildCount(); i++) { InlineBox inline =... | 41,414 |
public static void setupVerticalAlign(LineBox box) { // Uu.p("setting up vertical align for a line: " + box); // top and bottom are max dist from baseline int top = 0; int bot = 0; int height = 0; for (int i = 0; i < box.getChildCount(); i++) { InlineBox inline =... | public static void setupVerticalAlign(LineBox box) { // Uu.p("setting up vertical align for a line: " + box); // top and bottom are max dist from baseline int top = 0; int bot = 0; int height = 0; for (int i = 0; i < box.getChildCount(); i++) { InlineBox inline =... | 41,415 |
public static void exception( String msg ) { exception( msg, null ); } | public static void exception( String msg ) { exception( msg, null ); } | 41,416 |
public void treeWillCollapse(TreeExpansionEvent event); | public void treeWillCollapse(TreeExpansionEvent event); | 41,417 |
public void treeWillExpand(TreeExpansionEvent event); | public void treeWillExpand(TreeExpansionEvent event); | 41,418 |
public void setSecurityConfig(boolean isQueue, String destName, Element conf) throws JMSException { if (trace) { log.trace("adding security configuration for " + (isQueue ? "queue " : "topic ") + destName); } SecurityMetadata m = null; try { m = new SecurityMetadata(conf); } c... | public void setSecurityConfig(boolean isQueue, String destName, Element conf) throws JMSException { if (trace) { log.trace("adding security configuration for " + (isQueue ? "queue " : "topic ") + destName); } SecurityMetadata m = null; try { m = new SecurityMetadata(conf); } c... | 41,419 |
public SecurityMetadata(Element conf)throws Exception { configure(conf); } | public SecurityMetadata(Element conf)throws Exception { configure(conf); } | 41,420 |
final void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); final VirtualStack stack = ec.getVStack(); switch (getKind()) { case Kind.REGISTER: os.writePUSH(reg); break; case Kind.LOCAL: os.writePUSH(FP, offsetToFP); break; case Kind.CONSTANT: pushConstant(ec, os); break; case ... | final void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); final VirtualStack stack = ec.getVStack(); switch (getKind()) { case Kind.REGISTER: os.writePUSH(reg); break; case Kind.LOCAL: os.writePUSH(FP, offsetToFP); break; case Kind.CONSTANT: pushConstant(ec, os); break; case ... | 41,422 |
final void release(EmitterContext ec) { //assertCondition(!ec.getVStack().contains(this), "Cannot release while on vstack"); final X86RegisterPool pool = ec.getPool(); switch (getKind()) { case Kind.REGISTER: pool.release(reg); assertCondition(pool.isFree(reg), "reg is free"); break; case Kind.LOCAL: // n... | final void release(EmitterContext ec) { //assertCondition(!ec.getVStack().contains(this), "Cannot release while on vstack"); final X86RegisterPool pool = ec.getPool(); switch (getKind()) { case Kind.REGISTER: pool.release(reg); assertCondition(pool.isFree(reg), "reg is free"); break; case... | 41,423 |
Item(int kind, int type, int offsetToFP) { this.kind = kind; this.type = type;// this.reg = reg; this.offsetToFP = offsetToFP;// this.con = con; } | Item(intkind,inttype,intoffsetToFP){ this.kind=kind; this.type=type;// this.reg=reg; this.offsetToFP=offsetToFP;// this.con=con; } | 41,424 |
Item(int kind, int type, int offsetToFP) { this.kind = kind; this.type = type;// this.reg = reg; this.offsetToFP = offsetToFP;// this.con = con; } | Item(intkind,inttype,intoffsetToFP){ this.kind=kind; this.type=type;// this.reg=reg; this.offsetToFP=offsetToFP;// this.con=con; } | 41,425 |
public Object request(int type) { return request(type, null); } | public Object request(int type) { return request(type, null); } | 41,426 |
static final void fxch(AbstractX86Stream os, FPUStack fpuStack, Register fpuReg) { if (fpuReg == Register.ST0) { throw new StackException("Cannot fxch ST0"); } os.writeFXCH(fpuReg); fpuStack.fxch(fpuReg); } | static final void fxch(AbstractX86Stream os, FPUStack fpuStack, Register fpuReg) { if (fpuReg == Register.ST0) { throw new StackException("Cannot fxch ST0"); } os.writeFXCH(fpuReg); fpuStack.fxch(fpuReg); } | 41,427 |
public ServerConnectionFactoryEndpoint(String id, ServerPeer serverPeer, String defaultClientID, JNDIBindings jndiBindings) { this.serverPeer = serverPeer; this.clientID = defaultClientID; this.id = id; this.jndiBindings = jndiBindings; } | public ServerConnectionFactoryEndpoint(int id, ServerPeer serverPeer, String defaultClientID, JNDIBindings jndiBindings) { this.serverPeer = serverPeer; this.clientID = defaultClientID; this.id = id; this.jndiBindings = jndiBindings; } | 41,429 |
public ConnectionDelegate createConnectionDelegate(String username, String password, String clientConnectionId) throws JMSException { log.debug("creating a new connection for user " + username); // authenticate the user serverPeer.getSecurit... | public ConnectionDelegate createConnectionDelegate(String username, String password, String clientConnectionId) throws JMSException { log.debug("creating a new connection for user " + username); // authenticate the user serverPeer.getSecurit... | 41,430 |
public ConnectionDelegate createConnectionDelegate(String username, String password, String clientConnectionId) throws JMSException { log.debug("creating a new connection for user " + username); // authenticate the user serverPeer.getSecurit... | public ConnectionDelegate createConnectionDelegate(String username, String password, String clientConnectionId) throws JMSException { log.debug("creating a new connection for user " + username); // authenticate the user serverPeer.getSecurit... | 41,431 |
public ConnectionDelegate createConnectionDelegate(String username, String password, String clientConnectionId) throws JMSException { log.debug("creating a new connection for user " + username); // authenticate the user serverPeer.getSecurit... | public ConnectionDelegate createConnectionDelegate(String username, String password, String clientConnectionId) throws JMSException { log.debug("creating a new connection for user " + username); // authenticate the user serverPeer.getSecurit... | 41,432 |
public String getID() { return id; } | public int getID() { return id; } | 41,433 |
public ClientConnectionDelegate(String objectID, String serverLocatorURI, String serverID, Version serverVersion) { super(objectID); this.serverID = serverID; this.serverVersion = serverVersion; this.serverLocatorURI = serverLocatorURI; } | public ClientConnectionDelegate(String objectID, String serverID, Version serverVersion) { super(objectID); this.serverID = serverID; this.serverVersion = serverVersion; this.serverLocatorURI = serverLocatorURI; } | 41,434 |
public ClientConnectionDelegate(String objectID, String serverLocatorURI, String serverID, Version serverVersion) { super(objectID); this.serverID = serverID; this.serverVersion = serverVersion; this.serverLocatorURI = serverLocatorURI; } | public ClientConnectionDelegate(String objectID, String serverLocatorURI, String serverID, Version serverVersion) { super(objectID); this.serverID = serverID; this.serverVersion = serverVersion; } | 41,435 |
void dispatchEventImpl(AWTEvent e) { // Give toolkit a chance to dispatch the event // to globally registered listeners. Toolkit.getDefaultToolkit().globalDispatchEvent(e); // This boolean tells us not to process focus events when the focus // opposite component is the same as the focus component. ... | void dispatchEventImpl(AWTEvent e) { // Give toolkit a chance to dispatch the event // to globally registered listeners. // This boolean tells us not to process focus events when the focus // opposite component is the same as the focus component. boolean ignoreFocus = (e instanceof FocusEvent &&... | 41,437 |
private static void paintBorderSide(OutputDevice outputDevice, final BorderPropertySet border, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROOVE) { ... | private static void paintBorderSide(OutputDevice outputDevice, final BorderPropertySet border, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROOVE) { ... | 41,438 |
public void addPoint(int x, int y) { if (npoints + 1 > xpoints.length) { int[] newx = new int[npoints + 1]; System.arraycopy(xpoints, 0, newx, 0, npoints); xpoints = newx; } if (npoints + 1 > ypoints.length) { int[] newy = new int[npoints + 1]; System.arraycopy... | public void addPoint(int x, int y) { if (npoints + 1 > xpoints.length) { int[] newx = new int[npoints + 1]; System.arraycopy(xpoints, 0, newx, 0, npoints); xpoints = newx; } if (npoints + 1 > ypoints.length) { int[] newy = new int[npoints + 1]; System.arraycopy... | 41,439 |
public boolean noTop() { return this._topStyle == IdentValue.NONE && (int)_top == 0; } | public boolean noTop() { return this._topStyle == IdentValue.NONE || (int) _top == 0; } | 41,440 |
public boolean noLeft() { return this._leftStyle == IdentValue.NONE && (int)_left == 0; } | public boolean noLeft() { return this._leftStyle == IdentValue.NONE || (int) _left == 0; } | 41,441 |
public boolean noBottom() { return this._bottomStyle == IdentValue.NONE && (int)_bottom == 0; } | public boolean noBottom() { return this._bottomStyle == IdentValue.NONE || (int) _bottom == 0; } | 41,442 |
public boolean noRight() { return this._rightStyle == IdentValue.NONE && (int)_right == 0; } | public boolean noRight() { return this._rightStyle == IdentValue.NONE || (int) _right == 0; } | 41,443 |
public BorderPropertySet( float top, float right, float bottom, float left ) { this._top = top; this._right = right; this._bottom = bottom; this._left = left; this.buildKey(CSSName.BORDER_SHORTHAND); } | public BorderPropertySet( float top, float right, float bottom, float left ) { this._top = top; this._right = right; this._bottom = bottom; this._left = left; this.buildKey(CSSName.BORDER_SHORTHAND); } | 41,444 |
public BorderPropertySet( float top, float right, float bottom, float left ) { this._top = top; this._right = right; this._bottom = bottom; this._left = left; this.buildKey(CSSName.BORDER_SHORTHAND); } | public BorderPropertySet( float top, float right, float bottom, float left ) { this._top = top; this._right = right; this._bottom = bottom; this._left = left; this._topColor = border.topColor(); this._rightColor = border.rightColor();... | 41,445 |
protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; Connector server = null; String serializationType = ... | protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; Connector server = null; String serializationType = ... | 41,446 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.