- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for test_uint64 (0.2 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 "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) -
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) -
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) -
src/testing/quick/quick_test.go
type Q struct { M map[int]int S []int } f := func(q Q) bool { return q.M != nil && q.S != nil } err := Check(f, nil) if err != nil { t.Fatal(err) } } func TestInt64(t *testing.T) { var lo, hi int64 f := func(x int64) bool { if x < lo { lo = x } if x > hi { hi = x } return true } cfg := &Config{MaxCount: 10000} Check(f, cfg)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 12:54:00 UTC 2019 - 9K bytes - Viewed (0) -
src/math/big/int_test.go
"8589934592", "9223372036854775807", "9223372036854775808", "0x08000000000000000", // not uint64 "0x10000000000000000", "-0x08000000000000000", "-1", } func TestUint64(t *testing.T) { for _, s := range uint64Tests { var x Int _, ok := x.SetString(s, 0) if !ok { t.Errorf("SetString(%s, 0) failed", s) continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
src/sync/atomic/atomic_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 71.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/ops.mlir
%0 = tfl.sub %arg0, %arg1 {fused_activation_function = "RELU6"} : tensor<? x i32> func.return %0#0 : tensor<? x i32> } // CHECK-LABEL: testSubInt64 func.func @testSubInt64(tensor<? x i64>, tensor<? x i64>) -> tensor<? x i64> { ^bb0(%arg0: tensor<? x i64>, %arg1: tensor<? x i64>): // CHECK: tfl.sub %arg0, %arg1 {fused_activation_function = "RELU6"}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 189.2K bytes - Viewed (0)