bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void selectionChanged(SelectionChangeEvent event) { Object[] selections = getSelectionModel().getSelections(); Object target = getUIController().getInformationQuarter() .getDisplayTarget(); final Folder folder; if (target instanceof Directory) { ... | public void selectionChanged(SelectionChangeEvent event) { Object[] selections = getSelectionModel().getSelections(); Object target = getUIController().getInformationQuarter() .getDisplayTarget(); final Folder folder; if (target instanceof Directory) { ... | 3,224,850 |
public final void createPartControl(Composite parent) { this.container = createContainer(parent); createPages(); // set the active page (page 0 by default), unless it has already been done if (getActivePage() == -1) setActivePage(0); } | public final void createPartControl(Composite parent) { Composite pageContainer = createPageContainer(parent); this.container = createContainer(pageContainer); createPages(); // set the active page (page 0 by default), unless it has already been done if (getActivePage() == -1) ... | 3,224,852 |
private static int runInShell(IRuby runtime, IRubyObject[] rawArgs, OutputStream output) { try { // startup scripts set jruby.shell to /bin/sh for Unix, cmd.exe for Windows String shell = System.getProperty("jruby.shell"); rawArgs[0] = runtime.newString(repairDirSeps(rawArgs[... | public static int runInShell(IRuby runtime, IRubyObject[] rawArgs, OutputStream output) { try { // startup scripts set jruby.shell to /bin/sh for Unix, cmd.exe for Windows String shell = System.getProperty("jruby.shell"); rawArgs[0] = runtime.newString(repairDirSeps(rawArgs[0... | 3,224,853 |
public void paintControl(PaintEvent e) { GC gc = e.gc; Color color = e.display.getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW); gc.setForeground(color); gc.setBackground(interiorColor); Shape shape = new Shape(TOP_LEFT_CORNER.length + 2); IntAffineMatrix rotation = IntAffineMatrix ... | public void paintControl(PaintEvent e) { GC gc = e.gc; Color color = e.display.getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW); gc.setForeground(color); gc.setBackground(interiorColor); Shape shape = new Shape(TOP_LEFT_CORNER.length + 2); IntAffineMatrix rotation = IntAffineMatrix ... | 3,224,854 |
public void paintControl(PaintEvent e) { GC gc = e.gc; Color color = e.display.getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW); gc.setForeground(color); gc.setBackground(interiorColor); Shape shape = new Shape(TOP_LEFT_CORNER.length + 2); IntAffineMatrix rotation = IntAffineMatrix ... | public void paintControl(PaintEvent e) { GC gc = e.gc; Color color = e.display.getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW); gc.setForeground(color); gc.setBackground(interiorColor); Shape shape = new Shape(TOP_LEFT_CORNER.length + 2); IntAffineMatrix rotation = IntAffineMatrix ... | 3,224,855 |
public void handleMessage(Message message) { if (message == null) { throw new NullPointerException( "Unable to handle message, message is null"); } // related folder is filled if message is a folder related message FolderInfo targetedFolderInfo = null; Fo... | public void handleMessage(Message message) { if (message == null) { throw new NullPointerException( "Unable to handle message, message is null"); } // related folder is filled if message is a folder related message FolderInfo targetedFolderInfo = null; Fo... | 3,224,856 |
public void handleMessage(Message message) { if (message == null) { throw new NullPointerException( "Unable to handle message, message is null"); } // related folder is filled if message is a folder related message FolderInfo targetedFolderInfo = null; Fo... | public void handleMessage(Message message) { if (message == null) { throw new NullPointerException( "Unable to handle message, message is null"); } // related folder is filled if message is a folder related message FolderInfo targetedFolderInfo = null; Fo... | 3,224,857 |
private static final void readBindingsFromPreferences( final IMemento preferences, final BindingManager bindingManager, final ICommandService commandService) { /* * If necessary, this list of status items will be constructed. It will * only contains instances of <code>IStatus</code>. */ List warningsToLog ... | private static final void readBindingsFromPreferences( final IMemento preferences, final BindingManager bindingManager, final ICommandService commandService) { /* * If necessary, this list of status items will be constructed. It will * only contains instances of <code>IStatus</code>. */ List warningsToLog ... | 3,224,858 |
private static final void readBindingsFromPreferences( final IMemento preferences, final BindingManager bindingManager, final ICommandService commandService) { /* * If necessary, this list of status items will be constructed. It will * only contains instances of <code>IStatus</code>. */ List warningsToLog ... | private static final void readBindingsFromPreferences( final IMemento preferences, final BindingManager bindingManager, final ICommandService commandService) { /* * If necessary, this list of status items will be constructed. It will * only contains instances of <code>IStatus</code>. */ List warningsToLog ... | 3,224,859 |
private static final void readBindingsFromPreferences( final IMemento preferences, final BindingManager bindingManager, final ICommandService commandService) { /* * If necessary, this list of status items will be constructed. It will * only contains instances of <code>IStatus</code>. */ List warningsToLog ... | private static final void readBindingsFromPreferences( final IMemento preferences, final BindingManager bindingManager, final ICommandService commandService) { /* * If necessary, this list of status items will be constructed. It will * only contains instances of <code>IStatus</code>. */ List warningsToLog ... | 3,224,860 |
private static final void readBindingsFromPreferences( final IMemento preferences, final BindingManager bindingManager, final ICommandService commandService) { /* * If necessary, this list of status items will be constructed. It will * only contains instances of <code>IStatus</code>. */ List warningsToLog ... | private static final void readBindingsFromPreferences( final IMemento preferences, final BindingManager bindingManager, final ICommandService commandService) { /* * If necessary, this list of status items will be constructed. It will * only contains instances of <code>IStatus</code>. */ List warningsToLog ... | 3,224,861 |
private static final void readBindingsFromPreferences( final IMemento preferences, final BindingManager bindingManager, final ICommandService commandService) { /* * If necessary, this list of status items will be constructed. It will * only contains instances of <code>IStatus</code>. */ List warningsToLog ... | private static final void readBindingsFromPreferences( final IMemento preferences, final BindingManager bindingManager, final ICommandService commandService) { /* * If necessary, this list of status items will be constructed. It will * only contains instances of <code>IStatus</code>. */ List warningsToLog ... | 3,224,862 |
private static final void readBindingsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final BindingManager bindingManager, final ICommandService commandService) { final Collection bindings = new ArrayList(configurationElementCount); /* * If necessar... | private static final void readBindingsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final BindingManager bindingManager, final ICommandService commandService) { final Collection bindings = new ArrayList(configurationElementCount); /* * If necessar... | 3,224,863 |
private static final void readBindingsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final BindingManager bindingManager, final ICommandService commandService) { final Collection bindings = new ArrayList(configurationElementCount); /* * If necessar... | private static final void readBindingsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final BindingManager bindingManager, final ICommandService commandService) { final Collection bindings = new ArrayList(configurationElementCount); /* * If necessar... | 3,224,864 |
private static final void readBindingsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final BindingManager bindingManager, final ICommandService commandService) { final Collection bindings = new ArrayList(configurationElementCount); /* * If necessar... | private static final void readBindingsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final BindingManager bindingManager, final ICommandService commandService) { final Collection bindings = new ArrayList(configurationElementCount); /* * If necessar... | 3,224,865 |
private static final void readBindingsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final BindingManager bindingManager, final ICommandService commandService) { final Collection bindings = new ArrayList(configurationElementCount); /* * If necessar... | private static final void readBindingsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final BindingManager bindingManager, final ICommandService commandService) { final Collection bindings = new ArrayList(configurationElementCount); /* * If necessar... | 3,224,866 |
private static final void readBindingsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final BindingManager bindingManager, final ICommandService commandService) { final Collection bindings = new ArrayList(configurationElementCount); /* * If necessar... | private static final void readBindingsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final BindingManager bindingManager, final ICommandService commandService) { final Collection bindings = new ArrayList(configurationElementCount); /* * If necessar... | 3,224,867 |
private static final void readBindingsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final BindingManager bindingManager, final ICommandService commandService) { final Collection bindings = new ArrayList(configurationElementCount); /* * If necessar... | private static final void readBindingsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final BindingManager bindingManager, final ICommandService commandService) { final Collection bindings = new ArrayList(configurationElementCount); /* * If necessar... | 3,224,868 |
private static final void readBindingsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final BindingManager bindingManager, final ICommandService commandService) { final Collection bindings = new ArrayList(configurationElementCount); /* * If necessar... | private static final void readBindingsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final BindingManager bindingManager, final ICommandService commandService) { final Collection bindings = new ArrayList(configurationElementCount); /* * If necessar... | 3,224,869 |
private static final void readBindingsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final BindingManager bindingManager, final ICommandService commandService) { final Collection bindings = new ArrayList(configurationElementCount); /* * If necessar... | private static final void readBindingsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final BindingManager bindingManager, final ICommandService commandService) { final Collection bindings = new ArrayList(configurationElementCount); /* * If necessar... | 3,224,870 |
private static final ParameterizedCommand readParameters( final IConfigurationElement configurationElement, final List warningsToLog, final Command command) { final IConfigurationElement[] parameterElements = configurationElement .getChildren(ELEMENT_PARAMETER); if ((parameterElements == null) || (parameterEl... | private static final ParameterizedCommand readParameters( final IConfigurationElement configurationElement, final List warningsToLog, final Command command) { final IConfigurationElement[] parameterElements = configurationElement .getChildren(ELEMENT_PARAMETER); if ((parameterElements == null) || (parameterEl... | 3,224,871 |
private static final ParameterizedCommand readParameters( final IConfigurationElement configurationElement, final List warningsToLog, final Command command) { final IConfigurationElement[] parameterElements = configurationElement .getChildren(ELEMENT_PARAMETER); if ((parameterElements == null) || (parameterEl... | private static final ParameterizedCommand readParameters( final IConfigurationElement configurationElement, final List warningsToLog, final Command command) { final IConfigurationElement[] parameterElements = configurationElement .getChildren(ELEMENT_PARAMETER); if ((parameterElements == null) || (parameterEl... | 3,224,872 |
private static final ParameterizedCommand readParameters( final IConfigurationElement configurationElement, final List warningsToLog, final Command command) { final IConfigurationElement[] parameterElements = configurationElement .getChildren(ELEMENT_PARAMETER); if ((parameterElements == null) || (parameterEl... | private static final ParameterizedCommand readParameters( final IConfigurationElement configurationElement, final List warningsToLog, final Command command) { final IConfigurationElement[] parameterElements = configurationElement .getChildren(ELEMENT_PARAMETER); if ((parameterElements == null) || (parameterEl... | 3,224,873 |
public static IRubyObject chmod(IRubyObject recv, RubyInteger mode, IRubyObject[] names) { // no-op for now return RubyFixnum.newFixnum(recv.getRuntime(), 0); } | public static IRubyObject chmod(IRubyObject recv, RubyInteger mode, IRubyObject[] names) { // no-op for now return RubyFixnum.newFixnum(recv.getRuntime(), 0); } | 3,224,875 |
public IRubyObject initialize(IRubyObject[] args) { if (args.length == 0) { throw new ArgumentError(getRuntime(), 0, 1); } args[0].checkSafeString(); path = args[0].toString(); String mode = "r"; if (args.length > 1 && args[1] instanceof RubyString) { mode = ((RubyStri... | public IRubyObject initialize(IRubyObject[] args) { if (args.length == 0) { throw new ArgumentError(getRuntime(), 0, 1); } args[0].checkSafeString(); path = args[0].toString(); String mode = "r"; if (args.length > 1 && args[1] instanceof RubyString) { mode = ((RubyStri... | 3,224,876 |
protected void createTypesArea(Composite parent) { Font font = parent.getFont(); Composite composite = new Composite(parent, SWT.NONE); composite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); GridLayout layout = new GridLayout(); composite.setLayout(layout); Label ... | protected void createTypesArea(Composite parent) { Font font = parent.getFont(); Composite composite = new Composite(parent, SWT.NONE); composite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); GridLayout layout = new GridLayout(); composite.setLayout(layout); Label ... | 3,224,877 |
public void checkStateChanged(CheckStateChangedEvent event) { updateEnabledState(event.getChecked()); markDirty(); }; | public void checkStateChanged(CheckStateChangedEvent event) { updateEnabledState(event.getChecked()); markDirty(); }; | 3,224,878 |
private Box findBox(MouseEvent evt) { Box box = panel.findBox(evt.getX(), evt.getY()); if (box == null) return null; if (box instanceof LineBox) return null; return box; } | private Box findBox(MouseEvent evt) { Box box = panel.findElementBox(evt.getX(), evt.getY()); if (box == null) return null; if (box instanceof LineBox) return null; return box; } | 3,224,879 |
private void restyle(Box ib) { if (prev == ib) { return; } if (ib == null) panel.hovered_element = null; else panel.hovered_element = ib.getRealElement(); // if moved out of the old block then unstyle it if (prev != null) { boolea... | private void restyle(Box ib) { if (prev == ib) { return; } if (ib == null) panel.hovered_element = null; else panel.hovered_element = ib.getRealElement(); // if moved out of the old block then unstyle it if (prev != null) { boolea... | 3,224,880 |
public static final char[] append(char[] array, char suffix) { if (array == null) return new char[] { suffix }; int length = array.length; System.arraycopy(array, 0, array = new char[length + 1], 0, length); array[length] = suffix; return array;} | public static final char[] append(char[] array, char suffix) { if (array == null) return new char[] { suffix }; int length = array.length; System.arraycopy(array, 0, array = new char[length + 1], 0, length); array[length] = suffix; return array;} | 3,224,881 |
public static final char[][] arrayConcat(char[][] first, char[][] second) { if (first == null) return second; if (second == null) return first; int length1 = first.length; int length2 = second.length; char[][] result = new char[length1 + length2][]; System.arraycopy(first, 0, result, 0, length1); System.arraycopy(sec... | public static final char[][] arrayConcat(char[][] first, char[][] second) { if (first == null) return second; if (second == null) return first; int length1 = first.length; int length2 = second.length; char[][] result = new char[length1 + length2][]; System.arraycopy(first, 0, result, 0, length1); System.arraycopy(sec... | 3,224,882 |
public static final char[][] arrayConcat(char[][] first, char[][] second) { if (first == null) return second; if (second == null) return first; int length1 = first.length; int length2 = second.length; char[][] result = new char[length1 + length2][]; System.arraycopy(first, 0, result, 0, length1); System.arraycopy(sec... | public static final char[][] arrayConcat(char[][] first, char[][] second) { if (first == null) return second; if (second == null) return first; int length1 = first.length; int length2 = second.length; char[][] result = new char[length1 + length2][]; System.arraycopy(first, 0, result, 0, length1); System.arraycopy(sec... | 3,224,883 |
public static String[] charArrayToStringArray(char[][] charArrays) { if (charArrays == null) return null; int length = charArrays.length; if (length == 0) return NO_STRINGS; String[] strings= new String[length]; for (int i= 0; i < length; i++) strings[i]= new String(charArrays[i]); return strings;} | public static String[] charArrayToStringArray(char[][] charArrays) { if (charArrays == null) return null; int length = charArrays.length; if (length == 0) return NO_STRINGS; String[] strings= new String[length]; for (int i= 0; i < length; i++) strings[i]= new String(charArrays[i]); return strings;} | 3,224,884 |
public static String charToString(char[] charArray) { if (charArray == null) return null; return new String(charArray);} | public static String charToString(char[] charArray) { if (charArray == null) return null; return new String(charArray);} | 3,224,885 |
public static final int compareWith(char[] array, char[] prefix) { int arrayLength = array.length; int prefixLength = prefix.length; int min = Math.min(arrayLength, prefixLength); int i = 0; while (min-- != 0) { char c1 = array[i]; char c2 = prefix[i++]; if (c1 != c2) return c1 - c2; } if (prefixLength == i) retu... | public static final int compareWith(char[] array, char[] prefix) { int arrayLength = array.length; int prefixLength = prefix.length; int min = Math.min(arrayLength, prefixLength); int i = 0; while (min-- != 0) { char c1 = array[i]; char c2 = prefix[i++]; if (c1 != c2) return c1 - c2; } if (prefixLength == i) retu... | 3,224,886 |
public static final int compareWith(char[] array, char[] prefix) { int arrayLength = array.length; int prefixLength = prefix.length; int min = Math.min(arrayLength, prefixLength); int i = 0; while (min-- != 0) { char c1 = array[i]; char c2 = prefix[i++]; if (c1 != c2) return c1 - c2; } if (prefixLength == i) retu... | public static final int compareWith(char[] array, char[] prefix) { int arrayLength = array.length; int prefixLength = prefix.length; int min = Math.min(arrayLength, prefixLength); int i = 0; while (min-- != 0) { char c1 = array[i]; char c2 = prefix[i++]; if (c1 != c2) return c1 - c2; } if (prefixLength == i) retu... | 3,224,887 |
public static final char[] concat(char[] first, char[] second) { if (first == null) return second; if (second == null) return first; int length1 = first.length; int length2 = second.length; char[] result = new char[length1 + length2]; System.arraycopy(first, 0, result, 0, length1); System.arraycopy(second, 0, result,... | public static final char[] concat(char[] first, char[] second) { if (first == null) return second; if (second == null) return first; int length1 = first.length; int length2 = second.length; char[] result = new char[length1 + length2]; System.arraycopy(first, 0, result, 0, length1); System.arraycopy(second, 0, result,... | 3,224,888 |
public static final char[] concat(char[] first, char[] second) { if (first == null) return second; if (second == null) return first; int length1 = first.length; int length2 = second.length; char[] result = new char[length1 + length2]; System.arraycopy(first, 0, result, 0, length1); System.arraycopy(second, 0, result,... | public static final char[] concat(char[] first, char[] second) { if (first == null) return second; if (second == null) return first; int length1 = first.length; int length2 = second.length; char[] result = new char[length1 + length2]; System.arraycopy(first, 0, result, 0, length1); System.arraycopy(second, 0, result,... | 3,224,889 |
public static final char[] concatWith( char[] name, char[][] array, char separator) { int nameLength = name == null ? 0 : name.length; if (nameLength == 0) return concatWith(array, separator); int length = array == null ? 0 : array.length; if (length == 0) return name; int size = nameLength; int index = length; while... | public static final char[] concatWith( char[] name, char[][] array, char separator) { int nameLength = name == null ? 0 : name.length; if (nameLength == 0) return concatWith(array, separator); int length = array == null ? 0 : array.length; if (length == 0) return name; int size = nameLength; int index = length; while... | 3,224,890 |
public static final char[] concatWith( char[] name, char[][] array, char separator) { int nameLength = name == null ? 0 : name.length; if (nameLength == 0) return concatWith(array, separator); int length = array == null ? 0 : array.length; if (length == 0) return name; int size = nameLength; int index = length; while... | public static final char[] concatWith( char[] name, char[][] array, char separator) { int nameLength = name == null ? 0 : name.length; if (nameLength == 0) return concatWith(array, separator); int length = array == null ? 0 : array.length; if (length == 0) return name; int size = nameLength; int index = length; while... | 3,224,891 |
public static final char[] concatWith( char[] name, char[][] array, char separator) { int nameLength = name == null ? 0 : name.length; if (nameLength == 0) return concatWith(array, separator); int length = array == null ? 0 : array.length; if (length == 0) return name; int size = nameLength; int index = length; while... | public static final char[] concatWith( char[] name, char[][] array, char separator) { int nameLength = name == null ? 0 : name.length; if (nameLength == 0) return concatWith(array, separator); int length = array == null ? 0 : array.length; if (length == 0) return name; int size = nameLength; int index = length; while... | 3,224,892 |
public static final char[] concatWith( char[] name, char[][] array, char separator) { int nameLength = name == null ? 0 : name.length; if (nameLength == 0) return concatWith(array, separator); int length = array == null ? 0 : array.length; if (length == 0) return name; int size = nameLength; int index = length; while... | public static final char[] concatWith( char[] name, char[][] array, char separator) { int nameLength = name == null ? 0 : name.length; if (nameLength == 0) return concatWith(array, separator); int length = array == null ? 0 : array.length; if (length == 0) return name; int size = nameLength; int index = length; while... | 3,224,893 |
public static final boolean contains(char character, char[][] array) { for (int i = array.length; --i >= 0;) { char[] subarray = array[i]; for (int j = subarray.length; --j >= 0;) if (subarray[j] == character) return true; } return false;} | public static final boolean contains(char character, char[][] array) { for (int i = array.length; --i >= 0;) { char[] subarray = array[i]; for (int j = subarray.length; --j >= 0;) if (subarray[j] == character) return true; } return false;} | 3,224,894 |
public static final boolean contains(char character, char[][] array) { for (int i = array.length; --i >= 0;) { char[] subarray = array[i]; for (int j = subarray.length; --j >= 0;) if (subarray[j] == character) return true; } return false;} | public static final boolean contains(char character, char[][] array) { for (int i = array.length; --i >= 0;) { char[] subarray = array[i]; for (int j = subarray.length; --j >= 0;) if (subarray[j] == character) return true; } return false;} | 3,224,895 |
public static final char[][] deepCopy(char[][] toCopy) { int toCopyLength = toCopy.length; char[][] result = new char[toCopyLength][]; for (int i = 0; i < toCopyLength; i++) { char[] toElement = toCopy[i]; int toElementLength = toElement.length; char[] resultElement = new char[toElementLength]; System.arraycopy(toE... | public static final char[][] deepCopy(char[][] toCopy) { int toCopyLength = toCopy.length; char[][] result = new char[toCopyLength][]; for (int i = 0; i < toCopyLength; i++) { char[] toElement = toCopy[i]; int toElementLength = toElement.length; char[] resultElement = new char[toElementLength]; System.arraycopy(toE... | 3,224,896 |
public static final char[][] deepCopy(char[][] toCopy) { int toCopyLength = toCopy.length; char[][] result = new char[toCopyLength][]; for (int i = 0; i < toCopyLength; i++) { char[] toElement = toCopy[i]; int toElementLength = toElement.length; char[] resultElement = new char[toElementLength]; System.arraycopy(toE... | public static final char[][] deepCopy(char[][] toCopy) { int toCopyLength = toCopy.length; char[][] result = new char[toCopyLength][]; for (int i = 0; i < toCopyLength; i++) { char[] toElement = toCopy[i]; int toElementLength = toElement.length; char[] resultElement = new char[toElementLength]; System.arraycopy(toE... | 3,224,897 |
public static final boolean endsWith(char[] array, char[] toBeFound) { int i = toBeFound.length; int j = array.length - i; if (j < 0) return false; while (--i >= 0) if (toBeFound[i] != array[i + j]) return false; return true;} | public static final boolean endsWith(char[] array, char[] toBeFound) { int i = toBeFound.length; int j = array.length - i; if (j < 0) return false; while (--i >= 0) if (toBeFound[i] != array[i + j]) return false; return true;} | 3,224,898 |
public static final boolean endsWith(char[] array, char[] toBeFound) { int i = toBeFound.length; int j = array.length - i; if (j < 0) return false; while (--i >= 0) if (toBeFound[i] != array[i + j]) return false; return true;} | public static final boolean endsWith(char[] array, char[] toBeFound) { int i = toBeFound.length; int j = array.length - i; if (j < 0) return false; while (--i >= 0) if (toBeFound[i] != array[i + j]) return false; return true;} | 3,224,899 |
public static final boolean endsWith(char[] array, char[] toBeFound) { int i = toBeFound.length; int j = array.length - i; if (j < 0) return false; while (--i >= 0) if (toBeFound[i] != array[i + j]) return false; return true;} | public static final boolean endsWith(char[] array, char[] toBeFound) { int i = toBeFound.length; int j = array.length - i; if (j < 0) return false; while (--i >= 0) if (toBeFound[i] != array[i + j]) return false; return true;} | 3,224,900 |
public static final boolean fragmentEquals( char[] fragment, char[] name, int startIndex, boolean isCaseSensitive) { int max = fragment.length; if (name.length < max + startIndex) return false; if (isCaseSensitive) { for (int i = max; --i >= 0; ) // assumes the prefix is not larger than the name if (fragment[i]... | public static final boolean fragmentEquals( char[] fragment, char[] name, int startIndex, boolean isCaseSensitive) { int max = fragment.length; if (name.length < max + startIndex) return false; if (isCaseSensitive) { for (int i = max; --i >= 0; ) // assumes the prefix is not larger than the name if (fragment[i]... | 3,224,901 |
public static final boolean fragmentEquals( char[] fragment, char[] name, int startIndex, boolean isCaseSensitive) { int max = fragment.length; if (name.length < max + startIndex) return false; if (isCaseSensitive) { for (int i = max; --i >= 0; ) // assumes the prefix is not larger than the name if (fragment[i]... | public static final boolean fragmentEquals( char[] fragment, char[] name, int startIndex, boolean isCaseSensitive) { int max = fragment.length; if (name.length < max + startIndex) return false; if (isCaseSensitive) { for (int i = max; --i >= 0; ) // assumes the prefix is not larger than the name if (fragment[i]... | 3,224,902 |
public static final boolean fragmentEquals( char[] fragment, char[] name, int startIndex, boolean isCaseSensitive) { int max = fragment.length; if (name.length < max + startIndex) return false; if (isCaseSensitive) { for (int i = max; --i >= 0; ) // assumes the prefix is not larger than the name if (fragment[i]... | public static final boolean fragmentEquals( char[] fragment, char[] name, int startIndex, boolean isCaseSensitive) { int max = fragment.length; if (name.length < max + startIndex) return false; if (isCaseSensitive) { for (int i = max; --i >= 0; ) // assumes the prefix is not larger than the name if (fragment[i]... | 3,224,903 |
public static final int hashCode(char[] array) { int length = array.length; int hash = length == 0 ? 31 : array[0]; if (length < 8) { for (int i = length; --i > 0;) hash = (hash * 31) + array[i]; } else { // 8 characters is enough to compute a decent hash code, don't waste time examining every character for (int i... | public static final int hashCode(char[] array) { int length = array.length; int hash = length == 0 ? 31 : array[0]; if (length < 8) { for (int i = length; --i > 0;) hash = (hash * 31) + array[i]; } else { // 8 characters is enough to compute a decent hash code, don't waste time examining every character for (int i... | 3,224,904 |
public static final int hashCode(char[] array) { int length = array.length; int hash = length == 0 ? 31 : array[0]; if (length < 8) { for (int i = length; --i > 0;) hash = (hash * 31) + array[i]; } else { // 8 characters is enough to compute a decent hash code, don't waste time examining every character for (int i... | public static final int hashCode(char[] array) { int length = array.length; int hash = length == 0 ? 31 : array[0]; if (length < 8) { for (int i = length; --i > 0;) hash = (hash * 31) + array[i]; } else { // 8 characters is enough to compute a decent hash code, don't waste time examining every character for (int i... | 3,224,905 |
public static final int indexOf(char toBeFound, char[] array) { return indexOf(toBeFound, array, 0);} | public static final int indexOf(char toBeFound, char[] array) { return indexOf(toBeFound, array, 0);} | 3,224,906 |
public static boolean isWhitespace(char c) { return Character.isWhitespace(c);} | public static boolean isWhitespace(char c) { return Character.isWhitespace(c);} | 3,224,907 |
public static final int lastIndexOf(char toBeFound, char[] array) { for (int i = array.length; --i >= 0;) if (toBeFound == array[i]) return i; return -1;} | public static final int lastIndexOf(char toBeFound, char[] array) { for (int i = array.length; --i >= 0;) if (toBeFound == array[i]) return i; return -1;} | 3,224,908 |
final static public char[] lastSegment(char[] array, char separator) { int pos = lastIndexOf(separator, array); if (pos < 0) return array; return subarray(array, pos + 1, array.length);} | final static public char[] lastSegment(char[] array, char separator) { int pos = lastIndexOf(separator, array); if (pos < 0) return array; return subarray(array, pos + 1, array.length);} | 3,224,909 |
public static final int occurencesOf(char toBeFound, char[] array) { int count = 0; for (int i = 0; i < array.length; i++) if (toBeFound == array[i]) count++; return count;} | public static final int occurencesOf(char toBeFound, char[] array) { int count = 0; for (int i = 0; i < array.length; i++) if (toBeFound == array[i]) count++; return count;} | 3,224,910 |
public static final boolean pathMatch( char[] pattern, char[] filepath, boolean isCaseSensitive, char pathSeparator) { if (filepath == null) return false; // null name cannot match if (pattern == null) return true; // null pattern is equivalent to '*' // offsets inside pattern int pSegmentStart = pattern[0] == pathSe... | public static final boolean pathMatch( char[] pattern, char[] filepath, boolean isCaseSensitive, char pathSeparator) { if (filepath == null) return false; // null name cannot match if (pattern == null) return true; // null pattern is equivalent to '*' // offsets inside pattern int pSegmentStart = pattern[0] == pathSe... | 3,224,911 |
public static final boolean pathMatch( char[] pattern, char[] filepath, boolean isCaseSensitive, char pathSeparator) { if (filepath == null) return false; // null name cannot match if (pattern == null) return true; // null pattern is equivalent to '*' // offsets inside pattern int pSegmentStart = pattern[0] == pathSe... | public static final boolean pathMatch( char[] pattern, char[] filepath, boolean isCaseSensitive, char pathSeparator) { if (filepath == null) return false; // null name cannot match if (pattern == null) return true; // null pattern is equivalent to '*' // offsets inside pattern int pSegmentStart = pattern[0] == pathSe... | 3,224,912 |
public static final boolean pathMatch( char[] pattern, char[] filepath, boolean isCaseSensitive, char pathSeparator) { if (filepath == null) return false; // null name cannot match if (pattern == null) return true; // null pattern is equivalent to '*' // offsets inside pattern int pSegmentStart = pattern[0] == pathSe... | public static final boolean pathMatch( char[] pattern, char[] filepath, boolean isCaseSensitive, char pathSeparator) { if (filepath == null) return false; // null name cannot match if (pattern == null) return true; // null pattern is equivalent to '*' // offsets inside pattern int pSegmentStart = pattern[0] == pathSe... | 3,224,913 |
public static final boolean pathMatch( char[] pattern, char[] filepath, boolean isCaseSensitive, char pathSeparator) { if (filepath == null) return false; // null name cannot match if (pattern == null) return true; // null pattern is equivalent to '*' // offsets inside pattern int pSegmentStart = pattern[0] == pathSe... | public static final boolean pathMatch( char[] pattern, char[] filepath, boolean isCaseSensitive, char pathSeparator) { if (filepath == null) return false; // null name cannot match if (pattern == null) return true; // null pattern is equivalent to '*' // offsets inside pattern int pSegmentStart = pattern[0] == pathSe... | 3,224,914 |
public static final boolean pathMatch( char[] pattern, char[] filepath, boolean isCaseSensitive, char pathSeparator) { if (filepath == null) return false; // null name cannot match if (pattern == null) return true; // null pattern is equivalent to '*' // offsets inside pattern int pSegmentStart = pattern[0] == pathSe... | public static final boolean pathMatch( char[] pattern, char[] filepath, boolean isCaseSensitive, char pathSeparator) { if (filepath == null) return false; // null name cannot match if (pattern == null) return true; // null pattern is equivalent to '*' // offsets inside pattern int pSegmentStart = pattern[0] == pathSe... | 3,224,915 |
public static final boolean pathMatch( char[] pattern, char[] filepath, boolean isCaseSensitive, char pathSeparator) { if (filepath == null) return false; // null name cannot match if (pattern == null) return true; // null pattern is equivalent to '*' // offsets inside pattern int pSegmentStart = pattern[0] == pathSe... | public static final boolean pathMatch( char[] pattern, char[] filepath, boolean isCaseSensitive, char pathSeparator) { if (filepath == null) return false; // null name cannot match if (pattern == null) return true; // null pattern is equivalent to '*' // offsets inside pattern int pSegmentStart = pattern[0] == pathSe... | 3,224,916 |
public static final boolean pathMatch( char[] pattern, char[] filepath, boolean isCaseSensitive, char pathSeparator) { if (filepath == null) return false; // null name cannot match if (pattern == null) return true; // null pattern is equivalent to '*' // offsets inside pattern int pSegmentStart = pattern[0] == pathSe... | public static final boolean pathMatch( char[] pattern, char[] filepath, boolean isCaseSensitive, char pathSeparator) { if (filepath == null) return false; // null name cannot match if (pattern == null) return true; // null pattern is equivalent to '*' // offsets inside pattern int pSegmentStart = pattern[0] == pathSe... | 3,224,917 |
public static final boolean pathMatch( char[] pattern, char[] filepath, boolean isCaseSensitive, char pathSeparator) { if (filepath == null) return false; // null name cannot match if (pattern == null) return true; // null pattern is equivalent to '*' // offsets inside pattern int pSegmentStart = pattern[0] == pathSe... | public static final boolean pathMatch( char[] pattern, char[] filepath, boolean isCaseSensitive, char pathSeparator) { if (filepath == null) return false; // null name cannot match if (pattern == null) return true; // null pattern is equivalent to '*' // offsets inside pattern int pSegmentStart = pattern[0] == pathSe... | 3,224,918 |
public static final char[] remove(char[] array, char toBeRemoved) { if (array == null) return null; int length = array.length; if (length == 0) return array; char[] result = null; int count = 0; for (int i = 0; i < length; i++) { char c = array[i]; if (c == toBeRemoved) { if (result == null) { result = new char[... | public static final char[] remove(char[] array, char toBeRemoved) { if (array == null) return null; int length = array.length; if (length == 0) return array; char[] result = null; int count = 0; for (int i = 0; i < length; i++) { char c = array[i]; if (c == toBeRemoved) { if (result == null) { result = new char[... | 3,224,919 |
public static final char[] remove(char[] array, char toBeRemoved) { if (array == null) return null; int length = array.length; if (length == 0) return array; char[] result = null; int count = 0; for (int i = 0; i < length; i++) { char c = array[i]; if (c == toBeRemoved) { if (result == null) { result = new char[... | public static final char[] remove(char[] array, char toBeRemoved) { if (array == null) return null; int length = array.length; if (length == 0) return array; char[] result = null; int count = 0; for (int i = 0; i < length; i++) { char c = array[i]; if (c == toBeRemoved) { if (result == null) { result = new char[... | 3,224,920 |
public static final char[] remove(char[] array, char toBeRemoved) { if (array == null) return null; int length = array.length; if (length == 0) return array; char[] result = null; int count = 0; for (int i = 0; i < length; i++) { char c = array[i]; if (c == toBeRemoved) { if (result == null) { result = new char[... | public static final char[] remove(char[] array, char toBeRemoved) { if (array == null) return null; int length = array.length; if (length == 0) return array; char[] result = null; int count = 0; for (int i = 0; i < length; i++) { char c = array[i]; if (c == toBeRemoved) { if (result == null) { result = new char[... | 3,224,921 |
public static final void replace( char[] array, char toBeReplaced, char replacementChar) { if (toBeReplaced != replacementChar) { for (int i = 0, max = array.length; i < max; i++) { if (array[i] == toBeReplaced) array[i] = replacementChar; } }} | public static final void replace( char[] array, char toBeReplaced, char replacementChar) { if (toBeReplaced != replacementChar) { for (int i = 0, max = array.length; i < max; i++) { if (array[i] == toBeReplaced) array[i] = replacementChar; } }} | 3,224,922 |
public static final void replace( char[] array, char toBeReplaced, char replacementChar) { if (toBeReplaced != replacementChar) { for (int i = 0, max = array.length; i < max; i++) { if (array[i] == toBeReplaced) array[i] = replacementChar; } }} | public static final void replace( char[] array, char toBeReplaced, char replacementChar) { if (toBeReplaced != replacementChar) { for (int i = 0, max = array.length; i < max; i++) { if (array[i] == toBeReplaced) array[i] = replacementChar; } }} | 3,224,923 |
public static final char[] replaceOnCopy( char[] array, char toBeReplaced, char replacementChar) { char[] result = null; for (int i = 0, length = array.length; i < length; i++) { char c = array[i]; if (c == toBeReplaced) { if (result == null) { result = new char[length]; System.arraycopy(array, 0, result, 0,... | public static final char[] replaceOnCopy( char[] array, char toBeReplaced, char replacementChar) { char[] result = null; for (int i = 0, length = array.length; i < length; i++) { char c = array[i]; if (c == toBeReplaced) { if (result == null) { result = new char[length]; System.arraycopy(array, 0, result, 0,... | 3,224,924 |
public static final char[] replaceOnCopy( char[] array, char toBeReplaced, char replacementChar) { char[] result = null; for (int i = 0, length = array.length; i < length; i++) { char c = array[i]; if (c == toBeReplaced) { if (result == null) { result = new char[length]; System.arraycopy(array, 0, result, 0,... | public static final char[] replaceOnCopy( char[] array, char toBeReplaced, char replacementChar) { char[] result = null; for (int i = 0, length = array.length; i < length; i++) { char c = array[i]; if (c == toBeReplaced) { if (result == null) { result = new char[length]; System.arraycopy(array, 0, result, 0,... | 3,224,925 |
public static final char[] replaceOnCopy( char[] array, char toBeReplaced, char replacementChar) { char[] result = null; for (int i = 0, length = array.length; i < length; i++) { char c = array[i]; if (c == toBeReplaced) { if (result == null) { result = new char[length]; System.arraycopy(array, 0, result, 0,... | public static final char[] replaceOnCopy( char[] array, char toBeReplaced, char replacementChar) { char[] result = null; for (int i = 0, length = array.length; i < length; i++) { char c = array[i]; if (c == toBeReplaced) { if (result == null) { result = new char[length]; System.arraycopy(array, 0, result, 0,... | 3,224,926 |
public static final char[][] splitAndTrimOn(char divider, char[] array) { int length = array == null ? 0 : array.length; if (length == 0) return NO_CHAR_CHAR; int wordCount = 1; for (int i = 0; i < length; i++) if (array[i] == divider) wordCount++; char[][] split = new char[wordCount][]; int last = 0, currentWord =... | public static final char[][] splitAndTrimOn(char divider, char[] array) { int length = array == null ? 0 : array.length; if (length == 0) return NO_CHAR_CHAR; int wordCount = 1; for (int i = 0; i < length; i++) if (array[i] == divider) wordCount++; char[][] split = new char[wordCount][]; int last = 0, currentWord =... | 3,224,927 |
public static final char[][] splitAndTrimOn(char divider, char[] array) { int length = array == null ? 0 : array.length; if (length == 0) return NO_CHAR_CHAR; int wordCount = 1; for (int i = 0; i < length; i++) if (array[i] == divider) wordCount++; char[][] split = new char[wordCount][]; int last = 0, currentWord =... | public static final char[][] splitAndTrimOn(char divider, char[] array) { int length = array == null ? 0 : array.length; if (length == 0) return NO_CHAR_CHAR; int wordCount = 1; for (int i = 0; i < length; i++) if (array[i] == divider) wordCount++; char[][] split = new char[wordCount][]; int last = 0, currentWord =... | 3,224,928 |
public static final char[][] splitAndTrimOn(char divider, char[] array) { int length = array == null ? 0 : array.length; if (length == 0) return NO_CHAR_CHAR; int wordCount = 1; for (int i = 0; i < length; i++) if (array[i] == divider) wordCount++; char[][] split = new char[wordCount][]; int last = 0, currentWord =... | public static final char[][] splitAndTrimOn(char divider, char[] array) { int length = array == null ? 0 : array.length; if (length == 0) return NO_CHAR_CHAR; int wordCount = 1; for (int i = 0; i < length; i++) if (array[i] == divider) wordCount++; char[][] split = new char[wordCount][]; int last = 0, currentWord =... | 3,224,929 |
public static final char[][] splitOn(char divider, char[] array) { int length = array == null ? 0 : array.length; if (length == 0) return NO_CHAR_CHAR; int wordCount = 1; for (int i = 0; i < length; i++) if (array[i] == divider) wordCount++; char[][] split = new char[wordCount][]; int last = 0, currentWord = 0; for... | public static final char[][] splitOn(char divider, char[] array) { int length = array == null ? 0 : array.length; if (length == 0) return NO_CHAR_CHAR; int wordCount = 1; for (int i = 0; i < length; i++) if (array[i] == divider) wordCount++; char[][] split = new char[wordCount][]; int last = 0, currentWord = 0; for... | 3,224,930 |
public static final char[][] splitOn(char divider, char[] array) { int length = array == null ? 0 : array.length; if (length == 0) return NO_CHAR_CHAR; int wordCount = 1; for (int i = 0; i < length; i++) if (array[i] == divider) wordCount++; char[][] split = new char[wordCount][]; int last = 0, currentWord = 0; for... | public static final char[][] splitOn(char divider, char[] array) { int length = array == null ? 0 : array.length; if (length == 0) return NO_CHAR_CHAR; int wordCount = 1; for (int i = 0; i < length; i++) if (array[i] == divider) wordCount++; char[][] split = new char[wordCount][]; int last = 0, currentWord = 0; for... | 3,224,931 |
public static final char[][] splitOn(char divider, char[] array) { int length = array == null ? 0 : array.length; if (length == 0) return NO_CHAR_CHAR; int wordCount = 1; for (int i = 0; i < length; i++) if (array[i] == divider) wordCount++; char[][] split = new char[wordCount][]; int last = 0, currentWord = 0; for... | public static final char[][] splitOn(char divider, char[] array) { int length = array == null ? 0 : array.length; if (length == 0) return NO_CHAR_CHAR; int wordCount = 1; for (int i = 0; i < length; i++) if (array[i] == divider) wordCount++; char[][] split = new char[wordCount][]; int last = 0, currentWord = 0; for... | 3,224,932 |
public static final char[][] subarray(char[][] array, int start, int end) { if (end == -1) end = array.length; if (start > end) return null; if (start < 0) return null; if (end > array.length) return null; char[][] result = new char[end - start][]; System.arraycopy(array, start, result, 0, end - start); return resu... | public static final char[][] subarray(char[][] array, int start, int end) { if (end == -1) end = array.length; if (start > end) return null; if (start < 0) return null; if (end > array.length) return null; char[][] result = new char[end - start][]; System.arraycopy(array, start, result, 0, end - start); return resu... | 3,224,933 |
public static final char[][] subarray(char[][] array, int start, int end) { if (end == -1) end = array.length; if (start > end) return null; if (start < 0) return null; if (end > array.length) return null; char[][] result = new char[end - start][]; System.arraycopy(array, start, result, 0, end - start); return resu... | public static final char[][] subarray(char[][] array, int start, int end) { if (end == -1) end = array.length; if (start > end) return null; if (start < 0) return null; if (end > array.length) return null; char[][] result = new char[end - start][]; System.arraycopy(array, start, result, 0, end - start); return resu... | 3,224,934 |
final static public String toString(char[][] array) { char[] result = concatWith(array, '.'); return new String(result);} | final static public String toString(char[][] array) { char[] result = concatWith(array, '.'); return new String(result);} | 3,224,935 |
final static public String[] toStrings(char[][] array) { if (array == null) return NO_STRINGS; int length = array.length; if (length == 0) return NO_STRINGS; String[] result = new String[length]; for (int i = 0; i < length; i++) result[i] = new String(array[i]); return result;} | final static public String[] toStrings(char[][] array) { if (array == null) return NO_STRINGS; int length = array.length; if (length == 0) return NO_STRINGS; String[] result = new String[length]; for (int i = 0; i < length; i++) result[i] = new String(array[i]); return result;} | 3,224,936 |
final static public char[] trim(char[] chars) { if (chars == null) return null; int start = 0, length = chars.length, end = length - 1; while (start < length && chars[start] == ' ') { start++; } while (end > start && chars[end] == ' ') { end--; } if (start != 0 || end != length - 1) { return subarray(chars, start, ... | final static public char[] trim(char[] chars) { if (chars == null) return null; int start = 0, length = chars.length, end = length - 1; while (start < length && chars[start] == ' ') { start++; } while (end > start && chars[end] == ' ') { end--; } if (start != 0 || end != length - 1) { return subarray(chars, start, ... | 3,224,937 |
final static public char[] trim(char[] chars) { if (chars == null) return null; int start = 0, length = chars.length, end = length - 1; while (start < length && chars[start] == ' ') { start++; } while (end > start && chars[end] == ' ') { end--; } if (start != 0 || end != length - 1) { return subarray(chars, start, ... | final static public char[] trim(char[] chars) { if (chars == null) return null; int start = 0, length = chars.length, end = length - 1; while (start < length && chars[start] == ' ') { start++; } while (end > start && chars[end] == ' ') { end--; } if (start != 0 || end != length - 1) { return subarray(chars, start, ... | 3,224,938 |
final static public char[] trim(char[] chars) { if (chars == null) return null; int start = 0, length = chars.length, end = length - 1; while (start < length && chars[start] == ' ') { start++; } while (end > start && chars[end] == ' ') { end--; } if (start != 0 || end != length - 1) { return subarray(chars, start, ... | final static public char[] trim(char[] chars) { if (chars == null) return null; int start = 0, length = chars.length, end = length - 1; while (start < length && chars[start] == ' ') { start++; } while (end > start && chars[end] == ' ') { end--; } if (start != 0 || end != length - 1) { return subarray(chars, start, ... | 3,224,939 |
private String buildContextForTemplate (int index, VelocityPortlet portlet, Context context, RunData data, SessionState state) { String realmId = ""; String site_type = ""; String sortedBy = ""; String sortedAsc = ""; ParameterParser params = data.getParameters (); context.put("tlang",rb); context.put(... | private String buildContextForTemplate (int index, VelocityPortlet portlet, Context context, RunData data, SessionState state) { String realmId = ""; String site_type = ""; String sortedBy = ""; String sortedAsc = ""; ParameterParser params = data.getParameters (); context.put("tlang",rb); context.put(... | 3,224,940 |
protected IRubyObject invokeMethod(IRubyObject recv, Object[] methodArgs) { if (isRestArgs) { methodArgs = packageRestArgumentsForReflection(methodArgs); } try { return invokeMethod0(recv, methodArgs); } catch (InvocationTargetException e) { if (e.getTargetException() i... | protected IRubyObject invokeMethod(IRubyObject recv, Object[] methodArgs) { if (isRestArgs) { methodArgs = packageRestArgumentsForReflection(methodArgs); } try { return invokeMethod0(recv, methodArgs); } catch (InvocationTargetException e) { if (e.getTargetException() i... | 3,224,941 |
protected IRubyObject invokeMethod(IRubyObject recv, Object[] methodArgs) { if (isRestArgs) { methodArgs = packageRestArgumentsForReflection(methodArgs); } try { return invokeMethod0(recv, methodArgs); } catch (InvocationTargetException e) { if (e.getTargetException() i... | protected IRubyObject invokeMethod(IRubyObject recv, Object[] methodArgs) { if (isRestArgs) { methodArgs = packageRestArgumentsForReflection(methodArgs); } try { return invokeMethod0(recv, methodArgs); } catch (InvocationTargetException e) { if (e.getTargetException() i... | 3,224,942 |
public Box calculateBoxes(int avail_width, TableBox box, Context c, Table table) { box.width = avail_width; box.height = 100; box.x = 5; box.y = 5; // create a dummy prev row RowBox prev_row = new RowBox(0,0,0,0); int max_width = 0; // loop thr... | public Box calculateBoxes(int avail_width, TableBox box, Context c, Table table) { box.width = avail_width; box.height = 100; box.x = 5; box.y = 5; ... | 3,224,943 |
public Box calculateBoxes(int avail_width, TableBox box, Context c, Table table) { box.width = avail_width; box.height = 100; box.x = 5; box.y = 5; // create a dummy prev row RowBox prev_row = new RowBox(0,0,0,0); int max_width = 0; // loop thr... | public Box calculateBoxes(int avail_width, TableBox box, Context c, Table table) { box.width = avail_width; box.height = 100; box.x = 5; box.y = 5; // create a dummy prev row RowBox prev_row = new RowBox(0,0,0,0); int max_width = 0; // loop thr... | 3,224,944 |
public Box calculateBoxes(int avail_width, TableBox box, Context c, Table table) { box.width = avail_width; box.height = 100; box.x = 5; box.y = 5; // create a dummy prev row RowBox prev_row = new RowBox(0,0,0,0); int max_width = 0; // loop thr... | public Box calculateBoxes(int avail_width, TableBox box, Context c, Table table) { box.width = avail_width; box.height = 100; box.x = 5; box.y = 5; // create a dummy prev row RowBox prev_row = new RowBox(0,0,0,0); int max_width = 0; // loop thr... | 3,224,945 |
public Box calculateBoxes(int avail_width, TableBox box, Context c, Table table) { box.width = avail_width; box.height = 100; box.x = 5; box.y = 5; // create a dummy prev row RowBox prev_row = new RowBox(0,0,0,0); int max_width = 0; // loop thr... | public Box calculateBoxes(int avail_width, TableBox box, Context c, Table table) { box.width = avail_width; box.height = 100; box.x = 5; box.y = 5; // create a dummy prev row RowBox prev_row = new RowBox(0,0,0,0); int max_width = 0; // loop thr... | 3,224,946 |
public Box layout(Context c, Element elem) { try { //u.p("\n====\nLayout"); // create the table box TableBox table_box = (TableBox)createBox(c, elem); // set up the border spacing float border_spacing = c.css.getFloatProperty(elem, ... | public Box layout(Context c, Element elem) { //u.p("\n====\nLayout"); // create the table box TableBox table_box = (TableBox)createBox(c, elem); // set up the border spacing float border_spacing = c.css.getFloatProperty(elem, ... | 3,224,947 |
public Box layout(Context c, Element elem) { try { //u.p("\n====\nLayout"); // create the table box TableBox table_box = (TableBox)createBox(c, elem); // set up the border spacing float border_spacing = c.css.getFloatProperty(elem, ... | public Box layout(Context c, Element elem) { try { //u.p("\n====\nLayout"); // create the table box TableBox table_box = (TableBox)createBox(c, elem); // set up the border spacing float border_spacing = c.css.getFloatProperty(elem, ... | 3,224,948 |
public Box layout(Context c, Element elem) { try { //u.p("\n====\nLayout"); // create the table box TableBox table_box = (TableBox)createBox(c, elem); // set up the border spacing float border_spacing = c.css.getFloatProperty(elem, ... | public Box layout(Context c, Element elem) { try { //u.p("\n====\nLayout"); // create the table box TableBox table_box = (TableBox)createBox(c, elem); // set up the border spacing float border_spacing = c.css.getFloatProperty(elem, ... | 3,224,949 |
public Box layout(Context c, Element elem) { try { //u.p("\n====\nLayout"); // create the table box TableBox table_box = (TableBox)createBox(c, elem); // set up the border spacing float border_spacing = c.css.getFloatProperty(elem, ... | public Box layout(Context c, Element elem) { try { //u.p("\n====\nLayout"); // create the table box TableBox table_box = (TableBox)createBox(c, elem); // set up the border spacing float border_spacing = c.css.getFloatProperty(elem, ... | 3,224,950 |
public RubyObject length() { long size = 0; if (begin.funcall(">", end).isTrue()) { return new RubyFixnum(getRuby(), 0); } if (begin instanceof RubyFixnum && end instanceof RubyFixnum) { size = ((RubyNumeric) end).getLongValue() - ((RubyNumeric) begin).getLongValue(... | public RubyFixnum length() { long size = 0; if (begin.funcall(">", end).isTrue()) { return new RubyFixnum(getRuby(), 0); } if (begin instanceof RubyFixnum && end instanceof RubyFixnum) { size = ((RubyNumeric) end).getLongValue() - ((RubyNumeric) begin).getLongValue(... | 3,224,951 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.