Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 108 for divider (0.32 sec)

  1. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

        }
    
        private double singleQuantileFromSorted(int index, int scale, double[] dataset) {
          long numerator = (long) index * (dataset.length - 1);
          int positionFloor = (int) LongMath.divide(numerator, scale, RoundingMode.DOWN);
          int remainder = (int) (numerator - positionFloor * scale);
          if (remainder == 0) {
            return dataset[positionFloor];
          } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Iterators.java

       *     partitions
       * @throws IllegalArgumentException if {@code size} is nonpositive
       */
      public static <T extends @Nullable Object> UnmodifiableIterator<List<T>> partition(
          Iterator<T> iterator, int size) {
        return partitionImpl(iterator, size, false);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  3. docs/erasure/storage-class/README.md

    Below is a list of data/parity drives and corresponding _approximate_ storage space usage on a 16 drive MinIO deployment. The field _storage
    usage ratio_ is simply the drive space used by the file after erasure-encoding, divided by actual file size.
    
    | Total Drives (N) | Data Drives (D) | Parity Drives (P) | Storage Usage Ratio |
    |------------------|-----------------|-------------------|---------------------|
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 5.8K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/collect/Iterables.java

       */
      public static <T extends @Nullable Object> Iterable<T> concat(
          Iterable<? extends Iterable<? extends T>> inputs) {
        return FluentIterable.concat(inputs);
      }
    
      /**
       * Divides an iterable into unmodifiable sublists of the given size (the final iterable may be
       * smaller). For example, partitioning an iterable containing {@code [a, b, c, d, e]} with a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Splitter.java

      @GwtIncompatible // java.util.regex
      public static Splitter onPattern(String separatorPattern) {
        return onPatternInternal(Platform.compilePattern(separatorPattern));
      }
    
      /**
       * Returns a splitter that divides strings into pieces of the given length. For example, {@code
       * Splitter.fixedLength(2).split("abcde")} returns an iterable containing {@code ["ab", "cd",
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

            result *= i;
          }
          return BigInteger.valueOf(result);
        }
    
        /*
         * We want each multiplication to have both sides with approximately the same number of digits.
         * Currently, we just divide the range in half.
         */
        int mid = (n1 + n2) >>> 1;
        return oldSlowFactorial(n1, mid).multiply(oldSlowFactorial(mid, n2));
      }
    
      @Benchmark
      int slowFactorial(int reps) {
        int tmp = 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/model/bucket-extensions.kt

        }
    
        val expectedBucketSize = list.sumOf(toIntFunction) / expectedBucketNumber
    
        if (expectedBucketSize == 0) {
            // The elements in the list are so small that they can't even be divided into {expectedBucketNumber}.
            // For example, how do you split [0,0,0,0,0] into 3 buckets?
            // In this case, we simply put the elements into these buckets evenly.
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Nov 17 05:17:44 GMT 2022
    - 4K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/expr_test.go

    	}
    }
    
    type badExprTest struct {
    	input string
    	error string // Empty means no error.
    }
    
    var badExprTests = []badExprTest{
    	{"0/0", "division by zero"},
    	{"3/0", "division by zero"},
    	{"(1<<63)/0", "divide of value with high bit set"},
    	{"3%0", "modulo by zero"},
    	{"(1<<63)%0", "modulo of value with high bit set"},
    	{"3<<-4", "negative left shift count"},
    	{"3<<(1<<63)", "negative left shift count"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacDataInputStream.java

                BigInteger firstBigInt = BigInteger.valueOf(first);
                BigInteger completeBigInt = lastBigInt.add(firstBigInt.shiftLeft(32));
                completeBigInt = completeBigInt.divide(BigInteger.valueOf(10000L));
                completeBigInt = completeBigInt.add(BigInteger.valueOf(-SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601));
                date = new Date(completeBigInt.longValue());
            }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jul 21 21:19:58 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/StatsTesting.java

          BigInteger.valueOf(Integer.MAX_VALUE)
              .multiply(BigInteger.valueOf(3L))
              .divide(BigInteger.valueOf(4L))
              .doubleValue();
      static final double LARGE_INTEGER_VALUES_POPULATION_VARIANCE =
          BigInteger.valueOf(Integer.MAX_VALUE)
              .multiply(BigInteger.valueOf(Integer.MAX_VALUE))
              .divide(BigInteger.valueOf(16L))
              .doubleValue();
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
Back to top