Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for testCmp (0.33 sec)

  1. src/cmd/covdata/tool_test.go

    	})
    	t.Run("MergePcombine", func(t *testing.T) {
    		t.Parallel()
    		testMergeCombinePrograms(t, s)
    	})
    	t.Run("Dump", func(t *testing.T) {
    		t.Parallel()
    		testDump(t, s)
    	})
    	t.Run("Percent", func(t *testing.T) {
    		t.Parallel()
    		testPercent(t, s)
    	})
    	t.Run("PkgList", func(t *testing.T) {
    		t.Parallel()
    		testPkgList(t, s)
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/amd64/versions_test.go

    		{1.6, 2},
    		{2.4, 2},
    		{2.5, 2},
    		{2.6, 3},
    	} {
    		if got := math.RoundToEven(tt.x); got != tt.want {
    			t.Errorf("RoundToEven(%f) = %f, want %f", tt.x, got, tt.want)
    		}
    	}
    }
    
    func TestFMA(t *testing.T) {
    	for _, tt := range []struct {
    		x, y, z, want float64
    	}{
    		{2, 3, 4, 10},
    		{3, 4, 5, 17},
    	} {
    		if got := math.FMA(tt.x, tt.y, tt.z); got != tt.want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

                apply plugin: 'swift-application'
                application.module = 'TestApp'
             """
    
            expect:
            succeeds "assemble"
            result.assertTasksExecuted(":compileDebugSwift", ":linkDebug", ":installDebug", ":assemble")
    
            file("build/obj/main/debug").assertIsDir()
            executable("build/exe/main/debug/TestApp").assertExists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:43:37 UTC 2024
    - 40.2K bytes
    - Viewed (1)
  4. src/crypto/internal/bigmod/nat_test.go

    	if x.Equal(expected) != 1 {
    		t.Errorf("%+v != %+v", x, expected)
    	}
    	x.Add(y, m)
    	expected = &Nat{[]uint{7}}
    	if x.Equal(expected) != 1 {
    		t.Errorf("%+v != %+v", x, expected)
    	}
    }
    
    func TestExp(t *testing.T) {
    	m := modulusFromBytes([]byte{13})
    	x := &Nat{[]uint{3}}
    	out := &Nat{[]uint{0}}
    	out.Exp(x, []byte{12}, m)
    	expected := &Nat{[]uint{1}}
    	if out.Equal(expected) != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 12 00:56:20 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. tensorflow/c/BUILD

        ],
    )
    
    tf_custom_op_library(
        name = "test_op1.so",
        srcs = ["test_op1.cc"],
    )
    
    tf_kernel_library(
        name = "test_op_kernel",
        srcs = ["test_op.cc"],
        deps = [
            "//tensorflow/core:framework",
            "//tensorflow/core:lib",
        ],
        alwayslink = 1,
    )
    
    tf_cuda_cc_test(
        name = "env_test",
        size = "medium",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FilesTest.java

        String i18nHash = "7fa826962ce2079c8334cd4ebf33aea4";
        assertEquals(i18nHash, Files.hash(i18nFile, Hashing.md5()).toString());
      }
    
      public void testMap() throws IOException {
        // Test data
        int size = 1024;
        byte[] bytes = newPreFilledByteArray(size);
    
        // Setup
        File file = createTempFile();
        Files.write(bytes, file);
    
        // Test
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util_test.cc

      }
      return true;
    }
    
    using DeviceNames = llvm::SmallVector<std::string, 8>;
    
    struct ParameterizedDeviceSetTest
        : ::testing::TestWithParam<std::tuple<DeviceNames, std::string>> {};
    
    TEST_P(ParameterizedDeviceSetTest, BadDeviceSet) {
      llvm::SmallVector<Device, 8> devices;
      ASSERT_TRUE(DeviceNamesToParsedNames(std::get<0>(GetParam()), &devices));
      std::string topology_attr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  8. src/encoding/gob/encoder_test.go

    	}
    	var t7p Type7
    	if err := encAndDec(t7, &t7p); err != nil {
    		t.Error(err)
    	}
    }
    
    var testInt int
    var testFloat32 float32
    var testString string
    var testSlice []string
    var testMap map[string]int
    var testArray [7]int
    
    type SingleTest struct {
    	in  any
    	out any
    	err string
    }
    
    var singleTests = []SingleTest{
    	{17, &testInt, ""},
    	{float32(17.5), &testFloat32, ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  9. tensorflow/cc/gradients/nn_grad_test.cc

    }
    
    class FusedBatchNormGradTest : public NNGradTest,
                                   public ::testing::WithParamInterface<
                                       std::tuple<bool, bool, TensorShape>> {};
    
    TEST_P(FusedBatchNormGradTest, FusedBatchNormV3Grad) {
      FusedBatchNormV3::Attrs attrs;
      attrs.is_training_ = std::get<0>(GetParam());
      bool channel_first = std::get<1>(GetParam());
      TensorShape shape = std::get<2>(GetParam());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 20:45:22 UTC 2022
    - 15K bytes
    - Viewed (0)
  10. maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertViolations(result, 0, 4, 0);
    
            assertContains(
                    result.getErrors().get(0), "'build.plugins.plugin.version' for test:mip must be a valid version");
            assertContains(
                    result.getErrors().get(1), "'build.plugins.plugin.version' for test:rmv must be a valid version");
            assertContains(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 13:13:07 UTC 2024
    - 32.8K bytes
    - Viewed (0)
Back to top