Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 200 for calculates (0.11 sec)

  1. cmd/xl-storage-meta-inline.go

    // serialize will serialize the provided keys and values.
    // The function will panic if keys/value slices aren't of equal length.
    // Payload size can give an indication of expected payload size.
    // If plSize is <= 0 it will be calculated.
    func (x *xlMetaInlineData) serialize(plSize int, keys [][]byte, vals [][]byte) {
    	if len(keys) != len(vals) {
    		panic(fmt.Errorf("xlMetaInlineData.serialize: keys/value number mismatch"))
    	}
    	if len(keys) == 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

        void testMaxDelayLimit() {
            // Given
            SmbOperationException.RetryPolicy policy = new SmbOperationException.RetryPolicy(10, 1000, 5000, 2.0, true);
    
            // When - Calculate delays for increasing attempts
            long delay1 = policy.getDelayMs(1);
            long delay2 = policy.getDelayMs(2);
            long delay3 = policy.getDelayMs(3);
            long delay4 = policy.getDelayMs(4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. docs/distributed/DESIGN.md

    - Erasure set is a single erasure coding unit within a MinIO deployment. An object is sharded within an erasure set. Erasure set size is automatically calculated based on the number of drives. MinIO supports unlimited number of drives but each erasure set can be up to 16 drives and a minimum of 2 drives.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 8K bytes
    - Viewed (1)
  4. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            pos += 4;
            // fileId (16 bytes)
            byte[] fid = fileId != null ? fileId : new byte[16];
            System.arraycopy(fid, 0, buf, pos, 16);
            pos += 16;
    
            // Calculate offsets relative to start of SMB2 header
            int inputOffsetField = inputCount > 0 ? payloadStart : 0;
            int outputOffsetField = outputCount > 0 ? payloadStart + inputCount : 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SimpleCircuitBreaker.java

            return new Statistics(name, getState(), totalCalls.get(), totalSuccesses.get(), totalFailures.get(), rejectedCalls.get(),
                    consecutiveFailures.get(), getSuccessRate());
        }
    
        /**
         * Calculate success rate
         *
         * @return success rate (0.0 to 1.0)
         */
        private double getSuccessRate() {
            long total = totalCalls.get();
            if (total == 0) {
                return 1.0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            assertEquals(0, qrList.getStart());
            assertEquals(10, qrList.getPageSize());
            assertEquals(0, qrList.getOffset());
    
            // Page info should be calculated (allRecordCount=100, pageSize=10 => 10 pages)
            // But since size() < pageSize, collapsing logic applies and allPageCount becomes currentPageNumber
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 39.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // Then
            assertNotNull(response);
            assertTrue(response instanceof Smb2TreeDisconnectResponse);
            verify(mockContext, times(1)).getConfig();
        }
    
        @Test
        @DisplayName("Should calculate correct message size")
        void testSize() {
            // Given
            Configuration mockConfig = mock(Configuration.class);
            Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/Kerb5ContextTest.java

            CIFSException ex = assertThrows(CIFSException.class, () -> ctx.calculateMIC(data));
            assertTrue(ex.getMessage().contains("Failed to calculate MIC"));
        }
    
        @Test
        @DisplayName("calculateMIC with null data throws NPE")
        void calculateMIC_nullData() {
            assertThrows(NullPointerException.class, () -> ctx.calculateMIC(null));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                    pad = parameterOffset % PADDING_SIZE;
                    pad = pad == 0 ? 0 : PADDING_SIZE - pad;
                    parameterOffset += pad;
                }
    
                // caclulate parameterDisplacement before calculating new parameterCount
                parameterDisplacement += parameterCount;
    
                int available = maxBufferSize - parameterOffset - pad;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * unless the user is actually calling a parse method.
       */
      private static final class ParseOverflowDetection {
        private ParseOverflowDetection() {}
    
        // calculated as 0xffffffffffffffff / radix
        static final long[] maxValueDivs = new long[Character.MAX_RADIX + 1];
        static final int[] maxValueMods = new int[Character.MAX_RADIX + 1];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top