Codota Logo
RecentChunks.find
Code IndexAdd Codota to your IDE (free)

How to use
find
method
in
org.eclipse.jgit.storage.dht.RecentChunks

Best Java code snippets using org.eclipse.jgit.storage.dht.RecentChunks.find (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: com.madgag/org.eclipse.jgit.storage.dht

ChunkAndOffset getChunkGently(AnyObjectId objId) {
  return recentChunks.find(repo, objId);
}
origin: org.eclipse.jgit/org.eclipse.jgit.storage.dht

ChunkAndOffset getChunkGently(AnyObjectId objId) {
  return recentChunks.find(repo, objId);
}
origin: com.madgag/org.eclipse.jgit.storage.dht

ChunkKey findChunk(AnyObjectId objId) throws DhtException {
  if (objId instanceof RefDataUtil.IdWithChunk)
    return ((RefDataUtil.IdWithChunk) objId).getChunkKey();
  ChunkKey key = repository.getRefDatabase().findChunk(objId);
  if (key != null)
    return key;
  ChunkAndOffset r = recentChunks.find(repo, objId);
  if (r != null)
    return r.chunk.getChunkKey();
  for (ObjectInfo link : find(objId))
    return link.getChunkKey();
  return null;
}
origin: org.eclipse.jgit/org.eclipse.jgit.storage.dht

ChunkKey findChunk(AnyObjectId objId) throws DhtException {
  if (objId instanceof RefDataUtil.IdWithChunk)
    return ((RefDataUtil.IdWithChunk) objId).getChunkKey();
  ChunkKey key = repository.getRefDatabase().findChunk(objId);
  if (key != null)
    return key;
  ChunkAndOffset r = recentChunks.find(repo, objId);
  if (r != null)
    return r.chunk.getChunkKey();
  for (ObjectInfo link : find(objId))
    return link.getChunkKey();
  return null;
}
origin: com.madgag/org.eclipse.jgit.storage.dht

ChunkAndOffset getChunk(AnyObjectId objId, int typeHint, boolean checkRecent)
    throws DhtException, MissingObjectException {
  if (checkRecent) {
    ChunkAndOffset r = recentChunks.find(repo, objId);
    if (r != null)
      return r;
origin: org.eclipse.jgit/org.eclipse.jgit.storage.dht

ChunkAndOffset getChunk(AnyObjectId objId, int typeHint, boolean checkRecent)
    throws DhtException, MissingObjectException {
  if (checkRecent) {
    ChunkAndOffset r = recentChunks.find(repo, objId);
    if (r != null)
      return r;
org.eclipse.jgit.storage.dhtRecentChunksfind

Popular methods of RecentChunks

  • <init>
  • clear
  • first
  • get
  • has
  • hit
  • open
  • prune
  • put
  • remove
  • setMaxBytes
  • setMaxBytes

Popular in Java

  • Making http post requests using okhttp
  • setRequestProperty (URLConnection)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • putExtra (Intent)
  • Kernel (java.awt.image)
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JComboBox (javax.swing)
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