Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for formula (0.05 sec)

  1. guava/src/com/google/common/graph/AbstractBaseGraph.java

       */
      protected long edgeCount() {
        long degreeSum = 0L;
        for (N node : nodes()) {
          degreeSum += degree(node);
        }
        // According to the degree sum formula, this is equal to twice the number of edges.
        checkState((degreeSum & 1) == 0);
        return degreeSum >>> 1;
      }
    
      /**
       * An implementation of {@link BaseGraph#edges()} defined in terms of {@link Graph#nodes()} and
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/StatsAccumulator.java

       */
      static double calculateNewMeanNonFinite(double previousMean, double value) {
        /*
         * Desired behaviour is to match the results of applying the naive mean formula. In particular,
         * the update formula can subtract infinities in cases where the naive formula would add them.
         *
         * Consequently:
         * 1. If the previous mean is finite and the new value is non-finite then the new mean is that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. docs/erasure/storage-class/README.md

    |               16 |              13 |                 3 |                1.23 |
    |               16 |              14 |                 2 |                1.14 |
    
    You can calculate _approximate_ storage usage ratio using the formula - total drives (N) / data drives (D).
    
    ### Allowed values for STANDARD storage class
    
    `STANDARD` storage class implies more parity than `REDUCED_REDUNDANCY` class. So, `STANDARD` parity drives should be
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/BloomFilter.java

         * numHashFunctions/bitSize)^n)`. Solving that for n, and approximating `ln x` as `x - 1` when x
         * is close to 1 (why?), gives the following formula.
         */
        double fractionOfBitsSet = (double) bitCount / bitSize;
        return DoubleMath.roundToLong(
            -Math.log1p(-fractionOfBitsSet) * bitSize / numHashFunctions, RoundingMode.HALF_UP);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

            if (!(element instanceof Long) || parent.array[i++] != (Long) element) {
              return false;
            }
          }
          return true;
        }
    
        // Because we happen to use the same formula. If that changes, just don't override this.
        @Override
        public int hashCode() {
          return parent.hashCode();
        }
    
        @Override
        public String toString() {
          return parent.toString();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/ImmutableIntArray.java

            if (!(element instanceof Integer) || parent.array[i++] != (Integer) element) {
              return false;
            }
          }
          return true;
        }
    
        // Because we happen to use the same formula. If that changes, just don't override this.
        @Override
        public int hashCode() {
          return parent.hashCode();
        }
    
        @Override
        public String toString() {
          return parent.toString();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

            if (!(element instanceof Integer) || parent.array[i++] != (Integer) element) {
              return false;
            }
          }
          return true;
        }
    
        // Because we happen to use the same formula. If that changes, just don't override this.
        @Override
        public int hashCode() {
          return parent.hashCode();
        }
    
        @Override
        public String toString() {
          return parent.toString();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

            if (!(element instanceof Double) || !areEqual(parent.array[i++], (Double) element)) {
              return false;
            }
          }
          return true;
        }
    
        // Because we happen to use the same formula. If that changes, just don't override this.
        @Override
        public int hashCode() {
          return parent.hashCode();
        }
    
        @Override
        public String toString() {
          return parent.toString();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

      <mime-type type="application/vnd.oasis.opendocument.formula">
        <alias type="application/x-vnd.oasis.opendocument.formula"/>
        <_comment>OpenDocument v1.0: Formula document</_comment>
        <magic>
          <match type="string" offset="0" value="PK">
            <match type="string" offset="30"
                   value="mimetypeapplication/vnd.oasis.opendocument.formula" />
          </match>
        </magic>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Sep 21 06:46:43 UTC 2023
    - 298.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

        @Override
        public int hashCode() {
          // Warning: this is broken if size() == 0, so it is critical that we
          // substitute an empty ImmutableSet to the user in place of this
    
          // It's a weird formula, but tests prove it works.
          int adjust = size() - 1;
          for (int i = 0; i < axes.size(); i++) {
            adjust *= 31;
            adjust = ~~adjust;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top