bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public Component getComponentAfter (Container root, Component current) { if (root == null) throw new IllegalArgumentException ("focus cycle root is null"); if (current == null) throw new IllegalArgumentException ("current component is null"); if (!root.isFocusCycleRoot ()) throw new IllegalAr...
public Component getComponentAfter (Container root, Component current) { if (root == null) throw new IllegalArgumentException ("focus cycle root is null"); if (current == null) throw new IllegalArgumentException ("current component is null"); if (!root.isFocusCycleRoot ()) throw new IllegalAr...
22,902
public Component getComponentAfter (Container root, Component current) { if (root == null) throw new IllegalArgumentException ("focus cycle root is null"); if (current == null) throw new IllegalArgumentException ("current component is null"); if (!root.isFocusCycleRoot ()) throw new IllegalAr...
publicComponentgetComponentAfter(Containerroot,Componentcurrent){if(root==null)thrownewIllegalArgumentException("focuscyclerootisnull");if(current==null)thrownewIllegalArgumentException("currentcomponentisnull");if(!root.isFocusCycleRoot())thrownewIllegalArgumentException("rootisnotafocuscycleroot");Containerancestor=c...
22,903
public Component getComponentAfter (Container root, Component current) { if (root == null) throw new IllegalArgumentException ("focus cycle root is null"); if (current == null) throw new IllegalArgumentException ("current component is null"); if (!root.isFocusCycleRoot ()) throw new IllegalAr...
public Component getComponentAfter (Container root, Component current) { if (root == null) throw new IllegalArgumentException ("focus cycle root is null"); if (current == null) throw new IllegalArgumentException ("current component is null"); if (!root.isFocusCycleRoot ()) throw new IllegalAr...
22,904
public Component getComponentAfter (Container root, Component current) { if (root == null) throw new IllegalArgumentException ("focus cycle root is null"); if (current == null) throw new IllegalArgumentException ("current component is null"); if (!root.isFocusCycleRoot ()) throw new IllegalAr...
public Component getComponentAfter (Container root, Component current) { if (root == null) throw new IllegalArgumentException ("focus cycle root is null"); if (current == null) throw new IllegalArgumentException ("current component is null"); if (!root.isFocusCycleRoot ()) throw new IllegalAr...
22,905
public Component getComponentAfter (Container root, Component current) { if (root == null) throw new IllegalArgumentException ("focus cycle root is null"); if (current == null) throw new IllegalArgumentException ("current component is null"); if (!root.isFocusCycleRoot ()) throw new IllegalAr...
publicComponentgetComponentAfter(Containerroot,Componentcurrent){if(root==null)thrownewIllegalArgumentException("focuscyclerootisnull");if(current==null)thrownewIllegalArgumentException("currentcomponentisnull");if(!root.isFocusCycleRoot())thrownewIllegalArgumentException("rootisnotafocuscycleroot");Containerancestor=c...
22,906
public Component getComponentBefore (Container root, Component current) { if (root == null) throw new IllegalArgumentException ("focus cycle root is null"); if (current == null) throw new IllegalArgumentException ("current component is null"); if (!root.isFocusCycleRoot ()) throw new IllegalA...
public Component getComponentBefore (Container root, Component current) { if (root == null) throw new IllegalArgumentException ("focus cycle root is null"); if (current == null) throw new IllegalArgumentException ("current component is null"); if (!root.isFocusCycleRoot ()) throw new IllegalA...
22,907
public Component getComponentBefore (Container root, Component current) { if (root == null) throw new IllegalArgumentException ("focus cycle root is null"); if (current == null) throw new IllegalArgumentException ("current component is null"); if (!root.isFocusCycleRoot ()) throw new IllegalA...
public Component getComponentBefore (Container root, Component current) { if (root == null) throw new IllegalArgumentException ("focus cycle root is null"); if (current == null) throw new IllegalArgumentException ("current component is null"); if (!root.isFocusCycleRoot ()) throw new IllegalA...
22,908
public Component getFirstComponent(Container root) { if (root == null) throw new IllegalArgumentException (); if (!root.isVisible () || !root.isDisplayable ()) return null; if (accept (root)) return root; Component[] componentArray = root.getComponents (); for (int i = 0; i < c...
public Component getFirstComponent(Container root) { if (root == null) throw new IllegalArgumentException (); if (!root.isVisible () || !root.isDisplayable ()) return null; if (root.visible && root.isDisplayable() && root.enabled && root.focusable) return root; Component[] componentAr...
22,909
public Component getFirstComponent(Container root) { if (root == null) throw new IllegalArgumentException (); if (!root.isVisible () || !root.isDisplayable ()) return null; if (accept (root)) return root; Component[] componentArray = root.getComponents (); for (int i = 0; i < c...
public Component getFirstComponent(Container root) { if (root == null) throw new IllegalArgumentException (); if (!root.isVisible () || !root.isDisplayable ()) return null; if (accept (root)) return root; Component[] componentArray = root.getComponents (); for (int i = 0; i < c...
22,910
public Component getFirstComponent(Container root) { if (root == null) throw new IllegalArgumentException (); if (!root.isVisible () || !root.isDisplayable ()) return null; if (accept (root)) return root; Component[] componentArray = root.getComponents (); for (int i = 0; i < c...
public Component getFirstComponent(Container root) { if (root == null) throw new IllegalArgumentException (); if (!root.isVisible () || !root.isDisplayable ()) return null; if (accept (root)) return root; Component[] componentArray = root.getComponents (); for (int i = 0; i < c...
22,911
public Component getLastComponent (Container root) { if (root == null) throw new IllegalArgumentException (); if (!root.isVisible () || !root.isDisplayable ()) return null; if (accept (root)) return root; Component[] componentArray = root.getComponents (); for (int i = compon...
public Component getLastComponent (Container root) { if (root == null) throw new IllegalArgumentException (); if (!root.isVisible () || !root.isDisplayable ()) return null; if (root.visible && root.isDisplayable() && root.enabled && root.focusable) return root; Component[] component...
22,912
public Component getLastComponent (Container root) { if (root == null) throw new IllegalArgumentException (); if (!root.isVisible () || !root.isDisplayable ()) return null; if (accept (root)) return root; Component[] componentArray = root.getComponents (); for (int i = compon...
public Component getLastComponent (Container root) { if (root == null) throw new IllegalArgumentException (); if (!root.isVisible () || !root.isDisplayable ()) return null; if (accept (root)) return root; Component[] componentArray = root.getComponents (); for (int i = compon...
22,913
public Component getLastComponent (Container root) { if (root == null) throw new IllegalArgumentException (); if (!root.isVisible () || !root.isDisplayable ()) return null; if (accept (root)) return root; Component[] componentArray = root.getComponents (); for (int i = compon...
public Component getLastComponent (Container root) { if (root == null) throw new IllegalArgumentException (); if (!root.isVisible () || !root.isDisplayable ()) return null; if (accept (root)) return root; Component[] componentArray = root.getComponents (); for (int i = compon...
22,914
public String getMessage() { return super.getMessage() + (index >= 0 ? " at index " + index : "") + ": " + input; }
public String getMessage() { return super.getMessage() + (index >= 0 ? " at index " + index : "") + ": " + input; }
22,915
public ServiceContextListHolder(ServiceContext[] initialValue) { value = initialValue; }
public ServiceContextListHolder() { value = initialValue; }
22,916
public ServiceContextListHolder(ServiceContext[] initialValue) { value = initialValue; }
public ServiceContextListHolder(ServiceContext[] initialValue) { }
22,917
public int getViewIndex(int pos, Position.Bias b) { return getElement().getElementIndex(pos); }
public int getViewIndex(int pos, Position.Bias b) { int index = -1; int i = 0; for (Iterator it = children.iterator(); it.hasNext(); i++) { View child = (View) it.next(); if (child.getStartOffset() >= pos && child.getEndOffset() < pos) { index = i; break; } } return index; }
22,920
protected int getViewIndexAtPosition(int pos) { // We have one child view allocated for each child element in // loadChildren(), so this should work. Element el = getElement(); int index = el.getElementIndex(pos); return index; }
protected int getViewIndexAtPosition(int pos) { // We have one child view allocated for each child element in // loadChildren(), so this should work. Element el = getElement(); int index = el.getElementIndex(pos); return index; }
22,921
public void update(Graphics g, JComponent c) { if (c.isOpaque()) { g.setColor(c.getBackground()); g.fillRect(0, 0, c.getWidth(), c.getHeight()); } paint(g, c); }
public void update(Graphics g, JComponent c) { if (c.isOpaque()) { g.setColor(c.getBackground()); Rectangle clip = g.getClipBounds(); g.fillRect(clip.x, clip.y, clip.width, clip.height); } paint(g, c); }
22,922
public int getCrossFeedResolution(int units) { if (units < 1) throw new IllegalArgumentException("units may not be less then 1"); int rount = units / 2; return (crossFeedResolution + units) / units; }
public int getCrossFeedResolution(int units) { if (units < 1) throw new IllegalArgumentException("units may not be less then 1"); return (crossFeedResolution + units) / units; }
22,923
public int getFeedResolution(int units) { if (units < 1) throw new IllegalArgumentException("units may not be less then 1"); int rount = units / 2; return (crossFeedResolution + units) / units; }
public int getFeedResolution(int units) { if (units < 1) throw new IllegalArgumentException("units may not be less then 1"); return (crossFeedResolution + units) / units; }
22,924
protected void fireValueChanged(int firstIndex, int lastIndex) { fireValueChanged(firstIndex, lastIndex, getValueIsAdjusting()); }
protected void fireValueChanged(boolean isAdjusting) { fireValueChanged(firstIndex, lastIndex, getValueIsAdjusting()); }
22,925
protected void fireValueChanged(int firstIndex, int lastIndex) { fireValueChanged(firstIndex, lastIndex, getValueIsAdjusting()); }
protected void fireValueChanged(int firstIndex, int lastIndex) { fireValueChanged(getMinSelectionIndex(), getMaxSelectionIndex(), isAdjusting); }
22,926
public static Border createLineBorder(Color color) { return null; }
public static Border createLineBorder(Color color) { return createLineBorder(color, 1); }
22,928
private void installNewProvider() { log.entering("Main", "installNewProvider"); String providerName = provider.getName(); log.info("About to install new provider: " + providerName); // we need to override security checks Boolean result = (Boolean) AccessController.doPrivileged(new PrivilegedAction() ...
private void installNewProvider() { log.entering(this.getClass().getName(), "installNewProvider"); String providerName = provider.getName(); log.info("About to install new provider: " + providerName); // we need to override security checks Boolean result = (Boolean) AccessController.doPrivileged(new P...
22,929
private void installNewProvider() { log.entering("Main", "installNewProvider"); String providerName = provider.getName(); log.info("About to install new provider: " + providerName); // we need to override security checks Boolean result = (Boolean) AccessController.doPrivileged(new PrivilegedAction() ...
private void installNewProvider() { log.entering("Main", "installNewProvider"); String providerName = provider.getName(); log.info("About to install new provider: " + providerName); // we need to override security checks Boolean result = (Boolean) AccessController.doPrivileged(new PrivilegedAction() ...
22,930
private void installNewProvider() { log.entering("Main", "installNewProvider"); String providerName = provider.getName(); log.info("About to install new provider: " + providerName); // we need to override security checks Boolean result = (Boolean) AccessController.doPrivileged(new PrivilegedAction() ...
private void installNewProvider() { log.entering("Main", "installNewProvider"); String providerName = provider.getName(); log.info("About to install new provider: " + providerName); // we need to override security checks Boolean result = (Boolean) AccessController.doPrivileged(new PrivilegedAction() ...
22,931
public static final void main(String[] args) { log.entering("Main", "main", args); Main tool = new Main(); try { tool.processArgs(args); tool.start(); } catch (SecurityException x) { log.throwing("Main", "main", x); System.err.println("jarsigner: " + x.getMessag...
public static final void main(String[] args) { log.entering(Main.class.getName(), "main", args); Main tool = new Main(); try { tool.processArgs(args); tool.start(); } catch (SecurityException x) { log.throwing("Main", "main", x); System.err.println("jarsigner: "...
22,932
public static final void main(String[] args) { log.entering("Main", "main", args); Main tool = new Main(); try { tool.processArgs(args); tool.start(); } catch (SecurityException x) { log.throwing("Main", "main", x); System.err.println("jarsigner: " + x.getMessag...
public static final void main(String[] args) { log.entering("Main", "main", args); Main tool = new Main(); try { tool.processArgs(args); tool.start(); } catch (SecurityException x) { log.throwing("Main", "main", x); System.err.println("jarsigner: " + x.getMessag...
22,933
public static final void main(String[] args) { log.entering("Main", "main", args); Main tool = new Main(); try { tool.processArgs(args); tool.start(); } catch (SecurityException x) { log.throwing("Main", "main", x); System.err.println("jarsigner: " + x.getMessag...
public static final void main(String[] args) { log.entering("Main", "main", args); Main tool = new Main(); try { tool.processArgs(args); tool.start(); } catch (SecurityException x) { log.throwing("Main", "main", x); System.err.println("jarsigner: " + x.getMessag...
22,934
public static final void main(String[] args) { log.entering("Main", "main", args); Main tool = new Main(); try { tool.processArgs(args); tool.start(); } catch (SecurityException x) { log.throwing("Main", "main", x); System.err.println("jarsigner: " + x.getMessag...
public static final void main(String[] args) { log.entering("Main", "main", args); Main tool = new Main(); try { tool.processArgs(args); tool.start(); } catch (SecurityException x) { log.throwing("Main", "main", x); System.err.println("jarsigner: " + x.getMessag...
22,935
private void processArgs(String[] args) throws Exception { log.entering("Main", "processArgs", args); HelpPrinter.checkHelpKey(args, HELP_PATH); if (args == null || args.length == 0) HelpPrinter.printHelpAndExit(HELP_PATH); int limit = args.length; log.finest("args.length=" + limit); int i = 0...
private void processArgs(String[] args) throws Exception { log.entering(this.getClass().getName(), "processArgs", args); HelpPrinter.checkHelpKey(args, HELP_PATH); if (args == null || args.length == 0) HelpPrinter.printHelpAndExit(HELP_PATH); int limit = args.length; log.finest("args.length=" + l...
22,936
private void processArgs(String[] args) throws Exception { log.entering("Main", "processArgs", args); HelpPrinter.checkHelpKey(args, HELP_PATH); if (args == null || args.length == 0) HelpPrinter.printHelpAndExit(HELP_PATH); int limit = args.length; log.finest("args.length=" + limit); int i = 0...
private void processArgs(String[] args) throws Exception { log.entering("Main", "processArgs", args); HelpPrinter.checkHelpKey(args, HELP_PATH); if (args == null || args.length == 0) HelpPrinter.printHelpAndExit(HELP_PATH); int limit = args.length; log.finest("args.length=" + limit); int i = 0...
22,937
private void processArgs(String[] args) throws Exception { log.entering("Main", "processArgs", args); HelpPrinter.checkHelpKey(args, HELP_PATH); if (args == null || args.length == 0) HelpPrinter.printHelpAndExit(HELP_PATH); int limit = args.length; log.finest("args.length=" + limit); int i = 0...
private void processArgs(String[] args) throws Exception { log.entering("Main", "processArgs", args); HelpPrinter.checkHelpKey(args, HELP_PATH); if (args == null || args.length == 0) HelpPrinter.printHelpAndExit(HELP_PATH); int limit = args.length; log.finest("args.length=" + limit); int i = 0...
22,938
private void processArgs(String[] args) throws Exception { log.entering("Main", "processArgs", args); HelpPrinter.checkHelpKey(args, HELP_PATH); if (args == null || args.length == 0) HelpPrinter.printHelpAndExit(HELP_PATH); int limit = args.length; log.finest("args.length=" + limit); int i = 0...
private void processArgs(String[] args) throws Exception { log.entering("Main", "processArgs", args); HelpPrinter.checkHelpKey(args, HELP_PATH); if (args == null || args.length == 0) HelpPrinter.printHelpAndExit(HELP_PATH); int limit = args.length; log.finest("args.length=" + limit); int i = 0...
22,939
private void processArgs(String[] args) throws Exception { log.entering("Main", "processArgs", args); HelpPrinter.checkHelpKey(args, HELP_PATH); if (args == null || args.length == 0) HelpPrinter.printHelpAndExit(HELP_PATH); int limit = args.length; log.finest("args.length=" + limit); int i = 0...
private void processArgs(String[] args) throws Exception { log.entering("Main", "processArgs", args); HelpPrinter.checkHelpKey(args, HELP_PATH); if (args == null || args.length == 0) HelpPrinter.printHelpAndExit(HELP_PATH); int limit = args.length; log.finest("args.length=" + limit); int i = 0...
22,940
private void setupCommonParams() throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException { log.entering("Main", "setupCommonParams"); if (jarFileName == null) HelpPrinter.printHelpAndExit(HELP_PATH); File jar = new File(jarFileName); if (! jar.exists()) t...
private void setupCommonParams() throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException { log.entering("Main", "setupCommonParams"); if (jarFileName == null) HelpPrinter.printHelpAndExit(HELP_PATH); File jar = new File(jarFileName); if (! jar.exists()) t...
22,941
private void setupCommonParams() throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException { log.entering("Main", "setupCommonParams"); if (jarFileName == null) HelpPrinter.printHelpAndExit(HELP_PATH); File jar = new File(jarFileName); if (! jar.exists()) t...
private void setupCommonParams() throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException { log.entering("Main", "setupCommonParams"); if (jarFileName == null) HelpPrinter.printHelpAndExit(HELP_PATH); File jar = new File(jarFileName); if (! jar.exists()) t...
22,942
private void setupCommonParams() throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException { log.entering("Main", "setupCommonParams"); if (jarFileName == null) HelpPrinter.printHelpAndExit(HELP_PATH); File jar = new File(jarFileName); if (! jar.exists()) t...
private void setupCommonParams() throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException { log.entering("Main", "setupCommonParams"); if (jarFileName == null) HelpPrinter.printHelpAndExit(HELP_PATH); File jar = new File(jarFileName); if (! jar.exists()) t...
22,943
private void setupCommonParams() throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException { log.entering("Main", "setupCommonParams"); if (jarFileName == null) HelpPrinter.printHelpAndExit(HELP_PATH); File jar = new File(jarFileName); if (! jar.exists()) t...
private void setupCommonParams() throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException { log.entering("Main", "setupCommonParams"); if (jarFileName == null) HelpPrinter.printHelpAndExit(HELP_PATH); File jar = new File(jarFileName); if (! jar.exists()) t...
22,944
private void setupCommonParams() throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException { log.entering("Main", "setupCommonParams"); if (jarFileName == null) HelpPrinter.printHelpAndExit(HELP_PATH); File jar = new File(jarFileName); if (! jar.exists()) t...
private void setupCommonParams() throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException { log.entering("Main", "setupCommonParams"); if (jarFileName == null) HelpPrinter.printHelpAndExit(HELP_PATH); File jar = new File(jarFileName); if (! jar.exists()) t...
22,945
private void setupCommonParams() throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException { log.entering("Main", "setupCommonParams"); if (jarFileName == null) HelpPrinter.printHelpAndExit(HELP_PATH); File jar = new File(jarFileName); if (! jar.exists()) t...
private void setupCommonParams() throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException { log.entering("Main", "setupCommonParams"); if (jarFileName == null) HelpPrinter.printHelpAndExit(HELP_PATH); File jar = new File(jarFileName); if (! jar.exists()) t...
22,946
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering(this.getClass().getName(), "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { ...
22,947
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
22,948
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
22,949
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
22,950
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
22,951
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
22,952
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
22,953
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
22,954
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
22,955
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
22,956
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
22,957
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering("Main", "setupSigningParams"); if (ksURL == null || ksURL.trim().length() == 0) { String userHome...
22,958
private void start() throws Exception { log.entering("Main", "start"); if (verify) { JarVerifier jv = new JarVerifier(this); jv.start(); } else { JarSigner js = new JarSigner(this); js.start(); } log.exiting("Main", "start"); }
private void start() throws Exception { log.entering(this.getClass().getName(), "start"); if (verify) { JarVerifier jv = new JarVerifier(this); jv.start(); } else { JarSigner js = new JarSigner(this); js.start(); } log.exiting("Main", "start"); }
22,959
private void start() throws Exception { log.entering("Main", "start"); if (verify) { JarVerifier jv = new JarVerifier(this); jv.start(); } else { JarSigner js = new JarSigner(this); js.start(); } log.exiting("Main", "start"); }
private void start() throws Exception { log.entering("Main", "start"); if (verify) { JarVerifier jv = new JarVerifier(this); jv.start(); } else { JarSigner js = new JarSigner(this); js.start(); } log.exiting(this.getClass().getName(), "start"); }
22,960
private void teardown() { log.entering("Main", "teardown"); if (providerInstalled) { final String providerName = provider.getName(); log.info("About to remove provider: " + providerName); // remove it. again we need to override security checks AccessController.doPrivileged(new ...
private void teardown() { log.entering(this.getClass().getName(), "teardown"); if (providerInstalled) { final String providerName = provider.getName(); log.info("About to remove provider: " + providerName); // remove it. again we need to override security checks AccessControlle...
22,961
private void teardown() { log.entering("Main", "teardown"); if (providerInstalled) { final String providerName = provider.getName(); log.info("About to remove provider: " + providerName); // remove it. again we need to override security checks AccessController.doPrivileged(new ...
private void teardown() { log.entering("Main", "teardown"); if (providerInstalled) { final String providerName = provider.getName(); log.info("About to remove provider: " + providerName); // remove it. again we need to override security checks AccessController.doPrivileged(new ...
22,962
private void teardown() { log.entering("Main", "teardown"); if (providerInstalled) { final String providerName = provider.getName(); log.info("About to remove provider: " + providerName); // remove it. again we need to override security checks AccessController.doPrivileged(new ...
private void teardown() { log.entering("Main", "teardown"); if (providerInstalled) { final String providerName = provider.getName(); log.info("About to remove provider: " + providerName); // remove it. again we need to override security checks AccessController.doPrivileged(new ...
22,963
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
void start() throws Exception { log.entering(this.getClass().getName(), "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) {...
22,964
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
22,965
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
22,966
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
22,967
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
22,968
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
22,969
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
22,970
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
22,971
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
22,972
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
22,973
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
22,974
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
22,975
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
22,976
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
void start() throws Exception { log.entering("JarSigner", "start"); JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { JarEnt...
22,977
public ProfileHeader(byte[] data) { ByteBuffer buf = ByteBuffer.wrap(data); // Get size (the sign bit shouldn't matter. // A valid profile can never be +2Gb) size = buf.getInt(ICC_Profile.icHdrSize); // CMM ID cmmId = buf.getInt(ICC_Profile.icHdrCmmId); // Version number majorVersion = (int...
public ProfileHeader() { ByteBuffer buf = ByteBuffer.wrap(data); // Get size (the sign bit shouldn't matter. // A valid profile can never be +2Gb) size = buf.getInt(ICC_Profile.icHdrSize); // CMM ID cmmId = buf.getInt(ICC_Profile.icHdrCmmId); // Version number majorVersion = (int) (data[ICC...
22,979
public ProfileHeader(byte[] data) { ByteBuffer buf = ByteBuffer.wrap(data); // Get size (the sign bit shouldn't matter. // A valid profile can never be +2Gb) size = buf.getInt(ICC_Profile.icHdrSize); // CMM ID cmmId = buf.getInt(ICC_Profile.icHdrCmmId); // Version number majorVersion = (int...
public ProfileHeader(byte[] data) { creatorSig = 0; intent = 0; modelSig = manufacturerSig = (int) 0x6E6f6E65; magic = icMagicNumber; cmmId = 0; platform = 0; timestamp = new byte[8]; majorVersion = 2; minorVersion = 0x10; flags = 0; // Get size (the sign bit shouldn't matter. // A valid profile can never...
22,980
public ProfileHeader(byte[] data) { ByteBuffer buf = ByteBuffer.wrap(data); // Get size (the sign bit shouldn't matter. // A valid profile can never be +2Gb) size = buf.getInt(ICC_Profile.icHdrSize); // CMM ID cmmId = buf.getInt(ICC_Profile.icHdrCmmId); // Version number majorVersion = (int...
public ProfileHeader(byte[] data) { ByteBuffer buf = ByteBuffer.wrap(data); // Get size (the sign bit shouldn't matter. // A valid profile can never be +2Gb) size = buf.getInt(ICC_Profile.icHdrSize); // CMM ID cmmId = buf.getInt(ICC_Profile.icHdrCmmId); // Version number majorVersion = (int...
22,981
public ProfileHeader(byte[] data) { ByteBuffer buf = ByteBuffer.wrap(data); // Get size (the sign bit shouldn't matter. // A valid profile can never be +2Gb) size = buf.getInt(ICC_Profile.icHdrSize); // CMM ID cmmId = buf.getInt(ICC_Profile.icHdrCmmId); // Version number majorVersion = (int...
public ProfileHeader(byte[] data) { ByteBuffer buf = ByteBuffer.wrap(data); // Get size (the sign bit shouldn't matter. // A valid profile can never be +2Gb) size = buf.getInt(ICC_Profile.icHdrSize); // CMM ID cmmId = buf.getInt(ICC_Profile.icHdrCmmId); // Version number majorVersion = (int...
22,982
ICC_ProfileRGB(byte[] data) { super(data); matrix = createMatrix(); whitePoint = getXYZData(icSigMediaWhitePointTag); }
ICC_ProfileRGB(int cspace) { super(data); matrix = createMatrix(); whitePoint = getXYZData(icSigMediaWhitePointTag); }
22,983
ICC_ProfileRGB(byte[] data) { super(data); matrix = createMatrix(); whitePoint = getXYZData(icSigMediaWhitePointTag); }
ICC_ProfileRGB(byte[] data) { super(cspace); matrix = createMatrix(); whitePoint = getXYZData(icSigMediaWhitePointTag); }
22,984
ICC_ProfileGray(byte[] data) { super(data); whitePoint = getXYZData(icSigMediaWhitePointTag); }
ICC_ProfileGray(int cspace) { super(data); whitePoint = getXYZData(icSigMediaWhitePointTag); }
22,985
ICC_ProfileGray(byte[] data) { super(data); whitePoint = getXYZData(icSigMediaWhitePointTag); }
ICC_ProfileGray(byte[] data) { super(cspace); whitePoint = getXYZData(icSigMediaWhitePointTag); }
22,986
protected void startDevice() throws DriverException { final Device device = getDevice(); try { final DeviceManager dm = (DeviceManager)InitialNaming.lookup(DeviceManager.NAME); dm.rename(device, getDevicePrefix(), true); } catch (DeviceAlreadyRegisteredException ex) { log.error("Cannot rename device", ex); }...
protected void startDevice() throws DriverException { final Device device = getDevice(); try { final DeviceManager dm = (DeviceManager)InitialNaming.lookup(DeviceManager.NAME); dm.rename(device, getDevicePrefix(), true); } catch (DeviceAlreadyRegisteredException ex) { log.error("Cannot rename device", ex); }...
22,987
public INode(Ext2FileSystem fs, INodeDescriptor desc) { this.fs = fs; this.desc = desc; this.data = new byte[INODE_LENGTH]; locked = 0; log.setLevel(Level.INFO); }
public INode(Ext2FileSystem fs, INodeDescriptor desc) { this.fs = fs; this.desc = desc; this.data = new byte[INODE_LENGTH]; locked = 0; log.setLevel(Level.INFO); }
22,988
public synchronized void allocateDataBlock(long i) throws FileSystemException, IOException { if(i < getAllocatedBlockCount()) throw new IOException(i+" blocks are already allocated for this inode"); if(i > getAllocatedBlockCount()) throw new IOException("Allocate block "+getAllocatedBlockCount()+" first!"); lo...
public synchronized void allocateDataBlock(long i) throws FileSystemException, IOException { if(i < getAllocatedBlockCount()) throw new IOException(i+" blocks are already allocated for this inode"); if(i > getAllocatedBlockCount()) throw new IOException("Allocate block "+getAllocatedBlockCount()+" first!"); lo...
22,989
public synchronized void allocateDataBlock(long i) throws FileSystemException, IOException { if(i < getAllocatedBlockCount()) throw new IOException(i+" blocks are already allocated for this inode"); if(i > getAllocatedBlockCount()) throw new IOException("Allocate block "+getAllocatedBlockCount()+" first!"); lo...
public synchronized void allocateDataBlock(long i) throws FileSystemException, IOException { if(i < getAllocatedBlockCount()) throw new IOException(i+" blocks are already allocated for this inode"); if(i > getAllocatedBlockCount()) throw new IOException("Allocate block "+getAllocatedBlockCount()+" first!"); lo...
22,990
public void create(int fileFormat, int accessRights, int uid, int gid){ long time = System.currentTimeMillis()/1000; log.debug("TIME: "+time); setUid(uid); setGid(gid); setMode(fileFormat | accessRights); setSize(0); setAtime(time); setCtime(time); setMtime(time); setDtime(0); setLinksCount...
public void create(int fileFormat, int accessRights, int uid, int gid){ long time = System.currentTimeMillis()/1000; log.debug("TIME: "+time); setUid(uid); setGid(gid); setMode(fileFormat | accessRights); setSize(0); setAtime(time); setCtime(time); setMtime(time); setDtime(0); setLinksCount...
22,991
public synchronized void decLocked() { --locked; if(locked==0) this.notifyAll(); if(locked<0) { //What!?? locked = 0; throw new RuntimeException("INode has been unlocked more than locked"); } }
public synchronized void decLocked() { --locked; if(locked==0) this.notifyAll(); if(locked<0) { //What!?? locked = 0; throw new RuntimeException("INode has been unlocked more than locked"); } }
22,992
protected void finalize() throws Exception{ flush(); }
protected void finalize() throws Exception{ flush(); }
22,993
private long findFreeBlock(long index) throws IOException, FileSystemException{ //long newBlock; long lastBlock = -1; BlockReservation reservation; //first, see if preallocated blocks exist if( desc.getPreallocCount() > 0 ) { return desc.usePreallocBlock(); } //no preallocated blocks: //check around the ...
private long findFreeBlock(long index) throws IOException, FileSystemException{ //long newBlock; long lastBlock = -1; BlockReservation reservation; //first, see if preallocated blocks exist if( desc.getPreallocCount() > 0 ) { return desc.usePreallocBlock(); } //no preallocated blocks: //check around the ...
22,994
private long findFreeBlock(long index) throws IOException, FileSystemException{ //long newBlock; long lastBlock = -1; BlockReservation reservation; //first, see if preallocated blocks exist if( desc.getPreallocCount() > 0 ) { return desc.usePreallocBlock(); } //no preallocated blocks: //check around the ...
private long findFreeBlock(long index) throws IOException, FileSystemException{ //long newBlock; long lastBlock = -1; BlockReservation reservation; //first, see if preallocated blocks exist if( desc.getPreallocCount() > 0 ) { return desc.usePreallocBlock(); } //no preallocated blocks: //check around the ...
22,995
private long findFreeBlock(long index) throws IOException, FileSystemException{ //long newBlock; long lastBlock = -1; BlockReservation reservation; //first, see if preallocated blocks exist if( desc.getPreallocCount() > 0 ) { return desc.usePreallocBlock(); } //no preallocated blocks: //check around the ...
private long findFreeBlock(long index) throws IOException, FileSystemException{ //long newBlock; long lastBlock = -1; BlockReservation reservation; //first, see if preallocated blocks exist if( desc.getPreallocCount() > 0 ) { return desc.usePreallocBlock(); } //no preallocated blocks: //check around the ...
22,996
private long findFreeBlock(long index) throws IOException, FileSystemException{ //long newBlock; long lastBlock = -1; BlockReservation reservation; //first, see if preallocated blocks exist if( desc.getPreallocCount() > 0 ) { return desc.usePreallocBlock(); } //no preallocated blocks: //check around the ...
private long findFreeBlock(long index) throws IOException, FileSystemException{ //long newBlock; long lastBlock = -1; BlockReservation reservation; //first, see if preallocated blocks exist if( desc.getPreallocCount() > 0 ) { return desc.usePreallocBlock(); } //no preallocated blocks: //check around the ...
22,997
private long findFreeBlock(long index) throws IOException, FileSystemException{ //long newBlock; long lastBlock = -1; BlockReservation reservation; //first, see if preallocated blocks exist if( desc.getPreallocCount() > 0 ) { return desc.usePreallocBlock(); } //no preallocated blocks: //check around the ...
private long findFreeBlock(long index) throws IOException, FileSystemException{ //long newBlock; long lastBlock = -1; BlockReservation reservation; //first, see if preallocated blocks exist if( desc.getPreallocCount() > 0 ) { return desc.usePreallocBlock(); } //no preallocated blocks: //check around the ...
22,998
public void flush() throws IOException, FileSystemException{ log.debug("Flush called for inode "+getINodeNr()); freePreallocatedBlocks(); update(); }
public void flush() throws IOException, FileSystemException{ log.debug("Flush called for inode "+getINodeNr()); freePreallocatedBlocks(); update(); }
22,999
protected synchronized void freeDataBlock(long i) throws IOException, FileSystemException { final long blockCount = getAllocatedBlockCount(); final int indirectCount = getIndirectCount(); if(i != blockCount-1) throw new IOException("Only the last block of the inode can be freed." + "You were trying to free bl...
protected synchronized void freeDataBlock(long i) throws IOException, FileSystemException { final long blockCount = getAllocatedBlockCount(); final int indirectCount = getIndirectCount(); if(i != blockCount-1) throw new IOException("Only the last block of the inode can be freed." + "You were trying to free bl...
23,000
protected synchronized void freeDataBlock(long i) throws IOException, FileSystemException { final long blockCount = getAllocatedBlockCount(); final int indirectCount = getIndirectCount(); if(i != blockCount-1) throw new IOException("Only the last block of the inode can be freed." + "You were trying to free bl...
protected synchronized void freeDataBlock(long i) throws IOException, FileSystemException { final long blockCount = getAllocatedBlockCount(); final int indirectCount = getIndirectCount(); if(i != blockCount-1) throw new IOException("Only the last block of the inode can be freed." + "You were trying to free bl...
23,001
protected synchronized void freeDataBlock(long i) throws IOException, FileSystemException { final long blockCount = getAllocatedBlockCount(); final int indirectCount = getIndirectCount(); if(i != blockCount-1) throw new IOException("Only the last block of the inode can be freed." + "You were trying to free bl...
protected synchronized void freeDataBlock(long i) throws IOException, FileSystemException { final long blockCount = getAllocatedBlockCount(); final int indirectCount = getIndirectCount(); if(i != blockCount-1) throw new IOException("Only the last block of the inode can be freed." + "You were trying to free bl...
23,002
protected synchronized void freeDataBlock(long i) throws IOException, FileSystemException { final long blockCount = getAllocatedBlockCount(); final int indirectCount = getIndirectCount(); if(i != blockCount-1) throw new IOException("Only the last block of the inode can be freed." + "You were trying to free bl...
protected synchronized void freeDataBlock(long i) throws IOException, FileSystemException { final long blockCount = getAllocatedBlockCount(); final int indirectCount = getIndirectCount(); if(i != blockCount-1) throw new IOException("Only the last block of the inode can be freed." + "You were trying to free bl...
23,003
private void freePreallocatedBlocks() throws FileSystemException, IOException{ int preallocCount = desc.getPreallocCount(); if(preallocCount>0) log.debug("Freeing preallocated blocks"); else { log.debug("No preallocated blocks in the inode"); return; } long prealloc512 = preallocCount * (fs.getBlockSize(...
private void freePreallocatedBlocks() throws FileSystemException, IOException{ int preallocCount = desc.getPreallocCount(); if(preallocCount>0) log.debug("Freeing preallocated blocks"); else { log.debug("No preallocated blocks in the inode"); return; } long prealloc512 = preallocCount * (fs.getBlockSize(...
23,004
protected long getAllocatedBlockCount() { if(desc.getLastAllocatedBlockIndex()!=-1) return desc.getLastAllocatedBlockIndex()+1; else return getSizeInBlocks(); }
protected long getAllocatedBlockCount() { if(desc.getLastAllocatedBlockIndex()!=-1) return desc.getLastAllocatedBlockIndex()+1; else return getSizeInBlocks(); }
23,005