Codota Logo
DhtPackParser$Edges.commit
Code IndexAdd Codota to your IDE (free)

How to use
commit
method
in
org.eclipse.jgit.storage.dht.DhtPackParser$Edges

Best Java code snippets using org.eclipse.jgit.storage.dht.DhtPackParser$Edges.commit (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: com.madgag/org.eclipse.jgit.storage.dht

private void onCommit(DhtInfo obj, byte[] raw) throws DhtException {
  Edges edges = edges(obj.chunkPtr);
  edges.remove(obj);
  // TODO compute hints for trees.
  if (isSaveAsCachedPack()) {
    idBuffer.fromString(raw, 5);
    lookupByName(idBuffer).setReferenced();
  }
  int ptr = 46;
  while (raw[ptr] == 'p') {
    idBuffer.fromString(raw, ptr + 7);
    DhtInfo p = lookupByName(idBuffer);
    p.setReferenced();
    edges.commit(p);
    ptr += 48;
  }
}
origin: org.eclipse.jgit/org.eclipse.jgit.storage.dht

private void onCommit(DhtInfo obj, byte[] raw) throws DhtException {
  Edges edges = edges(obj.chunkPtr);
  edges.remove(obj);
  // TODO compute hints for trees.
  if (isSaveAsCachedPack()) {
    idBuffer.fromString(raw, 5);
    lookupByName(idBuffer).setReferenced();
  }
  int ptr = 46;
  while (raw[ptr] == 'p') {
    idBuffer.fromString(raw, ptr + 7);
    DhtInfo p = lookupByName(idBuffer);
    p.setReferenced();
    edges.commit(p);
    ptr += 48;
  }
}
org.eclipse.jgit.storage.dhtDhtPackParser$Edgescommit

Popular methods of DhtPackParser$Edges

  • <init>
  • remove

Popular in Java

  • Updating database using SQL prepared statement
  • setContentView (Activity)
  • getSystemService (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now