Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 359 for locator (0.07 sec)

  1. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. 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")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

             *
             * @param path the filesystem path to the source content
             * @param location the logical location of the source, used for reporting purposes.
             *                 If null, the path string representation is used
             */
            protected PathSource(Path path, String location) {
                this.path = requireNonNull(path, "path").normalize();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            verify(treeConnection).getSession();
        }
    
        @Test
        @DisplayName("ensureDFSResolved forwards to tree connection with locator")
        void ensureDFSResolvedDelegates() throws Exception {
            // Confirms DFS resolution is delegated with the correct locator
            // Act
            handle.ensureDFSResolved();
            // Assert & interaction verify
            verify(treeConnection).ensureDFSResolved(resourceLoc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

        void send_retries_on_transportError() throws Exception {
            // Create a spy to track method calls
            SmbTreeConnection c = spy(newConn());
    
            // Prepare a minimal locator
            SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(ctx, smbUrl("smb://srv/share/path"));
    
            // Setup a tree that will fail with transport error first, then succeed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbResource.java

     *
     * @see jcifs.smb.SmbFile for the main implementation of this interface
     * @author mbechler
     */
    public interface SmbResource extends AutoCloseable {
    
        /**
         * Gets the file locator for this file
         *
         * The file locator provides details about
         *
         * @return the fileLocator
         */
        SmbResourceLocator getLocator();
    
        /**
         * The context this file was opened with
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  10. src/archive/zip/writer.go

    		b.uint64(size)                   // size of the central directory
    		b.uint64(offset)                 // offset of start of central directory with respect to the starting disk number
    
    		// zip64 end of central directory locator
    		b.uint32(directory64LocSignature)
    		b.uint32(0)           // number of the disk with the start of the zip64 end of central directory
    		b.uint64(uint64(end)) // relative offset of the zip64 end of central directory record
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top