Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 320 for credit (0.04 sec)

  1. cmd/tier-handlers.go

    		return
    	}
    
    	var creds madmin.TierCreds
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err := json.Unmarshal(reqBytes, &creds); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	// Refresh from the disk in case we had missed notifications about edits from peers.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/InputValidator.java

        }
    
        /**
         * Validates SMB credits value
         *
         * @param credits the credits value to validate
         * @throws IllegalArgumentException if credits value is invalid
         */
        public static void validateCredits(int credits) {
            if (credits < 0) {
                throw new IllegalArgumentException("Credits cannot be negative: " + credits);
            }
            if (credits > MAX_CREDITS) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

        }
    
        /**
         * Get the number of send credits granted
         *
         * @return credits granted
         */
        public int getCreditsGranted() {
            return creditsGranted;
        }
    
        /**
         * Set the number of send credits granted
         *
         * @param creditsGranted credits to grant
         */
        public void setCreditsGranted(int creditsGranted) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        }
    
        @Test
        @DisplayName("Test initial credits edge cases")
        void testInitialCreditsEdgeCases() {
            // Test zero credits
            when(negotiationResponse.getInitialCredits()).thenReturn(0);
            assertEquals(0, negotiationResponse.getInitialCredits());
    
            // Test negative credits (edge case)
            when(negotiationResponse.getInitialCredits()).thenReturn(-1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    	})
    	if err != nil {
    		c.Fatalf("Error initializing client: %v", err)
    	}
    
    	// Validate that the client from sts creds can access the bucket.
    	c.mustListObjects(ctx, minioClient, bucket)
    
    	// Create an madmin client with user creds
    	userAdmClient, err := madmin.NewWithOptions(s.endpoint, &madmin.Options{
    		Creds:  cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken),
    		Secure: s.secure,
    	})
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaCapabilities.java

         */
        public static final int DEFAULT_RDMA_READ_WRITE_SIZE = 1048576; // 1MB
    
        /**
         * Default maximum number of receive credits
         */
        public static final int DEFAULT_RECEIVE_CREDIT_MAX = 255;
    
        /**
         * Default target number of send credits
         */
        public static final int DEFAULT_SEND_CREDIT_TARGET = 32;
    
        /**
         * Default maximum receive size (8KB)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Response.java

         * Set received status
         */
        void received();
    
        /**
         * Unset received status
         */
        void clearReceived();
    
        /**
         * Gets the number of credits granted by the server.
         *
         * @return number of credits granted by the server
         */
        int getGrantedCredits();
    
        /**
         * Gets the error status code.
         *
         * @return status code
         */
        int getErrorCode();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/SmbNegotiationResponse.java

         *
         * @return the transaction buffer size
         */
        int getTransactionBufferSize();
    
        /**
         * Gets the number of initial credits granted by the server for SMB2.
         *
         * @return number of initial credits the server grants
         */
        int getInitialCredits();
    
        /**
         * Checks whether a connection can be reused for the given configuration.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. cmd/auth-handler.go

    	s3Err = authenticateRequest(ctx, r, action)
    	reqInfo := logger.GetReqInfo(ctx)
    	if reqInfo == nil {
    		return cred, owner, ErrAccessDenied
    	}
    
    	cred = reqInfo.Cred
    	owner = reqInfo.Owner
    	if s3Err != ErrNone {
    		return cred, owner, s3Err
    	}
    
    	return cred, owner, authorizeRequest(ctx, r, action)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java

            assertEquals(65536, config.getRdmaMaxReceiveSize(), "Default max receive size should be 64KB");
            assertEquals(255, config.getRdmaCredits(), "Default credits should be 255");
        }
    
        @Test
        public void testRdmaConfigurationProperties() throws CIFSException {
            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.useRDMA", "true");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top