Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 129 for calculating (0.45 sec)

  1. CHANGELOG/CHANGELOG-1.21.md

      - Remove redundant log lines and reduce severity around parsing kubeEnv
      - Don't treat nodes created by virtual kubelet as nodes from non-autoscaled node groups
      - Remove redundant logging around calculating node utilization
      - Add configurable `--network` and `--rm` flags for docker in `Makefile`
      - Subtract DaemonSet pods' requests from node allocatable in the denominator while computing node utilization
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Fri Oct 14 07:03:14 UTC 2022
    - 367.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. cmd/erasure-metadata-utils_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"encoding/hex"
    	"fmt"
    	"math/rand"
    	"reflect"
    	"testing"
    )
    
    // Tests caclculating disk count.
    func TestDiskCount(t *testing.T) {
    	testCases := []struct {
    		disks     []StorageAPI
    		diskCount int
    	}{
    		// Test case - 1
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. 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)
  6. cmd/warm-backend-minio.go

    	if objectSize > maxMultipartPutObjectSize {
    		err = errors.New("entity too large")
    		return
    	}
    
    	configuredPartSize := minPartSize
    	// Use floats for part size for all calculations to avoid
    	// overflows during float64 to int64 conversions.
    	partSizeFlt := float64(objectSize / maxPartsCount)
    	partSizeFlt = math.Ceil(partSizeFlt/float64(configuredPartSize)) * float64(configuredPartSize)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (1)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/smb1/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 128-bit encryption is supported.
        */
        int NTLMSSP_NEGOTIATE_128 = 0x20000000;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

                    0, // shareAccess
                    0, // extFileAttributes
                    createOptions, mockAndX);
        }
    
        @Nested
        @DisplayName("Constructor createDisposition calculation")
        class CreateDispositionTests {
            static java.util.stream.Stream<Arguments> flagsProvider() {
                return java.util.stream.Stream.of(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top