Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 225 for MULTIPLY (0.15 sec)

  1. platforms/documentation/docs/src/snippets/initScripts/externalDependency/kotlin/init.gradle.kts

    initscript {
        repositories {
            mavenCentral()
        }
        dependencies {
            classpath("org.apache.commons:commons-math:2.0")
        }
    }
    // end::declare-classpath[]
    
    println(Fraction.ONE_FIFTH.multiply(2))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 320 bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/third_party/svgpan/svgpan.js

    	// Compute new scale matrix in current mouse position
    	var k = root.createSVGMatrix().translate(p.x, p.y).scale(z).translate(-p.x, -p.y);
    
    	setCTM(g, g.getCTM().multiply(k));
    
    	if(typeof(stateTf) == "undefined")
    		stateTf = g.getCTM().inverse();
    
    	stateTf = stateTf.multiply(k.inverse());
    }
    
    /**
     * Handle mouse move event.
     */
    function handleMouseMove(evt) {
    	if(evt.preventDefault)
    		evt.preventDefault();
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Units.java

            }
    
            @Override
            public BigDecimal scaleTo(BigDecimal value, Units<Q> units) {
                if (units == this) {
                    return value;
                }
                if (units.equals(baseUnits)) {
                    return value.multiply(factor);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/swiftpm/SwiftPackageManagerSwiftBuildExportIntegrationTest.groovy

        ],
        targets: [
            .target(
                name: "Test",
                path: ".",
                sources: [
                    "src/main/swift/greeter.swift",
                    "src/main/swift/multiply.swift",
                    "src/main/swift/sum.swift",
                ]
            ),
        ]
    )
    """
            swiftPmBuildSucceeds()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/crypto/internal/poly1305/sum_amd64.s

    	MOVQ 8(DI), R9   // h1
    	MOVQ 16(DI), R10 // h2
    	MOVQ 24(DI), R11 // r0
    	MOVQ 32(DI), R12 // r1
    
    	CMPQ R15, $16
    	JB   bytes_between_0_and_15
    
    loop:
    	POLY1305_ADD(SI, R8, R9, R10)
    
    multiply:
    	POLY1305_MUL(R8, R9, R10, R11, R12, BX, CX, R13, R14)
    	SUBQ $16, R15
    	CMPQ R15, $16
    	JAE  loop
    
    bytes_between_0_and_15:
    	TESTQ R15, R15
    	JZ    done
    	MOVQ  $1, BX
    	XORQ  CX, CX
    	XORQ  R13, R13
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoAggregationIntegrationTest.groovy

                            Multiplier multiplier = new Multiplier();
                            Assert.assertEquals(1, multiplier.multiply(1, 1));
                            Assert.assertEquals(4, multiplier.multiply(2, 2));
                            Assert.assertEquals(2, multiplier.multiply(1, 2));
                        }
                    }
                """
                file("transitive/build.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 26.3K bytes
    - Viewed (0)
  7. src/runtime/time_windows_386.s

    TEXT time·now(SB),NOSPLIT,$0-20
    loop:
    	MOVL	(_INTERRUPT_TIME+time_hi1), AX
    	MOVL	(_INTERRUPT_TIME+time_lo), CX
    	MOVL	(_INTERRUPT_TIME+time_hi2), DI
    	CMPL	AX, DI
    	JNE	loop
    
    	// w = DI:CX
    	// multiply by 100
    	MOVL	$100, AX
    	MULL	CX
    	IMULL	$100, DI
    	ADDL	DI, DX
    	// w*100 = DX:AX
    	MOVL	AX, mono+12(FP)
    	MOVL	DX, mono+16(FP)
    
    wall:
    	MOVL	(_SYSTEM_TIME+time_hi1), CX
    	MOVL	(_SYSTEM_TIME+time_lo), AX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. test/fixedbugs/issue16733.go

    // compile
    
    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 16733: don't fold constant factors into a multiply
    // beyond the capacity of a MULQ instruction (32 bits).
    
    package p
    
    func f(n int64) int64 {
    	n *= 1000000
    	n *= 1000000
    	return n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 16 16:46:48 UTC 2016
    - 364 bytes
    - Viewed (0)
  9. src/crypto/internal/edwards25519/scalar_test.go

    	multiplyDistributesOverAdd := func(x, y, z Scalar) bool {
    		// Compute t1 = (x+y)*z
    		var t1 Scalar
    		t1.Add(&x, &y)
    		t1.Multiply(&t1, &z)
    
    		// Compute t2 = x*z + y*z
    		var t2 Scalar
    		var t3 Scalar
    		t2.Multiply(&x, &z)
    		t3.Multiply(&y, &z)
    		t2.Add(&t2, &t3)
    
    		reprT1, reprT2 := t1.Bytes(), t2.Bytes()
    
    		return t1 == t2 && isReduced(reprT1) && isReduced(reprT2)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/while_gradients_test.cc

    }
    
    TEST_F(WhileGradientsTest, Chaining) {
      Init(2, DT_DOUBLE);
    
      // Multiply each input by 2 before passing to while loop to make sure chaining
      // works properly
      std::vector<Output> loop_inputs = {ops::Multiply(scope_, inputs_[0], 2.0),
                                         ops::Multiply(scope_, inputs_[1], 2.0)};
    
      // Create loop: while (i > 0 && j > 0) i -= 1
      CreateLoop(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 27 20:32:17 UTC 2017
    - 7.7K bytes
    - Viewed (0)
Back to top