Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/runtime/softfloat64_test.go

    			}
    			testu(t, "to32", trunc32, to32sw, h)
    			testu(t, "to64", trunc32, to64sw, h)
    			testu(t, "toint64", hwint64, toint64sw, h)
    			testu(t, "fromint64", hwint64, fromint64sw, h)
    			testcmp(t, f, h)
    			testcmp(t, h, f)
    			testcmp(t, g, h)
    			testcmp(t, h, g)
    		}
    	}
    }
    
    func testu(t *testing.T, op string, hw, sw func(float64) float64, v float64) {
    	h := hw(v)
    	s := sw(v)
    	if !same(h, s) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4K bytes
    - Viewed (0)
  2. 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)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/DependencyResolveRulesDisableGlobalDependencySubstitutionIntegrationTest.groovy

            resolve.expectGraph {
                root(":m1", "org.test:m1:0.9") {
                    edge("org.test:m2:1.0", ":m2", "org.test:m2:0.9") {
                        compositeSubstitute()
                        noArtifacts()
                        edge("org.test:m3:1.0", ":m3", "org.test:m3:0.9") {
                            compositeSubstitute()
                            noArtifacts()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenScopesAndProjectDependencySubstitutionIntegrationTest.groovy

    project(':child2') {
        configurations {
            compile
            runtime
            master
            other
            create("default")
        }
        dependencies {
            compile 'org.test:m1:1.0'
            runtime 'org.test:m2:1.0'
            master 'org.test:m3:1.0'
            other 'org.test.ignore-me:1.0'
            "default" 'org.test:dont-ignore-me:1.0'
        }
    }
    """
            expect:
            succeeds 'child1:checkDep'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. 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)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/TestApp.java

    import org.gradle.integtests.fixtures.SourceFile;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    
    public abstract class TestApp extends TestNativeComponent {
        public abstract SourceFile getMainSource();
        public abstract SourceFile getLibraryHeader();
        public abstract List<SourceFile> getLibrarySources();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_go_version_missing.txt

    package dep_test
    
    import _ "example.com/testdep"
    
    -- testdep/go.mod --
    module example.com/testdep
    -- testdep/testdep.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 16:11:33 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/plugins/SwiftApplicationPluginTest.groovy

            compileDebug.debuggable
            !compileDebug.optimized
    
            def linkDebug = project.tasks.linkDebug
            linkDebug instanceof LinkExecutable
            linkDebug.linkedFile.get().asFile == projectDir.file("build/exe/main/debug/" + OperatingSystem.current().getExecutableName("TestApp"))
            linkDebug.debuggable
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  9. platforms/software/plugins-version-catalog/src/integTest/groovy/org/gradle/catalog/VersionCatalogResolveIntegrationTest.groovy

                    }
                    versionCatalogs {
                        libs {
                            from("org.gradle.test:my-platform:+")
                        }
                    }
                }
            """
            file("settings-gradle.lockfile") << """
    org.gradle.test:my-platform:1.0=incomingCatalogForLibs0
    """
    
            buildFile << """
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 16 12:28:14 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/build_pgo_auto_multi.txt

    package main
    import "testing"
    func TestNopgo(*testing.T) {}
    -- dep/dep.go --
    package dep
    import _ "test/dep3"
    -- dep2/dep2.go --
    package dep2
    -- dep3/dep3.go --
    package dep3
    -- testdep/testdep.go --
    package testdep
    import _ "test/testdep2"
    -- testdep2/testdep2.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:38:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top