Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 653 for testDiv (0.14 sec)

  1. src/cmd/compile/internal/test/divconst_test.go

    	t.Run("8", testdiv(8, func(n uint64) (uint64, uint64) { return n / 8, n % 8 }))
    	t.Run("9", testdiv(9, func(n uint64) (uint64, uint64) { return n / 9, n % 9 }))
    	t.Run("10", testdiv(10, func(n uint64) (uint64, uint64) { return n / 10, n % 10 }))
    	t.Run("11", testdiv(11, func(n uint64) (uint64, uint64) { return n / 11, n % 11 }))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 00:07:35 UTC 2020
    - 7.7K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/report/HtmlTestResultsFixture.groovy

        void assertHasNoDuration() {
            def testDiv = content.select("div#duration")
            assert testDiv != null
            def counter = testDiv.select("div.counter")
            assert counter != null
            assert counter.text() == "-"
        }
    
        void assertHasSuccessRate(int rate) {
            def testDiv = content.select("div#successRate")
            assert testDiv != null
            def counter = testDiv.select("div.percent")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. src/math/bits/bits_test.go

    	}{
    		{1 << (UintSize - 1), 2, 1, 0, 1},
    		{_M, _M, _M - 1, 1, 42},
    	} {
    		testMul("Mul", Mul, a.x, a.y, a.hi, a.lo)
    		testMul("Mul symmetric", Mul, a.y, a.x, a.hi, a.lo)
    		testDiv("Div", Div, a.hi, a.lo+a.r, a.y, a.x, a.r)
    		testDiv("Div symmetric", Div, a.hi, a.lo+a.r, a.x, a.y, a.r)
    		// The above code can't test intrinsic implementation, because the passed function is not called directly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 22 20:11:06 UTC 2020
    - 32.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/get-arithmetic-count.mlir

      %0 = "tfl.mul"(%arg0, %arg1) {fused_activation_function = "NONE"} : (tensor<10x10x10xf32>, tensor<10xf32>) -> tensor<10x10x10xf32>
      func.return %0 : tensor<10x10x10xf32>
    }
    
    func.func @testDiv(%arg0: tensor<10x10x10xf32>, %arg1: tensor<10x10x10xf32>) -> tensor<10x10x10xf32> {
      // CHECK: _arithmetic_count = 1000 : i64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 04:58:17 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy

                    import org.junit.Test;
                    import transitive.Divisor;
    
                    public class DivTest {
                        @Test
                        public void testDiv() {
                            Divisor divisor = new Divisor();
                            Assert.assertEquals(2, divisor.div(4, 2));
                        }
                    }
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  6. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoAggregationIntegrationTest.groovy

                    import org.junit.Test;
                    import transitive.Divisor;
    
                    public class DivTest {
                        @Test
                        public void testDiv() {
                            Divisor divisor = new Divisor();
                            Assert.assertEquals(2, divisor.div(4, 2));
                        }
                    }
                """
    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/internal/testenv/testenv.go

    // license that can be found in the LICENSE file.
    
    // Package testenv provides information about what functionality
    // is available in different testing environments run by the Go team.
    //
    // It is an internal package because these details are specific
    // to the Go team's test setup (on build.golang.org) and not
    // fundamental to tests in general.
    package testenv
    
    import (
    	"bytes"
    	"errors"
    	"flag"
    	"fmt"
    	"internal/cfg"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/ops.mlir

      func.return %0#0 : tensor<* x !quant.any<i16:f32>>
    }
    
    // -----
    
    // CHECK-LABEL: testDiv
    func.func @testDiv(tensor<? x i32>, tensor<? x i32>) -> tensor<? x i32> {
    ^bb0(%arg0: tensor<? x i32>, %arg1: tensor<? x i32>):
      // CHECK: tfl.div %arg0, %arg1 {fused_activation_function = "RELU6"}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MixedMavenAndIvyModulesIntegrationTest.groovy

    }
    configurations.conf.resolutionStrategy.force('org.test:ivy:1.2')
    """
            expect:
            succeeds 'checkDep'
            resolve.expectGraph {
                root(':', ':testproject:') {
                    module('org.test:maven:1.0') {
                        configuration = 'compile'
                        edge('org.test:ivy:1.0', 'org.test:ivy:1.2') {
                            forced()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. src/os/exec/dot_test.go

    package exec_test
    
    import (
    	"errors"
    	"internal/testenv"
    	"os"
    	. "os/exec"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    var pathVar string = func() string {
    	if runtime.GOOS == "plan9" {
    		return "path"
    	}
    	return "PATH"
    }()
    
    func TestLookPath(t *testing.T) {
    	testenv.MustHaveExec(t)
    	// Not parallel: uses Chdir and Setenv.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:19:21 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top