Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 178 for _getConfig (0.1 sec)

  1. src/test/java/jcifs/context/AbstractCIFSContextTest.java

            @Override
            public NameServiceClient getNameServiceClient() {
                return null; // Not relevant for AbstractCIFSContext tests
            }
    
            @Override
            public Configuration getConfig() {
                return null; // Not relevant for AbstractCIFSContext tests
            }
    
            @Override
            public SmbPipeResource getPipe(String name, int flags) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            mockConfig = Mockito.mock(Configuration.class);
            mockCredentials = Mockito.mock(Credentials.class);
            mockCredentialsInternal = Mockito.mock(CredentialsInternal.class);
    
            Mockito.when(mockContext.getConfig()).thenReturn(mockConfig);
            Mockito.when(mockContext.getCredentials()).thenReturn(mockCredentials);
            Mockito.when(mockCredentials.unwrap(Mockito.any())).thenReturn(mockCredentialsInternal);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

        }
    
        @Override
        protected Smb2ReadResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2ReadResponse> req) {
            return new Smb2ReadResponse(tc.getConfig(), this.outputBuffer, this.outputBufferOffset);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmUtil.java

            final byte[] p14 = new byte[14];
            final byte[] p21 = new byte[21];
            final byte[] p24 = new byte[24];
            final byte[] passwordBytes = Strings.getOEMBytes(password, tc.getConfig());
            int passwordLength = passwordBytes.length;
    
            // Only encrypt the first 14 bytes of the password for Pre 0.12 NT LM
            if (passwordLength > 14) {
                passwordLength = 14;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

         */
        @Override
        protected Smb2ChangeNotifyResponse createResponse(final CIFSContext tc,
                final ServerMessageBlock2Request<Smb2ChangeNotifyResponse> req) {
            return new Smb2ChangeNotifyResponse(tc.getConfig());
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            witnessServer = InetAddress.getByName("192.168.1.200");
            serverAddress = InetAddress.getByName("192.168.1.100");
    
            // Setup mock configuration with lenient stubbing
            lenient().when(mockContext.getConfig()).thenReturn(mockConfig);
            lenient().when(mockConfig.getWitnessHeartbeatTimeout()).thenReturn(120000L);
            lenient().when(mockConfig.getWitnessRegistrationTimeout()).thenReturn(300000L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

        private SmbTransport mockTransport;
    
        @Mock
        private CommonServerMessageBlock mockMessage;
    
        private ChannelManager channelManager;
    
        @BeforeEach
        void setUp() {
            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockConfig.isUseMultiChannel()).thenReturn(true);
            when(mockConfig.getMaxChannels()).thenReturn(4);
            when(mockConfig.getChannelBindingPolicy()).thenReturn(1); // preferred
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            this.expiration = exp;
        }
    
        /**
         * Gets the configuration object for this message block
         * @return the config
         */
        protected final Configuration getConfig() {
            return this.config;
        }
    
        /**
         *
         */
        @Override
        public void reset() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

            return 0;
        }
    
        @Override
        public String toString() {
            return ("Trans2FindNext2[" + super.toString() + ",sid=" + this.sid + ",searchCount=" + getConfig().getListSize()
                    + ",informationLevel=0x" + Hexdump.toHexString(this.informationLevel, 3) + ",resumeKey=0x"
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

             * methods that the next part should be sent. This is a
             * very indirect and simple batching control mechanism.
             */
    
            if (this.andx == null || !getConfig().isUseBatching()
                    || this.batchLevel >= getBatchLimit(getConfig(), (byte) this.andx.getCommand())) {
                this.andxCommand = (byte) 0xFF;
                this.andx = null;
    
                dst[start + ANDX_COMMAND_OFFSET] = (byte) 0xFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top