Codota Logo
KeyUtils.format32
Code IndexAdd Codota to your IDE (free)

How to use
format32
method
in
org.eclipse.jgit.storage.dht.KeyUtils

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: com.madgag/org.eclipse.jgit.storage.dht

public byte[] asBytes() {
  byte[] nameRaw = encode(name);
  byte[] r = new byte[9 + nameRaw.length];
  format32(r, 0, repo);
  r[8] = ':';
  System.arraycopy(nameRaw, 0, r, 9, nameRaw.length);
  return r;
}
origin: org.eclipse.jgit/org.eclipse.jgit.storage.dht

public byte[] asBytes() {
  byte[] r = new byte[KEYLEN];
  format32(r, 0, repo);
  r[8] = '.';
  chunk.copyTo(r, 9);
  return r;
}
origin: org.eclipse.jgit/org.eclipse.jgit.storage.dht

public byte[] asBytes() {
  byte[] r = new byte[8];
  format32(r, 0, asInt());
  return r;
}
origin: org.eclipse.jgit/org.eclipse.jgit.storage.dht

public byte[] asBytes() {
  byte[] nameRaw = encode(name);
  byte[] r = new byte[9 + nameRaw.length];
  format32(r, 0, repo);
  r[8] = ':';
  System.arraycopy(nameRaw, 0, r, 9, nameRaw.length);
  return r;
}
origin: com.madgag/org.eclipse.jgit.storage.dht

public byte[] asBytes() {
  byte[] r = new byte[KEYLEN];
  format32(r, 0, repo);
  r[8] = '.';
  chunk.copyTo(r, 9);
  return r;
}
origin: org.eclipse.jgit/org.eclipse.jgit.storage.dht

public byte[] asBytes() {
  byte[] r = new byte[KEYLEN];
  format32(r, 0, repo);
  r[8] = '.';
  copyTo(r, 9);
  return r;
}
origin: com.madgag/org.eclipse.jgit.storage.dht

public byte[] asBytes() {
  byte[] r = new byte[8];
  format32(r, 0, asInt());
  return r;
}
origin: com.madgag/org.eclipse.jgit.storage.dht

public byte[] asBytes() {
  byte[] r = new byte[KEYLEN];
  format32(r, 0, repo);
  r[8] = '.';
  copyTo(r, 9);
  return r;
}
org.eclipse.jgit.storage.dhtKeyUtilsformat32

Popular methods of KeyUtils

  • parse32

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • JOptionPane (javax.swing)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
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