Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for credits (0.06 sec)

  1. src/main/java/jcifs/config/BaseConfiguration.java

         */
        protected int rdmaMaxSendSize;
        /**
         * Maximum size in bytes for RDMA receive operations
         */
        protected int rdmaMaxReceiveSize;
        /**
         * Number of RDMA credits to request during negotiation
         */
        protected int rdmaCredits;
        /**
         * Flag indicating whether RDMA is currently enabled and available
         */
        protected boolean rdmaEnabled = false;
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            return 1;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Request#setRequestCredits(int)
         */
        @Override
        public void setRequestCredits(final int credits) {
    
        }
    
        /**
         * @return the command
         */
        @Override
        public final int getCommand() {
            return this.command;
        }
    
        /**
         * @param command
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        }
    
        /**
         * Gets the credit count for this message.
         *
         * @return the credit
         */
        public final int getCredit() {
            return this.credit;
        }
    
        /**
         * Sets the credit count for this message.
         *
         * @param credit
         *            the credit to set
         */
        public final void setCredit(final int credit) {
            this.credit = credit;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/CredentialsInternalTest.java

            TestCredentials creds = new TestCredentials("A", true, false, subject, false);
    
            // Act
            TestCredentials copy = creds.clone();
    
            // Assert
            assertNotSame(creds, copy, "clone must return a new instance");
            assertEquals(creds.getUserDomain(), copy.getUserDomain());
            assertEquals(creds.isAnonymous(), copy.isAnonymous());
            assertEquals(creds.isGuest(), copy.isGuest());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

        private Credentials creds;
    
        /**
         * Constructs a CIFS context wrapper with custom credentials.
         *
         * @param delegate the context to wrap
         * @param creds
         *            Credentials to use
         */
        public CIFSContextCredentialWrapper(final AbstractCIFSContext delegate, final Credentials creds) {
            super(delegate);
            this.creds = creds;
        }
    
        /**
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2Constants.java

         */
        public static final int SMB2_GLOBAL_CAP_DFS = 0x1;
    
        /**
         * Server supports leasing
         */
        public static final int SMB2_GLOBAL_CAP_LEASING = 0x2;
    
        /**
         * Server supports multi-credit operations
         */
        public static final int SMB2_GLOBAL_CAP_LARGE_MTU = 0x4;
    
        /**
         * Server supports multi-channel connections
         */
        public static final int SMB2_GLOBAL_CAP_MULTI_CHANNEL = 0x8;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/context/AbstractCIFSContext.java

            Runtime.getRuntime().addShutdownHook(this);
        }
    
        /**
         * @param creds the credentials to use
         * @return a wrapped context with the given credentials
         */
        @Override
        public CIFSContext withCredentials(final Credentials creds) {
            return new CIFSContextCredentialWrapper(this, creds);
        }
    
        /**
         *
         * {@inheritDoc}
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertNull(b.getServer());
        }
    
        @Test
        @DisplayName("shouldForceSigning depends on config, creds, and IPC")
        void testShouldForceSigning() {
            when(config.isIpcSigningEnforced()).thenReturn(true);
            when(creds.isAnonymous()).thenReturn(false);
    
            // Case 1: share is IPC$ -> IPC
            SmbResourceLocatorImpl ipc = locator("smb://server/IPC$/");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportImplTest.java

            // Arrange: minimal credentials chain so SmbSessionImpl constructor succeeds
            CredentialsInternal creds = mock(CredentialsInternal.class);
            when(ctx.getCredentials()).thenReturn(creds);
            when(creds.unwrap(CredentialsInternal.class)).thenReturn(creds);
            when(creds.clone()).thenReturn(creds);
    
            assertEquals(0, transport.getNumSessions());
    
            // Act: create new session (happy path)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/CIFSContextTest.java

        void testWithCredentials() {
            // Given
            Credentials creds = mock(Credentials.class);
            CIFSContext newContext = mock(CIFSContext.class);
            when(mockContext.withCredentials(creds)).thenReturn(newContext);
    
            // When
            CIFSContext context = mockContext.withCredentials(creds);
    
            // Then
            assertEquals(newContext, context);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top