- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 17 for Allocator (0.07 seconds)
-
src/main/resources/esclient.xml
<property name="settings"> {"http.cors.enabled":"true", "http.cors.allow-origin":"*", "discovery.type":"single-node", "cluster.allocator.existing_shards_allocator.batch_enabled":"true", <!-- "node.name":"search_engine", "discovery.seed_hosts":"search_engine", "cluster.initial_cluster_manager_nodes":"search_engine",
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 16.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
void testIsRootAndShare() { assertTrue(locator("smb://server/").isRoot()); assertFalse(locator("smb://server/share/").isRoot()); assertTrue(locator("smb://server/").isRootOrShare()); assertTrue(locator("smb://server/share/").isRootOrShare()); assertFalse(locator("smb://server/share/path").isRootOrShare()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
SmbFile parent = mock(SmbFile.class, RETURNS_DEEP_STUBS); SmbResourceLocator locator = mock(SmbResourceLocator.class); when(parent.getLocator()).thenReturn(locator); when(locator.getURL()).thenReturn(new URL("file:/")); when(locator.getAddress()).thenThrow(new CIFSException("no master", new UnknownHostException("MB")));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
final ResourceNameFilter fnf, final ResourceFilter ff) throws CIFSException { // clone the locator so that the address index is not modified final SmbResourceLocatorImpl locator = parent.fileLocator.clone(); final CIFSContext tc = parent.getContext(); final URL u = locator.getURL(); FileEntry[] entries; if (u.getPath().lastIndexOf('/') != u.getPath().length() - 1) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
void testConstructor_NonWorkgroupType_ThrowsException() throws Exception { // Given: A non-workgroup type with a host when(locator.getType()).thenReturn(SmbConstants.TYPE_SERVER); when(locator.getURL()).thenReturn(createSmbURL("smb://server/")); // When & Then: Constructor should throw SmbException
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java
} }); } static class BridgeInjectorImpl extends InjectorImpl { final Provider<BeanLocator> locator; final Binder binder; BridgeInjectorImpl(Provider<BeanLocator> locator, Binder binder) { this.locator = locator; this.binder = binder; } @Override protected <U> Injector bind(Key<U> key, Binding<U> binding) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 16:01:38 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
void happyPath_enumerates_and_closes(String wildcard) throws Exception { // Setup required for this test when(parent.getLocator()).thenReturn(locator); when(locator.getUNCPath()).thenReturn("\\\\server\\share\\dir\\"); when(tree.getConfig()).thenReturn(config); when(config.getMaximumBufferSize()).thenReturn(65535);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
lenient().when(parent.getLocator()).thenReturn(locator); lenient().when(locator.getUNCPath()).thenReturn("\\\\SERVER\\Share\\dir\\"); // ends with \\ // Create URL with registered handler URL smbUrl = new URL("smb://server/share/dir/"); lenient().when(locator.getURL()).thenReturn(smbUrl); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
lenient().when(session.getAttribute(anyString())).thenReturn(null); // Setup SmbFile mock lenient().when(smbFile.getLocator()).thenReturn(locator); lenient().when(locator.getCanonicalURL()).thenReturn("smb://server/share/"); } /** * Test servlet initialization with default parameters */ @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 21.2K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceTest.java
when(resource.getLocator()).thenReturn(mockLocator); // When SmbResourceLocator locator = resource.getLocator(); // Then assertNotNull(locator, "Locator should not be null"); assertSame(mockLocator, locator, "Should return the expected locator"); } @Test @DisplayName("getContext should return CIFSContext")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0)