- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 17 for Allocator (0.06 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalAvailableTcpPortProviderPlugin.java
@Override public void apply(Project project) { AvailablePortAllocator allocator = project.getRootProject() .getPlugins() .apply(InternalAvailableTcpPortProviderRootPlugin.class).allocator; ReservedPortRange portRange = allocator.reservePortRange(); project.getExtensions().add("portRange", portRange); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.3K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/Allocators.java
import org.elasticsearch.cluster.routing.allocation.FailedShard; import org.elasticsearch.cluster.routing.allocation.RoutingAllocation; import org.elasticsearch.cluster.routing.allocation.allocator.BalancedShardsAllocator; import org.elasticsearch.cluster.routing.allocation.decider.AllocationDecider; import org.elasticsearch.cluster.routing.allocation.decider.AllocationDeciders;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Feb 03 00:10:53 GMT 2021 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
void overlapsReturnsTrueThenFalse() throws Exception { when(locator.overlaps(other)).thenReturn(true, false); assertTrue(locator.overlaps(other)); assertFalse(locator.overlaps(other)); verify(locator, times(2)).overlaps(other); verifyNoMoreInteractions(locator); } // Error path: overlaps may throw a CIFSException per signature @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
ModelSource.ModelLocator locator = mock(ModelSource.ModelLocator.class); Path resolvedPath = Paths.get("/tmp/subproject/pom.xml"); when(locator.locateExistingPom(any(Path.class))).thenReturn(resolvedPath); Sources.BuildPathSource source = (Sources.BuildPathSource) Sources.buildSource(basePath); ModelSource resolved = source.resolve(locator, "subproject"); assertNotNull(resolved);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/NetServerEnumIterator.java
final ResourceNameFilter filter) throws CIFSException { this.parent = parent; this.nameFilter = filter; final SmbResourceLocator locator = parent.getLocator(); this.workgroup = locator.getType() == SmbConstants.TYPE_WORKGROUP; if (locator.getURL().getHost().isEmpty()) { this.request = new NetServerEnum2(th.getConfig(), th.getOEMDomainName(), NetServerEnum2.SV_TYPE_DOMAIN_ENUM);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java
@Deprecated(since = "4.0.0") public class DefaultModelProcessor implements ModelProcessor { @Inject private ModelLocator locator; @Inject private ModelReader reader; public DefaultModelProcessor setModelLocator(ModelLocator locator) { this.locator = locator; return this; } public DefaultModelProcessor setModelReader(ModelReader reader) { this.reader = reader;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 3.8K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/AllocationBenchmark.java
int numIndices = toInt(params[0]); int numShards = toInt(params[1]); int numReplicas = toInt(params[2]); int numNodes = toInt(params[3]); strategy = Allocators.createAllocationService( Settings.builder().put("cluster.routing.allocation.awareness.attributes", "tag").build() ); Metadata.Builder mb = Metadata.builder();Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Apr 13 08:33:41 GMT 2021 - 6.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java
* <li>Resolving the path against the current POM's location</li> * <li>Using the model locator to find an existing POM at the resolved location</li> * </ul> * * @param modelLocator the locator to use for finding the related POM file * @param relative the relative path to resolve * @return a new ModelSource for the resolved POM, or null if: * <ul>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 4.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProcessor.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.building; import org.apache.maven.model.io.ModelReader; import org.apache.maven.model.locator.ModelLocator; /** * ModelProcessor * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") @SuppressWarnings("checkstyle:interfaceistype")Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 1.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/locator/DefaultModelLocator.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.locator; import javax.inject.Named; import javax.inject.Singleton; import java.io.File; /** * Locates a POM file within a project base directory. *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 1.3K bytes - Click Count (0)