Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for testCmp (0.55 sec)

  1. src/cmd/compile/internal/test/testdata/cmp_test.go

    		t.Errorf("neq_ssa: expected %v, got %v\n", wanted, got)
    	}
    	if wanted, got := true, neq_ssa(7); wanted != got {
    		t.Errorf("neq_ssa: expected %v, got %v\n", wanted, got)
    	}
    }
    
    func TestCmp(t *testing.T) {
    	testCmp(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 903 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. subprojects/core/src/test/groovy/org/gradle/process/internal/TestApp.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.process.internal;
    
    import java.util.Arrays;
    
    public class TestApp {
        public static void main(String[] args) {
            System.out.print("output args: " + Arrays.asList(args));
            System.err.print("error args: " + Arrays.asList(args));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 09 05:01:31 UTC 2014
    - 886 bytes
    - Viewed (0)
  9. tensorflow/c/test_op.cc

    A. Unique TensorFlower <******@****.***> 1473725266 -0800
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 13 00:16:08 UTC 2016
    - 874 bytes
    - Viewed (0)
  10. tensorflow/cc/framework/test_op.cc

    Skye Wanderman-Milne <******@****.***> 1502840776 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 15 23:50:32 UTC 2017
    - 1.7K bytes
    - Viewed (0)
Back to top