- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 71 for testvol (0.18 sec)
-
src/context/x_test.go
package context_test import ( . "context" "errors" "fmt" "math/rand" "runtime" "strings" "sync" "testing" "time" ) // Each XTestFoo in context_test.go must be called from a TestFoo here to run. func TestParentFinishesChild(t *testing.T) { XTestParentFinishesChild(t) // uses unexported context types } func TestChildFinishesFirst(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 26.3K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
got := ExpectedExpiryTime(tc.modTime, int(tc.days)) if !got.Equal(tc.expected) { t.Fatalf("Expected %v to be equal to %v", got, tc.expected) } }) } } func TestEval(t *testing.T) { testCases := []struct { inputConfig string objectName string objectTags string objectModTime time.Time isDelMarker bool
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 55.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
list.add("cool"); assertFalse(Iterators.any(list.iterator(), predicate)); list.add("pants"); assertTrue(Iterators.any(list.iterator(), predicate)); } public void testAll() { List<String> list = Lists.newArrayList(); Predicate<String> predicate = Predicates.equalTo("cool"); assertTrue(Iterators.all(list.iterator(), predicate)); list.add("cool");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 03 13:01:51 UTC 2024 - 55.7K bytes - Viewed (0) -
src/math/big/int_test.go
} func checkMul(a, b []byte) bool { var x, y, z1 Int x.SetBytes(a) y.SetBytes(b) z1.Mul(&x, &y) var z2 Int z2.SetBytes(mulBytes(a, b)) return z1.Cmp(&z2) == 0 } func TestMul(t *testing.T) { if err := quick.Check(checkMul, nil); err != nil { t.Error(err) } } var mulRangesZ = []struct { a, b int64 prod string }{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
for i, test := range tests { test.a.Add(test.b) if test.a.Cmp(test.expected) != 0 { t.Errorf("[%d] Expected %q, got %q", i, test.expected.String(), test.a.String()) } } } func TestMul(t *testing.T) { tests := []struct { a Quantity b int64 expected Quantity ok bool }{ {decQuantity(10, 0, DecimalSI), 10, decQuantity(100, 0, DecimalSI), true},
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/cmd/cgo/internal/test/test.go
} // issue 1635 func test1635(t *testing.T) { C.scatter() if v := C.hola; v != 0 { t.Fatalf("C.hola is %d, should be 0", v) } if v := C.testHola(); v != 0 { t.Fatalf("C.testHola() is %d, should be 0", v) } } // issue 2470 func testUnsignedInt(t *testing.T) { a := (int64)(C.UINT32VAL) b := (int64)(0xc008427b) if a != b {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/ops.mlir
// RUN: tf-opt -split-input-file -verify-diagnostics -tfl-runtime-verify %s | FileCheck %s // Unary math ops // ----- // CHECK-LABEL: testCos func.func @testCos(tensor<? x f32>) -> tensor<? x f32> { ^bb0(%arg0: tensor<? x f32>): // CHECK: "tfl.cos"(%arg0) %0 = "tfl.cos"(%arg0): (tensor<? x f32>) -> tensor<? x f32> func.return %0 : tensor<? x f32> } // ----- // test invalid Cos input
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 189.2K bytes - Viewed (0) -
src/math/all_test.go
if f := Copysign(vfcopysignSC[i], -1); !alike(copysignSC[i], f) { t.Errorf("Copysign(%g, -1) = %g, want %g", vfcopysignSC[i], f, copysignSC[i]) } } } func TestCos(t *testing.T) { for i := 0; i < len(vf); i++ { if f := Cos(vf[i]); !veryclose(cos[i], f) { t.Errorf("Cos(%g) = %g, want %g", vf[i], f, cos[i]) } } for i := 0; i < len(vfcosSC); i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 07 17:39:26 UTC 2023 - 86.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 23 14:40:35 UTC 2023 - 236.4K bytes - Viewed (0) -
src/reflect/all_test.go
"runtime" "slices" "strconv" "strings" "sync" "sync/atomic" "testing" "time" "unsafe" ) const bucketCount = abi.MapBucketCount var sink any func TestBool(t *testing.T) { v := ValueOf(true) if v.Bool() != true { t.Fatal("ValueOf(true).Bool() = false") } } type integer int type T struct { a int b float64 c string d *int }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)