Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for entries3 (3.51 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            // When
            FileEntry[] entries = dfsRootEnum.getEntries();
    
            // Then
            assertNotNull(entries, "The returned entries array should not be null.");
            assertEquals(2, entries.length, "The number of entries should be correct.");
    
            // The getEntries method returns FileEntry objects. We can check their names.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            // Act
            AppConfigurationEntry[] entries = cfg.getAppConfigurationEntry("ignored");
    
            // Assert
            assertNotNull(entries, "Entries array should not be null");
            assertEquals(1, entries.length, "Exactly one entry is expected");
            AppConfigurationEntry e = entries[0];
            assertNotNull(e, "Entry should not be null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/LruHashMap.java

         */
        protected static final float DEFAULT_LOAD_FACTOR = 0.75f;
    
        /**
         * Upper limit on the number of entries.
         */
        protected final int limitSize;
    
        /**
         * Creates an {@link LruHashMap}.
         *
         * @param limitSize the upper limit on the number of entries
         */
        public LruHashMap(final int limitSize) {
            this(limitSize, DEFAULT_INITIAL_CAPACITY, DEFAULT_LOAD_FACTOR);
        }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

        @Test
        @DisplayName("Happy path without filter: iterates all entries in order")
        void happyPath_noFilter_returnsAll() throws Exception {
            SmbFile parent = newParent();
            List<FileEntry> entries = Arrays.asList(entry("foo", SmbConstants.TYPE_SHARE), entry("bar", SmbConstants.TYPE_SHARE));
            ShareEnumIterator it = new ShareEnumIterator(parent, entries.iterator(), null);
    
            // hasNext/next sequence over two elements
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            FileEntry[] entries = msrpcShareEnum.getEntries();
    
            assertNotNull(entries);
            assertEquals(3, entries.length);
    
            // Verify disk share
            assertEquals("DiskShare", entries[0].getName());
            assertEquals(8, entries[0].getType()); // TYPE_SHARE
    
            // Verify printer share
            assertEquals("PrinterShare", entries[1].getName());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

            assertEquals(0, response.status, "Status should be 0.");
            assertEquals(2, response.numEntries, "Number of entries should be 2.");
        }
    
        /**
         * Tests the readDataWireFormat method.
         * This test simulates a response with two share entries.
         */
        @Test
        void testReadDataWireFormat() throws IOException {
            NetShareEnumResponse response = new NetShareEnumResponse();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnum.java

        }
    
        /**
         * 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) this.info.e;
            final SmbShareInfo[] entries = new SmbShareInfo[a200.count];
            for (int i = 0; i < a200.count; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

        /**
         * Fetches more entries from the server.
         *
         * @return true if more entries were fetched, false otherwise
         * @throws CIFSException if an error occurs during fetching
         */
        protected abstract boolean fetchMore() throws CIFSException;
    
        /**
         * Gets the current batch of results.
         *
         * @return array of file entries in the current batch
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcDfsRootEnum.java

        }
    
        /**
         * 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];
            for (int i = 0; i < a200.count; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareEnum.java

             */
            final srvsvc.ShareInfoCtr1 ctr = (srvsvc.ShareInfoCtr1) this.info;
            final MsrpcShareInfo1[] entries = new MsrpcShareInfo1[ctr.count];
            for (int i = 0; i < ctr.count; i++) {
                entries[i] = new MsrpcShareInfo1(ctr.array[i]);
            }
            return entries;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top