Tabnine Logo
PackOutputStream.writeObject
Code IndexAdd Tabnine to your IDE (free)

How to use
writeObject
method
in
org.eclipse.jgit.internal.storage.pack.PackOutputStream

Best Java code snippets using org.eclipse.jgit.internal.storage.pack.PackOutputStream.writeObject (Showing top 9 results out of 315)

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

/** {@inheritDoc} */
@Override
public void writeObjects(PackOutputStream out, List<ObjectToPack> list)
    throws IOException {
  for (ObjectToPack otp : list)
    out.writeObject(otp);
}
origin: org.eclipse.jgit/org.eclipse.jgit

/** {@inheritDoc} */
@Override
public void writeObjects(PackOutputStream out, List<ObjectToPack> list)
    throws IOException {
  for (ObjectToPack otp : list)
    out.writeObject(otp);
}
origin: org.eclipse.jgit/org.eclipse.jgit

private void writeObjects(PackOutputStream out, List<ObjectToPack> list)
    throws IOException {
  if (list.isEmpty())
    return;
  typeStats = stats.objectTypes[list.get(0).getType()];
  long beginOffset = out.length();
  if (reuseSupport != null) {
    reuseSupport.writeObjects(out, list);
  } else {
    for (ObjectToPack otp : list)
      out.writeObject(otp);
  }
  typeStats.bytes += out.length() - beginOffset;
  typeStats.cntObjects = list.size();
}
origin: sonia.jgit/org.eclipse.jgit

public void writeObjects(PackOutputStream out, List<ObjectToPack> list)
    throws IOException {
  for (ObjectToPack otp : list)
    out.writeObject(otp);
}
origin: sonia.jgit/org.eclipse.jgit

public void writeObjects(PackOutputStream out, List<ObjectToPack> list)
    throws IOException {
  for (ObjectToPack otp : list)
    out.writeObject(otp);
}
origin: berlam/github-bucket

/** {@inheritDoc} */
@Override
public void writeObjects(PackOutputStream out, List<ObjectToPack> list)
    throws IOException {
  for (ObjectToPack otp : list)
    out.writeObject(otp);
}
origin: berlam/github-bucket

/** {@inheritDoc} */
@Override
public void writeObjects(PackOutputStream out, List<ObjectToPack> list)
    throws IOException {
  for (ObjectToPack otp : list)
    out.writeObject(otp);
}
origin: sonia.jgit/org.eclipse.jgit

private void writeObjects(PackOutputStream out, List<ObjectToPack> list)
    throws IOException {
  if (list.isEmpty())
    return;
  typeStats = stats.objectTypes[list.get(0).getType()];
  long beginOffset = out.length();
  if (reuseSupport != null) {
    reuseSupport.writeObjects(out, list);
  } else {
    for (ObjectToPack otp : list)
      out.writeObject(otp);
  }
  typeStats.bytes += out.length() - beginOffset;
  typeStats.cntObjects = list.size();
}
origin: berlam/github-bucket

private void writeObjects(PackOutputStream out, List<ObjectToPack> list)
    throws IOException {
  if (list.isEmpty())
    return;
  typeStats = stats.objectTypes[list.get(0).getType()];
  long beginOffset = out.length();
  if (reuseSupport != null) {
    reuseSupport.writeObjects(out, list);
  } else {
    for (ObjectToPack otp : list)
      out.writeObject(otp);
  }
  typeStats.bytes += out.length() - beginOffset;
  typeStats.cntObjects = list.size();
}
org.eclipse.jgit.internal.storage.packPackOutputStreamwriteObject

Javadoc

Write one object. If the object was already written, this method does nothing and returns quickly. This case occurs whenever an object was written out of order in order to ensure the delta base occurred before the object that needs it.

Popular methods of PackOutputStream

  • <init>
    Initialize a pack output stream. This constructor is exposed to support debugging the JGit library o
  • endObject
  • flush
  • getCopyBuffer
  • getDigest
  • length
  • objectHeader
  • ofsDelta
  • ofsDeltaVarIntLength
  • write
  • writeFileHeader
  • writeHeader
    Commits the object header onto the stream. Once the header has been written, the object representati
  • writeFileHeader,
  • writeHeader

Popular in Java

  • Finding current android device location
  • runOnUiThread (Activity)
  • getSharedPreferences (Context)
  • getResourceAsStream (ClassLoader)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • JTextField (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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