Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for calculate (1.58 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/app/pager/RelatedContentPager.java

        public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
    
        /** Total number of records across all pages. */
        private int allRecordCount;
    
        /** Total number of pages calculated from record count and page size. */
        private int allPageCount;
    
        /** Flag indicating whether a previous page exists. */
        private boolean existPrePage;
    
        /** Flag indicating whether a next page exists. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/Weigher.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Calculates the weights of cache entries.
     *
     * @author Charles Fry
     * @since 11.0
     */
    @GwtCompatible
    @FunctionalInterface
    public interface Weigher<K, V> {
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LongAdder.java

       * Returns the current sum. The returned value is NOT an atomic snapshot; invocation in
       * the absence of concurrent updates returns an accurate result, but concurrent updates that occur
       * while the sum is being calculated might not be incorporated.
       *
       * @return the sum
       */
      @Override
      public long sum() {
        long sum = base;
        Cell[] as = cells;
        if (as != null) {
          int n = as.length;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

            if (inputs != null) {
                Arrays.sort(inputs);
            }
            if (newInputs != null) {
                Arrays.sort(newInputs);
            }
        }
    
        /**
         * Calculates the hash code for this CharMappingItem based on inputs and output.
         *
         * @return the hash code value for this object
         */
        @Override
        public int hashCode() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top