Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for lastName (0.18 sec)

  1. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            assertEquals(5000, netServerEnum2.timeout);
        }
    
        /**
         * Test the reset method.
         */
        @Test
        void testReset() {
            String lastName = "LAST_NAME";
            netServerEnum2.reset(0, lastName);
            assertEquals(lastName, netServerEnum2.lastName);
        }
    
        /**
         * Test the writeSetupWireFormat method.
         */
        @Test
        void testWriteSetupWireFormat() {
            byte[] dst = new byte[10];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

        public final boolean isEndOfSearch() {
            return this.isEndOfSearch;
        }
    
        /**
         * Gets the last file name in the response.
         *
         * @return the lastName
         */
        public final String getLastName() {
            return this.lastName;
        }
    
        /**
         * Gets the resume key for continuing the search.
         *
         * @return the resumeKey
         */
        public final int getResumeKey() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

        private String lastName;
    
        /**
         * Constructs a NetServerEnum2Response
         * @param config
         *            the configuration to use
         */
        public NetServerEnum2Response(final Configuration config) {
            super(config);
        }
    
        /**
         * Gets the last server name from the enumeration
         * @return the lastName
         */
        public final String getLastName() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

                }
            }
            lastName = numEntries == 0 ? null : e.name;
    
            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
            return ("NetServerEnum2Response[" + super.toString() + ",status=" + status + ",converter=" + converter + ",entriesReturned="
                    + numEntries + ",totalAvailableEntries=" + totalAvailableEntries + ",lastName=" + lastName + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            maxDataCount = 16384;
            maxSetupCount = (byte) 0x00;
            setupCount = 0;
            timeout = 5000;
        }
    
        @Override
        void reset(final int key, final String lastName) {
            super.reset();
            this.lastName = lastName;
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java

            maxDataCount = Trans2FindFirst2.LIST_SIZE;
            maxSetupCount = 0;
        }
    
        @Override
        void reset(final int resumeKey, final String lastName) {
            super.reset();
            this.resumeKey = resumeKey;
            this.filename = lastName;
            flags2 = 0;
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = subCommand;
            dstIndex++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

            }
            return (c + super.toString() + ",sid=" + sid + ",searchCount=" + numEntries + ",isEndOfSearch=" + isEndOfSearch + ",eaErrorOffset="
                    + eaErrorOffset + ",lastNameOffset=" + lastNameOffset + ",lastName=" + lastName + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

         */
        public static final int SV_TYPE_DOMAIN_ENUM = 0x80000000;
    
        static final String[] DESCR = { "WrLehDO\u0000B16BBDz\u0000", "WrLehDz\u0000B16BBDz\u0000", };
    
        String domain, lastName = null;
        int serverTypes;
    
        /**
         * Constructs a NetServerEnum2 request
         * @param config
         *            the configuration to use
         * @param domain
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            response.lastNameOffset = 100;
            response.lastName = "file5.txt";
    
            String actual = response.toString();
            assertTrue(actual.startsWith("Trans2FindFirst2Response["));
            assertTrue(actual.contains("sid=123"));
            assertTrue(actual.contains("searchCount=5"));
            assertTrue(actual.contains("isEndOfSearch=true"));
            assertTrue(actual.contains("lastName=file5.txt"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

            this.maxDataCount = batchSize;
            this.maxSetupCount = 0;
        }
    
        @Override
        public void reset(final int rk, final String lastName) {
            super.reset();
            this.resumeKey = rk;
            this.filename = lastName;
            this.flags2 = 0;
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = getSubCommand();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top