Searched refs:nrClusters (Results 1 – 2 of 2) sorted by relevance
128 final long nrClusters = ((size + clusterSize - 1) / clusterSize); in setSize() local129 if (nrClusters > Integer.MAX_VALUE) in setSize()132 setChainLength((int) nrClusters); in setSize()134 return clusterSize * nrClusters; in setSize()157 public void setChainLength(int nrClusters) throws IOException { in setChainLength() argument158 if (nrClusters < 0) throw new IllegalArgumentException( in setChainLength()161 if ((this.startCluster == 0) && (nrClusters == 0)) { in setChainLength()163 } else if ((this.startCluster == 0) && (nrClusters > 0)) { in setChainLength()164 final long[] chain = fat.allocNew(nrClusters); in setChainLength()169 if (nrClusters != chain.length) { in setChainLength()[all …]
348 public long[] allocNew(int nrClusters) throws IOException { in allocNew() argument349 final long rc[] = new long[nrClusters]; in allocNew()352 for (int i = 1; i < nrClusters; i++) { in allocNew()