Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for testCmp (0.12 sec)

  1. src/math/big/nat_test.go

    	{nat{1}, nat{0, _M}, -1},
    	{nat{1, _M}, nat{0, _M}, 1},
    	{nat{0, _M}, nat{1, _M}, -1},
    	{nat{16, 571956, 8794, 68}, nat{837, 9146, 1, 754489}, -1},
    	{nat{34986, 41, 105, 1957}, nat{56, 7458, 104, 1957}, 1},
    }
    
    func TestCmp(t *testing.T) {
    	for i, a := range cmpTests {
    		r := a.x.cmp(a.y)
    		if r != a.r {
    			t.Errorf("#%d got r = %v; want %v", i, r, a.r)
    		}
    	}
    }
    
    type funNN func(z, x, y nat) nat
    type argNN struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 15:29:36 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MixedMavenAndIvyModulesIntegrationTest.groovy

            succeeds 'checkDep'
            resolve.expectGraph {
                root(':', ':testproject:') {
                    module('org.test:m4:1.0:runtime') {
                        module('org.test:m3:1.0') {
                            module('org.test:m2:1.0:runtime') {
                                module('org.test:m1:1.0')
                            }
                        }
                    }
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaAnnotationProcessingIntegrationTest.groovy

            fixture.writeAnnotationProcessorTo(processorProjectDir)
    
            // The class that is the target of the processor
            file('src/main/java/TestApp.java') << '''
                @Helper
                class TestApp {
                    public static void main(String[] args) {
                        System.out.println(new TestAppHelper().getValue()); // generated class
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  4. pkg/test/framework/test.go

    func (t *testImpl) RequireIstioVersion(version string) Test {
    	t.minIstioVersion = version
    	return t
    }
    
    func (t *testImpl) RequireKubernetesMinorVersion(minorVersion uint) Test {
    	t.minKubernetesMinorVersion = minorVersion
    	return t
    }
    
    func (t *testImpl) Run(fn func(ctx TestContext)) {
    	t.runInternal(fn, false)
    }
    
    func (t *testImpl) RunParallel(fn func(ctx TestContext)) {
    	t.runInternal(fn, true)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/platform/BinaryNativePlatformIntegrationTest.groovy

    class BinaryNativePlatformIntegrationTest extends AbstractInstalledToolChainIntegrationSpec {
        def testApp = new PlatformDetectingTestApp()
        def os = OperatingSystem.current()
    
        def setup() {
            buildFile << """
    plugins {
        id 'cpp'
    }
    model {
        components {
            main(NativeExecutableSpec)
        }
    }
    """
    
            testApp.writeSources(file("src/main"))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/process/internal/DefaultExecHandleSpec.groovy

        void "forks process"() {
            given:
            def out = new ByteArrayOutputStream()
            def err = new ByteArrayOutputStream()
    
            def execHandle = handle()
                    .args(args(TestApp.class, "arg1", "arg2"))
                    .setStandardOutput(out)
                    .setErrorOutput(err)
                    .build()
    
            when:
            def result = execHandle.start().waitForFinish()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 23 03:44:52 UTC 2021
    - 14.9K bytes
    - Viewed (0)
  7. tensorflow/cc/BUILD

            "//tensorflow/core:lib_internal",
            "//tensorflow/core:tensorflow",
            "//tensorflow/core:testlib",
        ],
    )
    
    tf_gen_op_wrappers_cc(
        name = "test_op",
        op_lib_names = [
            "test_op",
        ],
    )
    
    cc_library(
        name = "queue_runner",
        srcs = ["training/queue_runner.cc"],
        hdrs = ["training/queue_runner.h"],
        deps = [
            ":coordinator",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/math_grad_test.cc

      GradientRegistry registry_;
      Status status_;
    
     public:
      bool UseMlir() const { return strcmp(std::get<0>(GetParam()), "mlir") == 0; }
      bool UseFunction() const { return std::get<2>(GetParam()); }
    };
    
    TEST_P(CppGradients, TestAddGrad) {
      AbstractTensorHandlePtr x;
      {
        AbstractTensorHandle* x_raw = nullptr;
        status_ = TestScalarTensorHandle<float, TF_FLOAT>(
            immediate_execution_ctx_.get(), 2.0f, &x_raw);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 13 17:32:14 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h.pump

      // You can implement all the usual class fixture members here.
    };
    
    // Then, use the TEST_P macro to define as many parameterized tests
    // for this fixture as you want. The _P suffix is for "parameterized"
    // or "pattern", whichever you prefer to think.
    
    TEST_P(FooTest, DoesBlah) {
      // Inside a test, access the test parameter with the GetParam() method
      // of the TestWithParam<T> class:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompileAvoidanceIntegrationSpec.groovy

            fixture.writeAnnotationProcessorTo(file("b"))
    
            // The class that is the target of the processor
            file("c/src/main/${language.name}/TestApp.${language.name}") << '''
                @Helper
                class TestApp {
                    public static void main(String[] args) {
                        System.out.println(new TestAppHelper().getValue()); // generated class
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 14.6K bytes
    - Viewed (0)
Back to top