Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 225 for MULTIPLY (0.12 sec)

  1. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/measure/AmountTest.groovy

            4      | Fruit.apples  | 1.2    | Fruit.oranges    | 1.111111
            125    | Fruit.oranges | 23.4   | Fruit.grapefruit | 3.205128
        }
    
        def "can multiply amount by a unitless value"() {
            expect:
            Amount.valueOf(a, Fruit.apples) * b == Amount.valueOf(c, Fruit.apples)
    
            where:
            a     | b   | c
            0     | 200 | 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.4K 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. src/strconv/atof.go

    // license that can be found in the LICENSE file.
    
    package strconv
    
    // decimal to binary floating point conversion.
    // Algorithm:
    //   1) Store input in multiprecision decimal.
    //   2) Multiply/divide decimal by powers of two until in range [0.5, 1)
    //   3) Multiply by 2^precision and round to get mantissa.
    
    import "math"
    
    var optimize = true // set to false to force slow-path conversions for testing
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 18:50:50 UTC 2022
    - 15.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            functionScoreQueryBuilder.boostMode(CombineFunction.REPLACE);
            functionScoreQueryBuilder.scoreMode(FunctionScoreQuery.ScoreMode.MULTIPLY);
    
            return functionScoreQueryBuilder;
        }
    
        protected SuggestResponse createResponse(final SearchResponse searchResponse) {
            final SearchHit[] hits = searchResponse.getHits().getHits();
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/runtime/sys_windows_arm.s

    TEXT runtime·nanotime1(SB),NOSPLIT,$0-8
    loop:
    	MOVW	time_hi1(R3), R1
    	DMB	MB_ISH
    	MOVW	time_lo(R3), R0
    	DMB	MB_ISH
    	MOVW	time_hi2(R3), R2
    	CMP	R1, R2
    	BNE	loop
    
    	// wintime = R1:R0, multiply by 100
    	MOVW	$100, R2
    	MULLU	R0, R2, (R4, R3)    // R4:R3 = R1:R0 * R2
    	MULA	R1, R2, R4, R4
    
    	// wintime*100 = R4:R3
    	MOVW	R3, ret_lo+0(FP)
    	MOVW	R4, ret_hi+4(FP)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "Mul32uover", argLength: 2, typ: "(UInt32,Bool)", commutative: true}, // Let x = arg0*arg1 (full 32x32-> 64 unsigned multiply), returns (uint32(x), (uint32(x) != x))
    	{name: "Mul64uover", argLength: 2, typ: "(UInt64,Bool)", commutative: true}, // Let x = arg0*arg1 (full 64x64->128 unsigned multiply), returns (uint64(x), (uint64(x) != x))
    
    	// Weird special instructions for use in the strength reduction of divides.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

                        [](auto v) { return FloatAttr::getValueAsDouble(v); });
      ArrayRef<double> multiplier_array(multiplier_values.data(),
                                        multiplier_values.size());
    
      // Multiply the quantization parameters by the multiplier.
      QuantizedType new_qtype;
      auto element_type = mlir::cast<TensorType>(q_op.getType()).getElementType();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/loadbalancer/loadbalancer.go

    					break
    				}
    			}
    		}
    		// priority is calculated using the already assigned priority using failoverPriority.
    		// Since there are at most 5 priorities can be assigned using locality failover(0-4),
    		// we multiply the priority by 5 for maintaining the priorities already assigned.
    		// Afterwards the final priorities can be calculted from 0 (highest) to N (lowest) without skipping.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Request.kt

         */
        open fun header(
          name: String,
          value: String,
        ) = commonHeader(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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device_testlib.cc

      if (TF_GetCode(status) != TF_OK) return;
      for (int i = 0; i < num_replicas; ++i) {
        (*components)[i].reset(result_handles[i]);
      }
    }
    
    TensorHandlePtr Multiply(TFE_Context* context, TFE_TensorHandle* first,
                             TFE_TensorHandle* second, TF_Status* status) {
      std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> op(
          TFE_NewOp(context, "Mul", status), TFE_DeleteOp);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 15:44:44 UTC 2021
    - 12.5K bytes
    - Viewed (0)
Back to top