Codota Logo
DirCacheTree.peq
Code IndexAdd Codota to your IDE (free)

How to use
peq
method
in
org.eclipse.jgit.dircache.DirCacheTree

Best Java code snippets using org.eclipse.jgit.dircache.DirCacheTree.peq (Showing top 9 results out of 315)

  • Common ways to obtain DirCacheTree
private void myMethod () {
DirCacheTree d =
  • Codota Iconnew DirCacheTree()
  • Codota IconDirCache dirCache;dirCache.getCacheTree(true)
  • Codota Iconnew DirCacheTree(in, new MutableInteger(), null)
  • Smart code suggestions by Codota
}
origin: org.eclipse.jgit/org.eclipse.jgit

int nextEntry(byte[] p, int pLen, int nextIdx) {
  while (nextIdx < entryCnt) {
    final DirCacheEntry next = sortedEntries[nextIdx];
    if (!DirCacheTree.peq(p, next.path, pLen))
      break;
    nextIdx++;
  }
  return nextIdx;
}
origin: org.eclipse.jgit/org.eclipse.jgit

private static boolean inDir(DirCacheEntry e, byte[] path, int pLen) {
  return e.path.length > pLen && e.path[pLen] == '/'
      && peq(path, e.path, pLen);
}
origin: berlam/github-bucket

int nextEntry(byte[] p, int pLen, int nextIdx) {
  while (nextIdx < entryCnt) {
    final DirCacheEntry next = sortedEntries[nextIdx];
    if (!DirCacheTree.peq(p, next.path, pLen))
      break;
    nextIdx++;
  }
  return nextIdx;
}
origin: sonia.jgit/org.eclipse.jgit

int nextEntry(final byte[] p, final int pLen, int nextIdx) {
  while (nextIdx < entryCnt) {
    final DirCacheEntry next = sortedEntries[nextIdx];
    if (!DirCacheTree.peq(p, next.path, pLen))
      break;
    nextIdx++;
  }
  return nextIdx;
}
origin: sonia.jgit/org.eclipse.jgit

private static boolean inDir(DirCacheEntry e, byte[] path, int pLen) {
  return e.path.length > pLen && e.path[pLen] == '/'
      && peq(path, e.path, pLen);
}
origin: berlam/github-bucket

private static boolean inDir(DirCacheEntry e, byte[] path, int pLen) {
  return e.path.length > pLen && e.path[pLen] == '/'
      && peq(path, e.path, pLen);
}
origin: org.eclipse.jgit/org.eclipse.jgit

while (cIdx < cCnt) {
  final byte[] currPath = cache[cIdx].path;
  if (pathOff > 0 && !peq(firstPath, currPath, pathOff)) {
origin: sonia.jgit/org.eclipse.jgit

while (cIdx < cCnt) {
  final byte[] currPath = cache[cIdx].path;
  if (pathOff > 0 && !peq(firstPath, currPath, pathOff)) {
origin: berlam/github-bucket

while (cIdx < cCnt) {
  final byte[] currPath = cache[cIdx].path;
  if (pathOff > 0 && !peq(firstPath, currPath, pathOff)) {
org.eclipse.jgit.dircacheDirCacheTreepeq

Popular methods of DirCacheTree

  • getChild
    Get the i-th child cache tree.
  • getChildCount
    Get the number of cached subtrees contained within this tree.
  • getEntrySpan
    Get the number of entries this tree spans within the DirCache. If this tree is not valid (see #isVal
  • <init>
  • appendName
  • computeSize
  • contains
  • getNameString
    Get the tree's name within its parent. This method is not very efficient and is primarily meant for
  • getObjectId
    Get the tree's ObjectId. If #isValid() returns false this method will return null.
  • insertChild
  • isValid
    Determine if this cache is currently valid. A valid cache tree knows how many org.eclipse.jgit.dirca
  • nameLength
  • isValid,
  • nameLength,
  • namecmp,
  • removeChild,
  • slash,
  • validate,
  • write,
  • writeTree,
  • getPathString

Popular in Java

  • Reading from database using SQL prepared statement
  • setScale (BigDecimal)
  • getSystemService (Context)
  • getSharedPreferences (Context)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • JFileChooser (javax.swing)
  • JPanel (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