Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for calculate (0.03 sec)

  1. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

        }
    
        /**
         * Calculates the boost value for the given document data using the boost expression.
         * The method evaluates the boost expression and converts the result to a float value.
         * Supports Integer, Long, Float, Double, and String representations of numbers.
         *
         * @param map the document data as a map of field names to values
         * @return the calculated boost value as a float, or 0.0f if evaluation fails
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. maven-tests/mvnw.cmd

    @echo Cannot start maven from wrapper >&2 && exit /b 1
    @GOTO :EOF
    : end batch / begin powershell #>
    
    $ErrorActionPreference = "Stop"
    if ($env:MVNW_VERBOSE -eq "true") {
      $VerbosePreference = "Continue"
    }
    
    # calculate distributionUrl, requires .mvn/wrapper/maven-wrapper.properties
    $distributionUrl = (Get-Content -Raw "$scriptDir/.mvn/wrapper/maven-wrapper.properties" | ConvertFrom-StringData).distributionUrl
    if (!$distributionUrl) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/Quantiles.java

         * @return the quantile value
         */
        public double computeInPlace(double... dataset) {
          checkArgument(dataset.length > 0, "Cannot calculate quantiles of an empty dataset");
          if (containsNaN(dataset)) {
            return NaN;
          }
    
          // Calculate the quotient and remainder in the integer division x = k * (N-1) / q, i.e.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/MemoryUtil.java

            final long totalBytes = runtime.totalMemory();
            return totalBytes - freeBytes;
        }
    
        /**
         * Estimates the size of an object in bytes.
         *
         * @param obj the object to calculate size for
         * @return estimated size in bytes
         */
        public static long sizeOf(final Object obj) {
            if (obj == null) {
                return 0L;
            }
            if (obj instanceof String) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. maven-tests/mvnw

      ;;
    maven-mvnd-*) MVN_CMD=mvnd.sh _MVNW_REPO_PATTERN=/maven/mvnd/ ;;
    *) MVN_CMD="mvn${0##*/mvnw}" _MVNW_REPO_PATTERN=/org/apache/maven/ ;;
    esac
    
    # apply MVNW_REPOURL and calculate MAVEN_HOME
    # maven home pattern: ~/.m2/wrapper/dists/{apache-maven-<version>,maven-mvnd-<version>-<platform>}/<hash>
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/Stats.java

     *       feed values to it as you get them, then call {@link StatsAccumulator#snapshot}.
     * </ul>
     *
     * <p>Static convenience methods called {@code meanOf} are also provided for users who wish to
     * calculate <i>only</i> the mean.
     *
     * <p><b>Java 8+ users:</b> If you are not using any of the variance statistics, you may wish to use
     * built-in JDK libraries instead of this class.
     *
     * @author Pete Gillin
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

      /**
       * Returns the size in bytes of all messages enqueued to be transmitted to the server. This
       * doesn't include framing overhead. If compression is enabled, uncompressed messages size
       * is used to calculate this value. It also doesn't include any bytes buffered by the operating
       * system or network intermediaries. This method returns 0 if no messages are waiting in the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    abstract class AbstractBaseGraph<N> implements BaseGraph<N> {
    
      /**
       * Returns the number of edges in this graph; used to calculate the size of {@link Graph#edges()}.
       * This implementation requires O(|N|) time. Classes extending this one may manually keep track of
       * the number of edges as the graph is updated, and override this method for better performance.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

            String.format("expected: %08x, actual: %08x", expectedCrc, actualCrc),
            expectedCrc,
            actualCrcHasher);
      }
    
      // From RFC 3720, Section 12.1, the polynomial generator is 0x11EDC6F41.
      // We calculate the constant below by:
      //   1. Omitting the most significant bit (because it's always 1). => 0x1EDC6F41
      //   2. Flipping the bits of the constant so we can process a byte at a time. => 0x82F63B78
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            complexMap.put("numbers", Arrays.asList(1, 2, 3));
            complexMap.put("nested", Maps.map("inner", "value").$());
            complexMap.put("array", new String[] { "array1", "array2" });
    
            // Calculate expected size based on actual behavior
            long actualSize = MemoryUtil.sizeOf(complexMap);
            assertEquals(689L, actualSize);
        }
    
        public void test_getUsedMemory_variations() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top