Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 93 for testCmp (0.14 sec)

  1. 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)
  2. 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)
  3. cmd/sts-handlers_test.go

    	defer cancel()
    
    	for i, testApp := range testApps {
    		configCmds := []string{
    			fmt.Sprintf("identity_openid:%d", i),
    			fmt.Sprintf("config_url=%s/.well-known/openid-configuration", testApp.ProviderURL),
    			fmt.Sprintf("client_id=%s", testApp.ClientID),
    			fmt.Sprintf("client_secret=%s", testApp.ClientSecret),
    			"scopes=openid,groups",
    			fmt.Sprintf("redirect_uri=%s", testApp.RedirectURL),
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/math/all_test.go

    		if f := Erfcinv(Erfc(x)); !close(x, f) {
    			t.Errorf("Erfcinv(Erfc(%g)) = %g, want %g", x, f, x)
    		}
    	}
    }
    
    func TestExp(t *testing.T) {
    	testExp(t, Exp, "Exp")
    	testExp(t, ExpGo, "ExpGo")
    }
    
    func testExp(t *testing.T, Exp func(float64) float64, name string) {
    	for i := 0; i < len(vf); i++ {
    		if f := Exp(vf[i]); !veryclose(exp[i], f) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K 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