Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 198 for calculates (0.1 sec)

  1. cmd/bucket-replication-metrics.go

    		return
    	}
    
    	increment := float64(bytesSinceLastWindow) / duration.Seconds()
    	m.expMovingAvg = exponentialMovingAverage(beta, m.expMovingAvg, increment)
    }
    
    // exponentialMovingAverage calculates the exponential moving average
    func exponentialMovingAverage(beta, previousAvg, incrementAvg float64) float64 {
    	return (1-beta)*incrementAvg + beta*previousAvg
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/QueryResponseList.java

            this.partialResults = partialResults;
            this.facetResponse = facetResponse;
            if (pageSize > 0) {
                calculatePageInfo();
            }
        }
    
        /**
         * Calculates pagination information based on the current parameters.
         * This method computes page counts, navigation flags, record numbers, and page number lists.
         */
        protected void calculatePageInfo() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. cmd/erasure-metadata-utils.go

    var (
    	errPartSizeZero  = errors.New("Part size cannot be zero")
    	errPartSizeIndex = errors.New("Part index cannot be smaller than 1")
    )
    
    // calculatePartSizeFromIdx calculates the part size according to input index.
    // returns error if totalSize is -1, partSize is 0, partIndex is 0.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                    && this.dataDisplacement + this.dataCount >= this.totalDataCount) {
                this.hasMore = false;
            }
            return this;
        }
    
        /**
         * Calculates padding needed for the given offset
         * @param offset
         *            the current offset
         * @return padding size in bytes
         */
        protected int pad(final int offset) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            request.encode(tempBuffer, 50);
    
            // When
            int bytesWritten = request.writeBytesWireFormat(buffer, offset);
    
            // Then
            // The writeBytesWireFormat writes the structure and calculates padding
            // Base structure: 24 bytes, then pad8 alignment, then token: 5 bytes
            // Total bytes written includes padding for 8-byte alignment
            int expectedBytesWritten = 35;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            }
    
            return Strings.fromOEMBytes(src, srcIndex, Strings.findTermination(src, srcIndex, maxLen), getConfig());
        }
    
        /**
         * Calculates the wire format length of a string
         * @param str string to measure
         * @param offset current buffer offset for alignment calculation
         * @return string length
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  7. cmd/streaming-signature-v4.go

    	// Calculate signature.
    	newSignature := getSignature(signingKey, stringToSign)
    
    	// Verify if signature match.
    	if !compareSignatureV4(newSignature, signV4Values.Signature) {
    		return cred, "", "", time.Time{}, ErrSignatureDoesNotMatch
    	}
    
    	// Return calculated signature.
    	return cred, newSignature, region, date, ErrNone
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  8. docs/bigdata/README.md

    ### **4.1 Spark Pi**
    
    Test the Spark installation by running the following compute intensive example, which calculates pi by “throwing darts” at a circle. The program generates points in the unit square ((0,0) to (1,1)) and counts how many points fall within the unit circle within the square. The result approximates pi.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/StatsAccumulator.java

       */
      public double max() {
        checkState(count != 0);
        return max;
      }
    
      double sumOfSquaresOfDeltas() {
        return sumOfSquaresOfDeltas;
      }
    
      /**
       * Calculates the new value for the accumulated mean when a value is added, in the case where at
       * least one of the previous mean and the value is non-finite.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                        response.getSuccessfulShards(), response.getFailedShards());
            }
            return response.getStatus().getStatus();
        }
    
        /**
         * Calculates the memory size of a document data map.
         * This is useful for monitoring memory usage during indexing operations.
         *
         * @param dataMap the document data as a map of field names to values
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.1K bytes
    - Viewed (0)
Back to top