- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for teststring2 (0.13 sec)
-
src/unique/handle_test.go
type testString string type testIntArray [4]int type testEface any type testStringArray [3]string type testStringStruct struct { a string } type testStringStructArrayStruct struct { s [2]testStringStruct } type testStruct struct { z float64 b string } func TestHandle(t *testing.T) { testHandle[testString](t, "foo") testHandle[testString](t, "bar")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:14:07 UTC 2024 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/io_test.cc
const absl::Status write_status = WriteStringToFile(dst_file_path, "test_string"); ASSERT_THAT(write_status, IsOk()); auto* const env = tsl::Env::Default(); ASSERT_THAT(env->FileExists(dst_file_path), IsOk()); std::string data{}; ASSERT_THAT(tsl::ReadFileToString(env, dst_file_path, &data), IsOk()); EXPECT_THAT(data, Eq("test_string")); } TEST(IoTest, ReadFileToString) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 03:28:15 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/composite_op_round_trip.mlir
// CHECK-ROUNDTRIP: %0 = stablehlo.composite "stablehlo.add_n" %arg0 {composite_attributes = {test_bool = false, test_int = 2 : i64, test_string = "test"}, decomposition = @add_n.impl} : (tensor<i64>) -> tensor<i64> %0 = stablehlo.composite "stablehlo.add_n" %arg0 { composite_attributes = { test_int = 2 : i64, test_bool = 0 : i1, test_string = "test"}, decomposition = @add_n.impl } : (tensor<i64>) -> tensor<i64> return %0 : tensor<i64> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 03:40:50 UTC 2024 - 1.1K bytes - Viewed (0) -
src/unique/clone_test.go
// license that can be found in the LICENSE file. package unique import ( "internal/abi" "internal/goarch" "reflect" "testing" ) func TestMakeCloneSeq(t *testing.T) { testCloneSeq[testString](t, cSeq(0)) testCloneSeq[testIntArray](t, cSeq()) testCloneSeq[testEface](t, cSeq()) testCloneSeq[testStringArray](t, cSeq(0, 2*goarch.PtrSize, 4*goarch.PtrSize)) testCloneSeq[testStringStruct](t, cSeq(0))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:14:07 UTC 2024 - 1K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/impl/iostream_test.cc
} TEST(OStreamTest, TestFloat32) { Float32 x(0.375); // Exactly representable as a float. std::stringstream stream; stream << x; ASSERT_EQ(stream.str(), "0.375"); } TEST(OStreamTest, TestString) { String s("foo"); std::stringstream stream; stream << s; ASSERT_EQ(stream.str(), "foo"); } TEST(OStreamTest, TestNone) { std::stringstream stream; stream << None::GetInstance();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 09:47:46 UTC 2024 - 2K bytes - Viewed (0)