Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 142 for setUid (0.04 seconds)

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

  1. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            verify(messageBlock).setMid(expectedMid);
            verify(messageBlock).getMid();
        }
    
        @Test
        @DisplayName("Test setMid with boundary values")
        void testSetMidWithBoundaryValues() {
            // Test with MAX_VALUE
            long maxMid = Long.MAX_VALUE;
            doNothing().when(messageBlock).setMid(maxMid);
            when(messageBlock.getMid()).thenReturn(maxMid);
    
            messageBlock.setMid(maxMid);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/RequestTest.java

                this.response = (TestResponse) msg;
            }
    
            @Override
            public long getMid() {
                return mid;
            }
    
            @Override
            public void setMid(long mid) {
                this.mid = mid;
            }
    
            @Override
            public int getCommand() {
                return command;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            assertEquals(digest, response.getDigest());
    
            // Test mid methods
            long mid = 123456L;
            doNothing().when(response).setMid(mid);
            when(response.getMid()).thenReturn(mid);
            response.setMid(mid);
            assertEquals(mid, response.getMid());
    
            // Test command methods
            int command = 0x25;
            doNothing().when(response).setCommand(command);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

                        response = new SmbComSessionSetupAndXResponse(getContext().getConfig(), null);
                        response.setExtendedSecurity(true);
                        request.setUid(getUid());
                        setUid(0);
    
                        try {
                            trans.send(request, response);
                        } catch (SmbAuthException sae) {
                            throw sae;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/CommonServerMessageBlock.java

        /**
         * Gets the message ID.
         *
         * @return the message id
         */
        long getMid();
    
        /**
         * Sets the message ID.
         *
         * @param mid the message ID to set
         */
        void setMid(long mid);
    
        /**
         * Gets the SMB command.
         *
         * @return the command
         */
        int getCommand();
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/RequestWithPathTest.java

            }
    
            @Override
            public void setResponse(CommonServerMessageBlockResponse msg) {
            }
    
            @Override
            public long getMid() {
                return 0;
            }
    
            @Override
            public void setMid(long mid) {
            }
    
            @Override
            public int getCommand() {
                return 0;
            }
    
            @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            // ignore
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlock#setUid(int)
         */
        @Override
        public void setUid(final int uid) {
            // ignore
        }
    
        /**
         * Gets the flags for this message.
         *
         * @return the flags
         */
        public final int getFlags() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/NotifyResponseTest.java

            public void setResponse(CommonServerMessageBlockResponse msg) {
                this.response = msg;
            }
    
            @Override
            public long getMid() {
                return this.mid;
            }
    
            @Override
            public void setMid(long mid) {
                this.mid = mid;
            }
    
            @Override
            public int getCommand() {
                return this.command;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         */
        public final void setPid(final int pid) {
            this.pid = pid;
        }
    
        /**
         * Gets the user identifier
         * @return the uid
         */
        public final int getUid() {
            return this.uid;
        }
    
        /**
         * @param uid
         *            the uid to set
         */
        @Override
        public final void setUid(final int uid) {
            this.uid = uid;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                this.andx.setFlags(getFlags());
                this.andx.setFlags2(getFlags2());
                this.andx.setTid(getTid());
                this.andx.setPid(getPid());
                this.andx.setUid(getUid());
                this.andx.setMid(getMid());
                this.andx.setUseUnicode(this.isUseUnicode());
    
                if (this.andx instanceof AndXServerMessageBlock) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
Back to Top