Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for calculations (0.06 sec)

  1. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            assertEquals(20, bytesDecoded);
    
            // Verify capacity calculation: alloc * sectPerAlloc * bytesPerSect
            long expectedCapacity = alloc * sectPerAlloc * bytesPerSect;
            assertEquals(expectedCapacity, smbInfoAllocation.getCapacity());
    
            // Verify free space calculation: free * sectPerAlloc * bytesPerSect
            long expectedFree = free * sectPerAlloc * bytesPerSect;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            assertEquals(1, stats.getOperationErrors(), "Should have 1 error");
            assertEquals(0.25, stats.getErrorRate(), 0.001, "Error rate should be 25% (1 error out of 4 successful operations)");
    
            // Verify latency calculations
            assertTrue(stats.getAverageReadLatencyMicros() > 0, "Read latency should be positive");
            assertTrue(stats.getAverageWriteLatencyMicros() > 0, "Write latency should be positive");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                    int bytesEncoded = buffer.encode(dst, 0);
                    assertEquals(buffer.size(), bytesEncoded);
                }
            }
    
            @Test
            @DisplayName("Should handle concurrent size calculations")
            void testConcurrentSizeCalculations() throws InterruptedException {
                String path = "\\\\server\\share\\test";
                buffer = new DfsReferralRequestBuffer(path, 3);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                // Then
                assertEquals(7000L * 8 * 512, usedSpace);
            }
    
            @Test
            @DisplayName("Should support percentage calculations")
            void shouldSupportPercentageCalculations() throws SMBProtocolDecodingException {
                // Given
                ByteBuffer buffer = ByteBuffer.allocate(24);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                    pageSize, offset);
        }
    
        /**
         * Converts an object value to a float for score calculations.
         * Handles Float and String types, returning 0.0f for unsupported types.
         *
         * @param value the object to convert to float
         * @return float representation of the value, or 0.0f if conversion fails
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                // Then
                assertEquals(7000L * 8 * 512, usedSpace);
            }
    
            @Test
            @DisplayName("Should support percentage calculations")
            void shouldSupportPercentageCalculations() throws SMBProtocolDecodingException {
                // Given
                ByteBuffer buffer = ByteBuffer.allocate(32);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/BloomFilter.java

      private final Strategy strategy;
    
      /** Natural logarithm of 2, used to optimize calculations in Bloom filter sizing. */
      private static final double LOG_TWO = Math.log(2);
    
      /** Square of the natural logarithm of 2, reused to optimize the bit size calculation. */
      private static final double SQUARED_LOG_TWO = LOG_TWO * LOG_TWO;
    
      /** Creates a BloomFilter. */
      private BloomFilter(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/BaseConfiguration.java

        }
    
        private final Map<String, Integer> batchLimits = new HashMap<>();
    
        /** Local process ID for SMB messages */
        protected int localPid = -1;
        /** Local timezone for time calculations */
        protected TimeZone localTimeZone;
        /** Secure random generator for cryptographic operations */
        protected SecureRandom random;
        /** Whether to use command batching for improved performance */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacMac.java

         * This method implements the Microsoft variant of the Kerberos ARCFOUR-HMAC-MD5 checksum.
         *
         * @param keyusage the Kerberos key usage number for this operation
         * @param key the encryption key to use for MAC calculation
         * @param data the data to calculate the MAC for
         * @return the calculated MAC bytes
         * @throws GeneralSecurityException if cryptographic operations fail
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.33.md

    - Fixed a bug in HorizontalPodAutoscaler. HPAs with `ContainerResource` metrics no longer return an error when container metrics are missing. Instead they use the same logic as `Resource` metrics to perform calculations. ([#127193](https://github.com/kubernetes/kubernetes/pull/127193), [@DP19](https://github.com/DP19)) [SIG Apps and Autoscaling]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 19:46:23 UTC 2025
    - 294.3K bytes
    - Viewed (0)
Back to top