Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Allocator (0.06 sec)

  1. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. 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);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. 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>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 09:46:53 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

            @Override
            @Nullable
            public ModelSource resolve(@Nonnull ModelLocator locator, @Nonnull String relative) {
                String norm = relative.replace('\\', File.separatorChar).replace('/', File.separatorChar);
                Path path = getPath().getParent().resolve(norm);
                Path relatedPom = locator.locateExistingPom(path);
                if (relatedPom != null) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbResourceLocatorInternal.java

         */
        boolean shouldForceSigning();
    
        /**
         * Determines whether this resource path overlaps with another resource path by sharing a common root.
         *
         * @param other the other resource locator to compare with
         * @return whether the paths share a common root
         * @throws CIFSException if an error occurs during comparison
         */
        boolean overlaps(SmbResourceLocator other) throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. apache-maven/src/main/appended-resources/META-INF/LICENSE.vm

    #*    *##end
    #*    *###
    #*    *### copy license file to lib/$artifactId.license
    #*    *##set ( $licFile = $directory + '/' + $project.artifact.artifactId + '.license' )
    #*    *##set ( $downloaded = $locator.getResourceAsFile( "licenses/${spdx}.txt", "licenses/${licFile}" ) )
    
    #*    *### add dependency info to output
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            } catch (MalformedURLException e) {
                throw new AssertionError("Failed to create SMB URL: " + spec, e);
            }
        }
    
        // Utility to build a minimal locator for connect tests
        private static SmbResourceLocatorImpl newLocator(CIFSContext ctx) {
            return new SmbResourceLocatorImpl(ctx, smbUrl("smb://server/share"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top