Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 812 for Multiply (0.09 sec)

  1. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            long time = System.currentTimeMillis();
            BigInteger filetime = BigInteger.valueOf(time)
                    .add(BigInteger.valueOf(SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601))
                    .multiply(BigInteger.valueOf(10000L));
    
            byte[] data = new byte[8];
            long low = filetime.longValue();
            long high = filetime.shiftRight(32).longValue();
    
            // write little-endian
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/IntMathTest.java

      @AndroidIncompatible // presumably slow
      public void testCheckedMultiply() {
        for (int a : ALL_INTEGER_CANDIDATES) {
          for (int b : ALL_INTEGER_CANDIDATES) {
            BigInteger expectedResult = valueOf(a).multiply(valueOf(b));
            boolean expectedSuccess = fitsInInt(expectedResult);
            try {
              assertEquals(a * b, IntMath.checkedMultiply(a, b));
              assertTrue(expectedSuccess);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                        .functionScoreQuery(QueryBuilders.matchAllQuery(),
                                flist.toArray(new FunctionScoreQueryBuilder.FilterFunctionBuilder[flist.size()]))
                        .boostMode(CombineFunction.MULTIPLY));
                reader.addSort(SortBuilders.fieldSort(fessConfig.getIndexFieldClickCount()));
                reader.addSort(SortBuilders.scoreSort());
                return reader;
            }, docPerReq, () -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

         */
        open fun header(
          name: String,
          value: String,
        ) = apply {
          headers[name] = value
        }
    
        /**
         * Adds a header with [name] to [value]. Prefer this method for multiply-valued
         * headers like "Set-Cookie".
         */
        open fun addHeader(
          name: String,
          value: String,
        ) = apply {
          headers.add(name, value)
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

         */
        open fun header(
          name: String,
          value: String,
        ) = apply {
          headers[name] = value
        }
    
        /**
         * Adds a header with [name] and [value]. Prefer this method for multiply-valued
         * headers like "Cookie".
         *
         * Note that for some headers including `Content-Length` and `Content-Encoding`,
         * OkHttp may replace [value] with a header derived from the request body.
         */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  6. guava-tests/test/com/google/common/math/LongMathTest.java

               * _actual prod code_. But it probably affects only unusual cases.
               */
              continue;
            }
            BigInteger expectedResult = valueOf(a).multiply(valueOf(b));
            boolean expectedSuccess = fitsInLong(expectedResult);
            try {
              assertEquals(a * b, LongMath.checkedMultiply(a, b));
              assertTrue(expectedSuccess);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/LongsTest.java

            .that(Longs.tryParse(BigInteger.valueOf(MAX_VALUE).multiply(BigInteger.TEN).toString()))
            .isNull();
        assertWithMessage("Min long - 1")
            .that(Longs.tryParse(BigInteger.valueOf(MIN_VALUE).subtract(BigInteger.ONE).toString()))
            .isNull();
        assertWithMessage("Min long * 10")
            .that(Longs.tryParse(BigInteger.valueOf(MIN_VALUE).multiply(BigInteger.TEN).toString()))
            .isNull();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/ServerResponseValidator.java

                throw new SmbException("Integer overflow detected");
            }
            return (int) result;
        }
    
        /**
         * Safely multiply integers checking for overflow
         *
         * @param a first value
         * @param b second value
         * @return product
         * @throws SmbException if overflow would occur
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/StatsAccumulator.java

      // These fields must satisfy the requirements of Stats' constructor as well as those of the stat
      // methods of this class.
      private long count = 0;
      private double mean = 0.0; // any finite value will do, we only use it to multiply by zero for sum
      private double sumOfSquaresOfDeltas = 0.0;
      private double min = NaN; // any value will do
      private double max = NaN; // any value will do
    
      /** Adds the given value to the dataset. */
    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. lib/fips140/v1.0.0.zip

    func (v *projP2) FromP1xP1(p *projP1xP1) *projP2 { v.X.Multiply(&p.X, &p.T) v.Y.Multiply(&p.Y, &p.Z) v.Z.Multiply(&p.Z, &p.T) return v } func (v *projP2) FromP3(p *Point) *projP2 { v.X.Set(&p.x) v.Y.Set(&p.y) v.Z.Set(&p.z) return v } func (v *Point) fromP1xP1(p *projP1xP1) *Point { v.x.Multiply(&p.X, &p.T) v.y.Multiply(&p.Y, &p.Z) v.z.Multiply(&p.Z, &p.T) v.t.Multiply(&p.X, &p.Y) return v } func (v *Point) fromP2(p *projP2) *Point { v.x.Multiply(&p.X, &p.Z) v.y.Multiply(&p.Y, &p.Z) v.z.Square(&p.Z)...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top