- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for test_int64 (0.39 sec)
-
src/cmd/compile/internal/test/testdata/arithConst_test.go
test_uint64{fn: sub_1_uint64, fnname: "sub_1_uint64", in: 1, want: 0}, test_uint64{fn: sub_uint64_1, fnname: "sub_uint64_1", in: 1, want: 0}, test_uint64{fn: sub_1_uint64, fnname: "sub_1_uint64", in: 4294967296, want: 18446744069414584321}, test_uint64{fn: sub_uint64_1, fnname: "sub_uint64_1", in: 4294967296, want: 4294967295}, test_uint64{fn: sub_1_uint64, fnname: "sub_1_uint64", in: 9223372036854775808, want: 9223372036854775809},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 633.8K bytes - Viewed (0) -
src/flag/flag_test.go
return "false" } return "true" } func TestEverything(t *testing.T) { ResetForTesting(nil) Bool("test_bool", false, "bool value") Int("test_int", 0, "int value") Int64("test_int64", 0, "int64 value") Uint("test_uint", 0, "uint value") Uint64("test_uint64", 0, "uint64 value") String("test_string", "0", "string value") Float64("test_float64", 0, "float64 value") Duration("test_duration", 0, "time.Duration value")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 22K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java
public void testDivideByZeroThrows() { for (int a : TEST_INTS) { try { UnsignedInteger unused = UnsignedInteger.fromIntBits(a).dividedBy(UnsignedInteger.ZERO); fail("Expected ArithmeticException"); } catch (ArithmeticException expected) { } } } public void testMod() { for (int a : TEST_INTS) { for (int b : TEST_INTS) { if (b != 0) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 9.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java
public void testDivideByZeroThrows() { for (int a : TEST_INTS) { try { UnsignedInteger unused = UnsignedInteger.fromIntBits(a).dividedBy(UnsignedInteger.ZERO); fail("Expected ArithmeticException"); } catch (ArithmeticException expected) { } } } public void testMod() { for (int a : TEST_INTS) { for (int b : TEST_INTS) { if (b != 0) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 9.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/v2/conversion_test.go
{ name: "maxLength", in: &apiextensions.JSONSchemaProps{ MaxLength: &testInt64, }, expected: new(spec.Schema). WithMaxLength(testInt64), }, { name: "minLength", in: &apiextensions.JSONSchemaProps{ MinLength: &testInt64, }, expected: new(spec.Schema). WithMinLength(testInt64), }, { name: "pattern", in: &apiextensions.JSONSchemaProps{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 14:34:26 UTC 2023 - 23.2K bytes - Viewed (0) -
test/range3.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 17:20:08 UTC 2023 - 1.3K 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) -
tensorflow/cc/experimental/libtf/impl/iostream_test.cc
#include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/platform/test.h" namespace tf { namespace libtf { namespace impl { TEST(OStreamTest, TestInt64) { Int64 x(42); std::stringstream stream; stream << x; ASSERT_EQ(stream.str(), "42"); } TEST(OStreamTest, TestFloat32) { Float32 x(0.375); // Exactly representable as a float.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 09:47:46 UTC 2024 - 2K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/tests/generate_testdata.py
]) def test_float(self, x): return constant_op.constant(3.0) * x @def_function.function(input_signature=[ tensor_spec.TensorSpec(shape=(), dtype=dtypes.int32), ]) def test_int(self, x): return constant_op.constant(3) * x @def_function.function(input_signature=[ tensor_spec.TensorSpec(shape=(), dtype=dtypes.float32), tensor_spec.TensorSpec(shape=(), dtype=dtypes.float32),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 15 16:58:38 UTC 2021 - 3.3K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/tests/runtime_test.cc
TF_ASSERT_OK_AND_ASSIGN(Object module, runtime.Load(String(module_path.c_str()))); TF_ASSERT_OK_AND_ASSIGN(Callable fn, module.Get<Callable>(String("test_int"))); // Call the function TF_ASSERT_OK_AND_ASSIGN(Tensor host_tensor, runtime.CreateHostTensor<int>({}, TF_INT32, {2}));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 09 12:27:54 UTC 2023 - 4.8K bytes - Viewed (0)