Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getLastName (0.07 sec)

  1. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            assertEquals(versionMinor, server.versionMinor);
            assertEquals(serverType, server.type);
            assertEquals(comment, server.commentOrMasterBrowser);
    
            // Test getLastName
            assertEquals(serverName, response.getLastName());
        }
    
        @Test
        @DisplayName("Test readDataWireFormat with multiple servers")
        void testReadDataWireFormatMultipleServers() throws Exception {
            int numServers = 3;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

                this.nextRequest = new Trans2FindNext2(th.getConfig(), this.response.getSid(), this.response.getResumeKey(),
                        this.response.getLastName(), th.getConfig().getListCount(), th.getConfig().getListSize() - FIND_OVERHEAD);
            } catch (final SmbException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            assertNull(response.getResults());
        }
    
        @Test
        void testGetLastName() {
            // Test the getLastName method
            // By default, it should return null
            assertNull(response.getLastName());
        }
    
        @Test
        void testGetSubCommand() {
            // Test that the subcommand is properly set
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. 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)
  5. android/guava/src/com/google/common/hash/Funnel.java

     * public enum PersonFunnel implements Funnel<Person> {
     *   INSTANCE;
     *   public void funnel(Person person, PrimitiveSink into) {
     *     into.putUnencodedChars(person.getFirstName())
     *         .putUnencodedChars(person.getLastName())
     *         .putInt(person.getAge());
     *   }
     * }
     * }
     *
     * @author Dimitris Andreou
     * @since 11.0
     */
    @Beta
    @DoNotMock("Implement with a lambda")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

            super(config);
        }
    
        /**
         * Gets the last server name from the enumeration
         * @return the lastName
         */
        public final String getLastName() {
            return this.lastName;
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NetServerEnumIterator.java

                    return itm;
                }
            }
    
            if (this.workgroup && this.response.getStatus() == WinError.ERROR_MORE_DATA) {
                this.request.reset(0, this.response.getLastName());
                this.response.reset();
                this.request.setSubCommand(SmbComTransaction.NET_SERVER_ENUM3);
                this.treeHandle.send(this.request, this.response);
                checkStatus();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top