Home
last modified time | relevance | path

Searched refs:storageDirs (Results 1 – 20 of 20) sorted by relevance

/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/rt.equinox.bundles/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/spi/
H A DRegistryStrategy.java48 private final File[] storageDirs; field in RegistryStrategy
74 public RegistryStrategy(File[] storageDirs, boolean[] cacheReadOnly) { in RegistryStrategy() argument
75 this.storageDirs = storageDirs; in RegistryStrategy()
85 if (storageDirs == null) in getLocationsLength()
87 return storageDirs.length; in getLocationsLength()
97 if (storageDirs != null) in getStorage()
98 return storageDirs[index]; in getStorage()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/
H A DStorage.java138 if (storageDirs.isEmpty() || nextIndex >= storageDirs.size()) in hasNext()
141 while (nextIndex < storageDirs.size()) { in hasNext()
146 if (nextIndex >= storageDirs.size()) in hasNext()
158 while (nextIndex < storageDirs.size()) { in next()
248 for (StorageDirectory sd : storageDirs) {
804 return storageDirs.size();
808 return storageDirs.get(idx);
816 Preconditions.checkState(storageDirs.size() == 1);
817 return storageDirs.get(0);
821 storageDirs.add(sd);
[all …]
/dports/devel/hadoop/hadoop-1.2.1/src/hdfs/org/apache/hadoop/hdfs/server/common/
H A DStorage.java110 protected List<StorageDirectory> storageDirs = new ArrayList<StorageDirectory>(); field in Storage
124 if (storageDirs.isEmpty() || nextIndex >= storageDirs.size()) in hasNext()
127 while (nextIndex < storageDirs.size()) { in hasNext()
132 if (nextIndex >= storageDirs.size()) in hasNext()
143 while (nextIndex < storageDirs.size()) { in next()
154 storageDirs.remove(prevIndex); // remove last returned element in remove()
671 return storageDirs.size(); in getNumStorageDirs()
675 return storageDirs.get(idx); in getStorageDir()
679 storageDirs.add(sd); in addStorageDir()
787 for (Iterator<StorageDirectory> it = storageDirs.iterator(); it.hasNext();) { in writeAll()
[all …]
/dports/net-mgmt/p5-FusionInventory-Agent/FusionInventory-Agent-2.5.2/lib/FusionInventory/Agent/Task/Deploy/
H A DDatastore.pm44 my @storageDirs;
45 push @storageDirs, File::Glob::bsd_glob($self->{path}.'/fileparts/private/*');
46 push @storageDirs, File::Glob::bsd_glob($self->{path}.'/fileparts/shared/*');
53 foreach my $dir (@storageDirs) {
H A DFile.pm127 my @storageDirs = (
132 foreach my $dir (@storageDirs) {
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/
H A DTargetPDERegistryStrategy.java20 …public TargetPDERegistryStrategy(File[] storageDirs, boolean[] cacheReadOnly, Object key, PDEExten… in TargetPDERegistryStrategy() argument
21 super(storageDirs, cacheReadOnly, key, registry); in TargetPDERegistryStrategy()
H A DPDERegistryStrategy.java137 …public PDERegistryStrategy(File[] storageDirs, boolean[] cacheReadOnly, Object key, PDEExtensionRe… in PDERegistryStrategy() argument
138 super(storageDirs, cacheReadOnly); in PDERegistryStrategy()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/rt.equinox.bundles/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/
H A DRegistryFactory.java104 …public static RegistryStrategy createOSGiStrategy(File[] storageDirs, boolean[] cacheReadOnly, Obj… in createOSGiStrategy() argument
105 return new RegistryStrategyOSGI(storageDirs, cacheReadOnly, token); in createOSGiStrategy()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/
H A DNNStorage.java163 storageDirs = new CopyOnWriteArrayList<StorageDirectory>(); in NNStorage()
200 storageDirs.clear(); in close()
285 this.storageDirs.clear(); in setStorageDirectories()
477 for (StorageDirectory sd : storageDirs) { in writeTransactionIdFileToStorage()
841 if (this.storageDirs.remove(sd)) { in reportErrorsOnDirectory()
895 for (StorageDirectory sd : storageDirs) { in reportErrorOnFile()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/common/
H A DStorageAdapter.java36 s.storageDirs.set(idx, dir); in spyOnStorageDirectory()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/rt.equinox.p2/bundles/org.eclipse.equinox.p2.discovery.compatibility/src/org/eclipse/equinox/internal/p2/discovery/compatibility/
H A DDiscoveryRegistryStrategy.java43 public DiscoveryRegistryStrategy(File[] storageDirs, boolean[] cacheReadOnly, Object token) { in DiscoveryRegistryStrategy() argument
44 super(storageDirs, cacheReadOnly); in DiscoveryRegistryStrategy()
/dports/devel/hadoop/hadoop-1.2.1/src/hdfs/org/apache/hadoop/hdfs/server/namenode/
H A DSecondaryNameNode.java706 this.storageDirs = new ArrayList<StorageDirectory>(); in recoverCreate()
753 for(StorageDirectory sd : storageDirs) { in startCheckpoint()
759 for(StorageDirectory sd : storageDirs) { in endCheckpoint()
H A DFSImage.java181 storageDirs = new ArrayList<StorageDirectory>(); in setStorageDirectories()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/
H A DDataStorage.java185 getBPStorage(bpid).setRollingUpgradeMarkers(storageDirs); in setRollingUpgradeMarker()
189 getBPStorage(bpid).clearRollingUpgradeMarkers(storageDirs); in clearRollingUpgradeMarker()
421 for (Iterator<StorageDirectory> it = this.storageDirs.iterator(); in removeVolumes()
472 this.storageDirs = new ArrayList<StorageDirectory>(dataDirs.size()); in recoverTransitionRead()
946 for (StorageDirectory sd : storageDirs) { in finalizeUpgrade()
H A DBlockPoolSliceStorage.java287 for (Iterator<StorageDirectory> it = this.storageDirs.iterator(); in remove()
744 for (StorageDirectory sd : storageDirs) { in clearTrash()
782 for (StorageDirectory sd : storageDirs) { in trashEnabled()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/
H A DTestBlockPoolSliceStorage.java52 assertThat(storageDirs.size(), is(1)); in StubBlockPoolSliceStorage()
/dports/devel/hadoop/hadoop-1.2.1/src/hdfs/org/apache/hadoop/hdfs/server/datanode/
H A DDataStorage.java104 this.storageDirs = new ArrayList<StorageDirectory>(dataDirs.size()); in recoverTransitionRead()
362 for (Iterator<StorageDirectory> it = storageDirs.iterator(); it.hasNext();) { in finalizeUpgrade()
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/UI/
H A DMainScreen.cpp530 …std::vector<std::string> storageDirs = System_GetPropertyStringVec(SYSPROP_ADDITIONAL_STORAGE_DIRS… in StorageClick() local
531 if (storageDirs.empty()) { in StorageClick()
535 if (storageDirs.size() == 1) { in StorageClick()
536 SetPath(Path(storageDirs[0])); in StorageClick()
539 SetPath(Path(storageDirs[0])); in StorageClick()
/dports/emulators/ppsspp/ppsspp-1.12.3/UI/
H A DMainScreen.cpp530 …std::vector<std::string> storageDirs = System_GetPropertyStringVec(SYSPROP_ADDITIONAL_STORAGE_DIRS… in StorageClick() local
531 if (storageDirs.empty()) { in StorageClick()
535 if (storageDirs.size() == 1) { in StorageClick()
536 SetPath(Path(storageDirs[0])); in StorageClick()
539 SetPath(Path(storageDirs[0])); in StorageClick()
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/UI/
H A DMainScreen.cpp530 …std::vector<std::string> storageDirs = System_GetPropertyStringVec(SYSPROP_ADDITIONAL_STORAGE_DIRS… in StorageClick() local
531 if (storageDirs.empty()) { in StorageClick()
535 if (storageDirs.size() == 1) { in StorageClick()
536 SetPath(Path(storageDirs[0])); in StorageClick()
539 SetPath(Path(storageDirs[0])); in StorageClick()