HomeSort by relevance Sort by last modified time
    Searched refs:nrClusters (Results 1 - 3 of 3) sorted by null

  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
ClusterChain.java 128 final long nrClusters = ((size + clusterSize - 1) / clusterSize);
129 if (nrClusters > Integer.MAX_VALUE)
132 setChainLength((int) nrClusters);
134 return clusterSize * nrClusters;
152 * @param nrClusters the new number of clusters this chain should contain,
157 public void setChainLength(int nrClusters) throws IOException {
158 if (nrClusters < 0) throw new IllegalArgumentException(
161 if ((this.startCluster == 0) && (nrClusters == 0)) {
163 } else if ((this.startCluster == 0) && (nrClusters > 0)) {
164 final long[] chain = fat.allocNew(nrClusters);
    [all...]
Fat.java 344 * @param nrClusters when number of clusters to allocate
348 public long[] allocNew(int nrClusters) throws IOException {
349 final long rc[] = new long[nrClusters];
352 for (int i = 1; i < nrClusters; i++) {
  /prebuilts/devtools/tools/lib/
fat32lib.jar 

Completed in 1429 milliseconds