- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 137 for t4 (0.02 sec)
-
pkg/queue/delay_test.go
t0 := time.Now() t1 := &delayTask{runAt: t0.Add(0)} t2 := &delayTask{runAt: t0.Add(1 * time.Hour)} t3 := &delayTask{runAt: t0.Add(2 * time.Hour)} t4 := &delayTask{runAt: t0.Add(3 * time.Hour)} sorted := []*delayTask{t1, t2, t3, t4} // fill in an unsorted order unsorted := []*delayTask{t4, t2, t3, t1} for _, task := range unsorted { heap.Push(pq, task) } // dequeue should be in order for i, task := range sorted {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 20 06:27:31 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-printers.h
PrintTupleTo(t, os); } template <typename T1, typename T2, typename T3, typename T4> void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4>& t, ::std::ostream* os) { PrintTupleTo(t, os); } template <typename T1, typename T2, typename T3, typename T4, typename T5> void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5>& t, ::std::ostream* os) { PrintTupleTo(t, os); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 30.9K bytes - Viewed (0) -
test/recover.go
}() var i I = Tiny{} i.M() } // large receiver, so basic wrapper in i.M() type T4 [2]string func (T4) M() { mustRecoverBody(doubleRecover(), recover(), recover(), 12) } func test12() { var i I = T4{} defer i.M() panic(12) } func test12reflect1() { f := reflect.ValueOf(T4{}).Method(0).Interface().(func()) defer f() panic(12) } func test12reflect2() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 10.6K bytes - Viewed (0) -
src/internal/types/testdata/check/typeinst1.go
func g[P interface{ m() P }](x P) { panic(0) } // For now, a lone type parameter is not permitted as RHS in a type declaration (issue #45639). // type T4[P any] P // // func (_ T4[P]) m() T4[P] // // func _[Q any](x Q) { // g(T4[Q](x)) // } // Another test case that caused problems in the past type T5[_ interface { a() }, _ interface{}] struct{} type A[P any] struct{ x P }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 5.7K bytes - Viewed (0) -
test/const3.go
func (t T) String() string { return fmt.Sprintf("T%d", int(t)) } const ( A T = 1 << (1 << iota) B C D E ) func main() { s := fmt.Sprintf("%v %v %v %v %v", A, B, C, D, E) if s != "T2 T4 T16 T256 T65536" { println("type info didn't propagate in const: got", s) panic("fail") } x := uint(5) y := float64(uint64(1)<<x) // used to fail to compile if y != 32 { println("wrong y", y)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 02:19:43 UTC 2012 - 659 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest_pred_impl.h
// Helper function for implementing {EXPECT|ASSERT}_PRED4. Don't use // this in your code. template <typename Pred, typename T1, typename T2, typename T3, typename T4> AssertionResult AssertPred4Helper(const char* pred_text, const char* e1, const char* e2, const char* e3,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/control_edges.mlir
// CHECK-NEXT: %[[t3:.*]], %[[c3:.*]] = tfl.control_node controls "tfl.neg"(%[[t2]]) // CHECK-NEXT: %[[t4:.*]], %[[c4:.*]] = tfl.control_node(%[[c0]], %[[c1]], %[[c2]], %[[c3]]) controls "tfl.neg"(%[[t3]])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 14 21:40:53 UTC 2022 - 3.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/sccp_test.go
Valu("t2", OpDiv64, c.config.Types.Int64, 0, nil, "t1", "v1"), Valu("t3", OpAdd64, c.config.Types.Int64, 0, nil, "t1", "t2"), Valu("t4", OpSub64, c.config.Types.Int64, 0, nil, "t3", "v2"), Valu("t5", OpMul64, c.config.Types.Int64, 0, nil, "t4", "v2"), Valu("t6", OpMod64, c.config.Types.Int64, 0, nil, "t5", "v2"), Valu("t7", OpAnd64, c.config.Types.Int64, 0, nil, "t6", "v2"),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 21:01:50 UTC 2023 - 3.6K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-printers.h
PrintTupleTo(t, os); } template <typename T1, typename T2, typename T3, typename T4> void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4>& t, ::std::ostream* os) { PrintTupleTo(t, os); } template <typename T1, typename T2, typename T3, typename T4, typename T5> void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5>& t, ::std::ostream* os) { PrintTupleTo(t, os); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 30.9K bytes - Viewed (0) -
src/internal/types/testdata/check/decls2/decls2a.go
// Methods with receiver base type declared in another file. func (T3) m1() {} func (*T3) m2() {} func (x T3) m3() {} func (x *T3) f /* ERROR "field and method" */ () {} // Methods of non-struct type. type T4 func() func (self T4) m() func() { return self } // Methods associated with an interface. type T5 interface { m() int } func (T5 /* ERROR "invalid receiver" */ ) m1() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 3.3K bytes - Viewed (0)