Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 129 for calculation (0.06 sec)

  1. cmd/signature-v2.go

    	"sort"
    	"strconv"
    	"strings"
    
    	xhttp "github.com/minio/minio/internal/http"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    // Whitelist resource list that will be used in query string for signature-V2 calculation.
    //
    // This list should be kept alphabetically sorted, do not hastily edit.
    var resourceList = []string{
    	"acl",
    	"cors",
    	"delete",
    	"encryption",
    	"legal-hold",
    	"lifecycle",
    	"location",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/Collections2Test.java

                .size());
    
        // Almost force an overflow in the binomial coefficient calculation
        assertEquals(
            1391975640 /*C(34,14)*/,
            Collections2.orderedPermutations(concat(nCopies(20, 1), nCopies(14, 2))).size());
        // Do force an overflow in the binomial coefficient calculation
        assertEquals(
            Integer.MAX_VALUE,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

        void testSizeWithoutInputBuffer() {
            request = new Smb2QueryInfoRequest(mockConfig);
    
            int size = request.size();
    
            // Expected size calculation: size8(SMB2_HEADER_LENGTH + 40)
            // size8 rounds up to nearest multiple of 8
            int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 40;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

            @Nonnull
            String getFileExtension();
    
            /**
             * Each invocation of this method returns a new instance of calculator, never {@code null} value.
             */
            @Nonnull
            ChecksumCalculator getCalculator();
        }
    
        /**
         * The checksum calculator.
         */
        interface ChecksumCalculator {
            /**
             * Updates the checksum algorithm inner state with input.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. docs/debugging/s3-check-md5/main.go

    					log.Println("FAILED: GET", objFullPath(object), "=>", err)
    					failedMD5 = true
    					break
    				}
    				h := md5.New()
    				if _, err := io.Copy(h, obj); err != nil {
    					log.Println("FAILED: MD5 calculation error:", objFullPath(object), "=>", err)
    					failedMD5 = true
    					break
    				}
    				partsMD5Sum = append(partsMD5Sum, h.Sum(nil))
    			}
    
    			if failedMD5 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Feb 17 01:15:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

                // This can occur due to padding alignment differences between size8() and pad8()
                if (log.isDebugEnabled()) {
                    log.debug("Size calculation mismatch: expected {} but got {} (difference: {})", exp, actual, actual - exp);
                }
            }
            return len;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertEquals(options, readOptions);
        }
    
        @Test
        @DisplayName("Test size calculation without create contexts")
        void testSizeWithoutCreateContexts() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 56;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacTest.java

            assertNotNull(e.getMessage());
        }
    
        @Test
        void testMockedSuccessfulParsing() throws PACDecodingException, IOException {
            // Test with mocked PacMac to avoid complex signature calculation
            try (MockedStatic<PacMac> pacMacMock = mockStatic(PacMac.class)) {
                // Mock the calculateMac method to return a valid checksum
                byte[] mockChecksum = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/NtlmFlags.java

        /**
         * Sent by the server in the Type 2 message to indicate that it is
         * including a Target Information block in the message. The Target
         * Information block is used in the calculation of the NTLMv2 response.
         */
        int NTLMSSP_NEGOTIATE_TARGET_INFO = 0x00800000;
    
        /**
         * Indicates that the NTLM version is included in the message.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. cmd/endpoint-ellipses.go

    			if d <= prevD {
    				prevD = d
    				setSize = cnt
    			}
    		}
    	}
    	return setSize
    }
    
    // possibleSetCountsWithSymmetry returns symmetrical setCounts based on the
    // input argument patterns, the symmetry calculation is to ensure that
    // we also use uniform number of drives common across all ellipses patterns.
    func possibleSetCountsWithSymmetry(setCounts []uint64, argPatterns []ellipses.ArgPattern) []uint64 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top