Codota Logo
ChunkFormatter$StoredObject
Code IndexAdd Codota to your IDE (free)

How to use
ChunkFormatter$StoredObject
in
org.eclipse.jgit.storage.dht

Best Java code snippets using org.eclipse.jgit.storage.dht.ChunkFormatter$StoredObject (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: org.eclipse.jgit/org.eclipse.jgit.storage.dht

objectList.add(new StoredObject(objId, type, mark, packedSize, size));
origin: org.eclipse.jgit/org.eclipse.jgit.storage.dht

private void linkObjects(Database db, WriteBuffer dbWriteBuffer)
    throws DhtException {
  if (objectList != null && !objectList.isEmpty()) {
    for (StoredObject obj : objectList) {
      db.objectIndex().add(ObjectIndexKey.create(repo, obj),
          obj.link(getChunkKey()), dbWriteBuffer);
    }
  }
}
origin: org.eclipse.jgit/org.eclipse.jgit.storage.dht

  ObjectInfo link(ChunkKey key) {
    GitStore.ObjectInfo.Builder b = GitStore.ObjectInfo.newBuilder();
    b.setObjectType(ObjectType.valueOf(type));
    b.setOffset((int) getOffset());
    b.setPackedSize(packed);
    b.setInflatedSize(inflated);
    return new ObjectInfo(key, b.build());
  }
}
origin: com.madgag/org.eclipse.jgit.storage.dht

private void linkObjects(Database db, WriteBuffer dbWriteBuffer)
    throws DhtException {
  if (objectList != null && !objectList.isEmpty()) {
    for (StoredObject obj : objectList) {
      db.objectIndex().add(ObjectIndexKey.create(repo, obj),
          obj.link(getChunkKey()), dbWriteBuffer);
    }
  }
}
origin: com.madgag/org.eclipse.jgit.storage.dht

StoredObject(AnyObjectId id, int type, int offset, int packed, int size) {
  super(id);
  setOffset(offset);
  this.type = type;
  this.packed = packed;
  this.inflated = size;
}
origin: org.eclipse.jgit/org.eclipse.jgit.storage.dht

StoredObject(AnyObjectId id, int type, int offset, int packed, int size) {
  super(id);
  setOffset(offset);
  this.type = type;
  this.packed = packed;
  this.inflated = size;
}
origin: com.madgag/org.eclipse.jgit.storage.dht

  ObjectInfo link(ChunkKey key) {
    GitStore.ObjectInfo.Builder b = GitStore.ObjectInfo.newBuilder();
    b.setObjectType(ObjectType.valueOf(type));
    b.setOffset((int) getOffset());
    b.setPackedSize(packed);
    b.setInflatedSize(inflated);
    return new ObjectInfo(key, b.build());
  }
}
origin: com.madgag/org.eclipse.jgit.storage.dht

objectList.add(new StoredObject(objId, type, mark, packedSize, size));
org.eclipse.jgit.storage.dhtChunkFormatter$StoredObject

Most used methods

  • <init>
  • getOffset
  • link
  • setOffset

Popular in Java

  • Parsing JSON documents to java classes using gson
  • onRequestPermissionsResult (Fragment)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • onCreateOptionsMenu (Activity)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JTextField (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Runner (org.openjdk.jmh.runner)
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