Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for calculations (0.33 sec)

  1. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. cmd/signature-v4-utils.go

    		case "content-length":
    			// Signature-V4 spec excludes Content-Length from signed headers list for signature calculation.
    			// But some clients deviate from this rule. Hence we consider Content-Length for signature
    			// calculation to be compatible with such clients.
    			extractedSignedHeaders.Set(header, strconv.FormatInt(r.ContentLength, 10))
    		default:
    			return nil, ErrUnsignedHeaders
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

         */
        @Test
        void testFlatTrickyUrls() throws IOException {
            // parent references child with artifactId (which is not directory name)
            // then relative path calculation will fail during build from disk but success when calculated from repo
            try {
                // build from disk expected to fail
                testInheritance("tricky-flat-artifactId-urls", false);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. internal/config/storageclass/help.go

    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         Optimize,
    			Description: `optimize parity calculation for standard storage class, set 'capacity' for capacity optimized (no additional parity)` + defaultHelpPostfix(Optimize),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         config.Comment,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 26 22:06:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. manifests/addons/dashboards/lib/panels.libsonnet

        base(title, targets, desc=''):
          heatmap.new(title)
          + heatmap.queryOptions.withTargets(targets)
          + heatmap.queryOptions.withInterval('1m')
          + options.calculation.xBuckets.withMode('size')
          + options.calculation.xBuckets.withValue('1min')
          + options.withCellGap(0)
          + options.color.withMode('scheme')
          + options.color.withScheme('Spectral')
          + options.color.withSteps(128)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. internal/bucket/bandwidth/measurement.go

    		return
    	}
    
    	duration := endTime.Sub(m.startTime)
    
    	bytesSinceLastWindow := atomic.SwapUint64(&m.bytesSinceLastWindow, 0)
    
    	if m.expMovingAvg == 0 {
    		// Should address initial calculation and should be fine for resuming from 0
    		m.expMovingAvg = float64(bytesSinceLastWindow) / duration.Seconds()
    		return
    	}
    
    	increment := float64(bytesSinceLastWindow) / duration.Seconds()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 03 20:41:51 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

     * marking the file as a build logic input.
     */
    fun Project.trimmedContentsOfFile(path: String): String =
        providers.fileContents(repoRoot().file(path)).asText.get().trim()
    
    // TODO Simplify the buildTimestamp() calculation if possible
    fun Project.buildTimestamp(): Provider<String> =
        providers.of(BuildTimestampValueSource::class) {
            parameters {
                buildTimestampFromBuildReceipt = buildTimestampFromBuildReceipt()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

            int len = super.encode(dst, dstIndex);
            int exp = size();
            int actual = getLength();
            if ( exp != actual ) {
                throw new IllegalStateException(String.format("Wrong size calculation have %d expect %d", exp, actual));
            }
            return len;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#getResponse()
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.2K 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.
         */
        public static final int NTLMSSP_NEGOTIATE_TARGET_INFO = 0x00800000;
    
        /**
         * 
         */
        public static final int NTLMSSP_NEGOTIATE_VERSION = 0x2000000;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  10. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 17 01:15:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top