Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 32 for FileEntry (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/smb/NetServerEnumIterator.java

            return this.next != null;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.Iterator#next()
         */
        @Override
        public FileEntry next() {
            final FileEntry n = this.next;
            try {
                final FileEntry ne = advance();
                if (ne == null) {
                    doClose();
                    return n;
                }
                this.next = ne;
    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)
  2. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

                testArray.s[i] = entry;
            }
    
            setDfsEnumArray(dfsRootEnum, testArray);
    
            // Call getEntries multiple times
            FileEntry[] entries1 = dfsRootEnum.getEntries();
            FileEntry[] entries2 = dfsRootEnum.getEntries();
            FileEntry[] entries3 = dfsRootEnum.getEntries();
    
            // Verify consistency
            assertNotNull(entries1);
            assertNotNull(entries2);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

        @Mock
        private SmbResource mockParent;
    
        @Mock
        private CloseableIterator<FileEntry> mockDelegate;
    
        @Mock
        private ResourceFilter mockFilter;
    
        @Mock
        private FileEntry mockFileEntry1;
    
        @Mock
        private FileEntry mockFileEntry2;
    
        @Mock
        private FileEntry mockFileEntry3;
    
        @Mock
        private SmbResource mockResource1;
    
        @Mock
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

         * @throws CIFSException if an error occurs during enumeration
         */
        protected final FileEntry advance(final boolean last) throws CIFSException {
            final FileEntry[] results = getResults();
            while (this.ridx < results.length) {
                final FileEntry itm = results[this.ridx];
                this.ridx++;
                if (filter(itm)) {
                    return itm;
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            return DcerpcHandle.getHandle(String.format("ncacn_np:%s[endpoint=%s,address=%s]", loc.getServer(), ep, address.getHostAddress()),
                    ctx);
        }
    
        static FileEntry[] doDfsRootEnum(final CIFSContext ctx, final SmbResourceLocator loc, final Address address) throws IOException {
            try (DcerpcHandle handle = getHandle(ctx, loc, address, "\\PIPE\\netdfs")) {
    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)
  6. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.DirFileEntryEnumIteratorBase#getResults()
         */
        @Override
        protected FileEntry[] getResults() {
            final FileEntry[] results = this.response.getResults();
            if (results == null) {
                return new FileEntry[0];
            }
            return results;
        }
    
        /**
         * Opens a directory for enumeration
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareEnum.java

        }
    
        /**
         * Returns the share entries retrieved from the enumeration.
         *
         * @return an array of FileEntry objects representing the shares
         */
        public FileEntry[] getEntries() {
            /* The ShareInfo1 class does not implement the FileEntry
             * interface (because it is generated from IDL). Therefore
             * we must create an array of objects that do.
             */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/ShareEnumIterator.java

        private final Iterator<FileEntry> delegate;
        private final ResourceFilter filter;
        private final SmbResource parent;
        private SmbResource next;
    
        /**
         * @param parent
         * @param delegate
         * @param filter
         *
         */
        public ShareEnumIterator(final SmbResource parent, final Iterator<FileEntry> delegate, final ResourceFilter filter) {
            this.parent = parent;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareEnum.java

        }
    
        /**
         * Returns the share entries retrieved from the enumeration.
         *
         * @return an array of FileEntry objects representing the shares
         */
        public FileEntry[] getEntries() {
            /*
             * The ShareInfo1 class does not implement the FileEntry
             * interface (because it is generated from IDL). Therefore
             * we must create an array of objects that do.
             */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcDfsRootEnum.java

            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        /**
         * Returns the DFS root entries retrieved from the enumeration.
         *
         * @return an array of FileEntry objects representing the DFS roots
         */
        public FileEntry[] getEntries() {
            final netdfs.DfsEnumArray200 a200 = (netdfs.DfsEnumArray200) info.e;
            final SmbShareInfo[] entries = new SmbShareInfo[a200.count];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
Back to Top