- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for TestSub (0.45 sec)
-
src/io/fs/sub_test.go
package fs_test import ( "errors" . "io/fs" "testing" ) type subOnly struct{ SubFS } func (subOnly) Open(name string) (File, error) { return nil, ErrNotExist } func TestSub(t *testing.T) { check := func(desc string, sub FS, err error) { t.Helper() if err != nil { t.Errorf("Sub(sub): %v", err) return } data, err := ReadFile(sub, "goodbye.txt")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 10 02:10:17 UTC 2024 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/get-arithmetic-count.mlir
%0 = "tfl.add"(%arg0, %arg1) {fused_activation_function = "NONE"} : (tensor<10x10x10xf32>, tensor<10xf32>) -> tensor<10x10x10xf32> func.return %0 : tensor<10x10x10xf32> } func.func @testSub(%arg0: tensor<10x10x10xf32>, %arg1: tensor<10x10x10xf32>) -> tensor<10x10x10xf32> { // CHECK: _arithmetic_count = 1000 : i64
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 14 04:58:17 UTC 2022 - 7.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
q.MarshalJSON() } func TestDeepCopy(t *testing.T) { q := NewQuantity(5, DecimalSI) c := q.DeepCopy() c.Set(6) if q.Value() == 6 { t.Errorf("Copy didn't") } } func TestSub(t *testing.T) { tests := []struct { a Quantity b Quantity expected Quantity }{ {decQuantity(10, 0, DecimalSI), decQuantity(1, 1, DecimalSI), decQuantity(0, 0, DecimalSI)},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 49.4K bytes - Viewed (0) -
src/time/time_test.go
{Date(2311, 11, 26, 02, 16, 47, 63535996, UTC), Date(2019, 8, 16, 2, 29, 30, 268436582, UTC), 9223372036795099414}, {MinMonoTime, MaxMonoTime, minDuration}, {MaxMonoTime, MinMonoTime, maxDuration}, } func TestSub(t *testing.T) { for i, st := range subTests { got := st.t.Sub(st.u) if got != st.d { t.Errorf("#%d: Sub(%v, %v): got %v; want %v", i, st.t, st.u, got, st.d) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/ops.mlir
%0 = tfl.add %arg0, %arg1 {fused_activation_function = "RELU6"} : tensor<? x i16> func.return %0#0 : tensor<? x i16> } // CHECK-LABEL: testSub func.func @testSub(tensor<? x i32>, tensor<? x i32>) -> tensor<? x i32> { ^bb0(%arg0: tensor<? x i32>, %arg1: tensor<? x i32>): // 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) -
operator/cmd/mesh/manifest-generate_test.go
func TestLDFlags(t *testing.T) { tmpHub, tmpTag := version.DockerInfo.Hub, version.DockerInfo.Tag defer func() { version.DockerInfo.Hub, version.DockerInfo.Tag = tmpHub, tmpTag }() version.DockerInfo.Hub = "testHub" version.DockerInfo.Tag = "testTag" l := clog.NewConsoleLogger(os.Stdout, os.Stderr, installerScope) _, iop, err := manifest.GenerateConfig(nil, []string{"installPackagePath=" + string(liveCharts)}, true, nil, l)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 18:05:06 UTC 2024 - 43.5K bytes - Viewed (0)