Tabnine Logo
Candidate.clearRegionList
Code IndexAdd Tabnine to your IDE (free)

How to use
clearRegionList
method
in
org.eclipse.jgit.blame.Candidate

Best Java code snippets using org.eclipse.jgit.blame.Candidate.clearRegionList (Showing top 6 results out of 315)

origin: org.eclipse.jgit/org.eclipse.jgit

void mergeRegions(Candidate other) {
  // regionList is always sorted by resultStart. Merge join two
  // linked lists, preserving the ordering. Combine neighboring
  // regions to reduce the number of results seen by callers.
  Region a = clearRegionList();
  Region b = other.clearRegionList();
  Region t = null;
  while (a != null && b != null) {
    if (a.resultStart < b.resultStart) {
      Region n = a.next;
      t = add(t, this, a);
      a = n;
    } else {
      Region n = b.next;
      t = add(t, this, b);
      b = n;
    }
  }
  if (a != null) {
    Region n = a.next;
    t = add(t, this, a);
    t.next = n;
  } else /* b != null */{
    Region n = b.next;
    t = add(t, this, b);
    t.next = n;
  }
}
origin: sonia.jgit/org.eclipse.jgit

void mergeRegions(Candidate other) {
  // regionList is always sorted by resultStart. Merge join two
  // linked lists, preserving the ordering. Combine neighboring
  // regions to reduce the number of results seen by callers.
  Region a = clearRegionList();
  Region b = other.clearRegionList();
  Region t = null;
  while (a != null && b != null) {
    if (a.resultStart < b.resultStart) {
      Region n = a.next;
      t = add(t, this, a);
      a = n;
    } else {
      Region n = b.next;
      t = add(t, this, b);
      b = n;
    }
  }
  if (a != null) {
    Region n = a.next;
    t = add(t, this, a);
    t.next = n;
  } else /* b != null */{
    Region n = b.next;
    t = add(t, this, b);
    t.next = n;
  }
}
origin: berlam/github-bucket

void mergeRegions(Candidate other) {
  // regionList is always sorted by resultStart. Merge join two
  // linked lists, preserving the ordering. Combine neighboring
  // regions to reduce the number of results seen by callers.
  Region a = clearRegionList();
  Region b = other.clearRegionList();
  Region t = null;
  while (a != null && b != null) {
    if (a.resultStart < b.resultStart) {
      Region n = a.next;
      t = add(t, this, a);
      a = n;
    } else {
      Region n = b.next;
      t = add(t, this, b);
      b = n;
    }
  }
  if (a != null) {
    Region n = a.next;
    t = add(t, this, a);
    t.next = n;
  } else /* b != null */{
    Region n = b.next;
    t = add(t, this, b);
    t.next = n;
  }
}
origin: org.eclipse.jgit/org.eclipse.jgit

private static void blame(EditList editList, Candidate a, Candidate b) {
  Region r = b.clearRegionList();
  Region aTail = null;
  Region bTail = null;
origin: sonia.jgit/org.eclipse.jgit

private static void blame(EditList editList, Candidate a, Candidate b) {
  Region r = b.clearRegionList();
  Region aTail = null;
  Region bTail = null;
origin: berlam/github-bucket

private static void blame(EditList editList, Candidate a, Candidate b) {
  Region r = b.clearRegionList();
  Region aTail = null;
  Region bTail = null;
org.eclipse.jgit.blameCandidateclearRegionList

Popular methods of Candidate

  • <init>
  • add
  • beginResult
  • blame
  • canMergeRegions
  • copy
  • create
  • getAuthor
  • getNextCandidate
  • getParent
  • getParentCount
  • getTime
  • getParentCount,
  • getTime,
  • has,
  • loadText,
  • mergeRegions,
  • remove,
  • takeBlame,
  • toString

Popular in Java

  • Making http requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • getResourceAsStream (ClassLoader)
  • compareTo (BigDecimal)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JButton (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now