- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 25 for t2 (0.05 seconds)
-
src/cmd/api/testdata/src/pkg/p4/p4.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p4 type Pair[T1 interface{ M() }, T2 ~int] struct { f1 T1 f2 T2 } func NewPair[T1 interface{ M() }, T2 ~int](v1 T1, v2 T2) Pair[T1, T2] { return Pair[T1, T2]{f1: v1, f2: v2} } func (p Pair[X1, _]) First() X1 { return p.f1 } func (p Pair[_, X2]) Second() X2 { return p.f2 }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Dec 02 16:29:41 GMT 2022 - 552 bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeResolverTest.java
assertThrows(IllegalArgumentException.class, () -> resolver.where(t, String.class)); } public <T1, T2 extends List<T1>> void testWhere_recursiveMapping() { Type t1 = new TypeCapture<T1>() {}.capture(); Type t2 = new TypeCapture<T2>() {}.capture(); assertEquals(t2, new TypeResolver().where(t1, t2).resolveType(t1)); } public <T> void testWhere_genericArrayMapping() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 9.8K bytes - Click Count (0) -
callbacks/helper_test.go
Name string } t1 := testM{Name: "t1"} t2 := testM{Name: "t2"} t3 := testM{Name: "t3"} vm = make(visitMap) if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf(&t1)); loaded { t.Fatalf("loaded should be false") } if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf(&t1)); !loaded { t.Fatalf("loaded should be true") } // t1 already exist but t2 notCreated: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Mar 05 02:22:57 GMT 2024 - 3.4K bytes - Click Count (0) -
internal/cachevalue/cache_test.go
defer cancel() t1, err := cache.GetWithCtx(ctx) if err != nil { t.Fatalf("expected nil err, got %v", err) } t2, err := cache.GetWithCtx(ctx) if err != nil { t.Fatalf("expected nil err, got %v", err) } if !t1.Equal(t2) { t.Fatalf("expected time to be equal: %s != %s", t1, t2) } time.Sleep(3 * time.Second) t3, err := cache.GetWithCtx(ctx) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 2.7K bytes - Click Count (0) -
ci/official/utilities/rename_and_verify_wheels.sh
else "$python" -m pip install *.whl $TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS fi if [[ "$TFCI_WHL_IMPORT_TEST_ENABLE" == "1" ]]; then "$python" -c 'import tensorflow as tf; t1=tf.constant([1,2,3,4]); t2=tf.constant([5,6,7,8]); print(tf.add(t1,t2).shape)' "$python" -c 'import sys; import tensorflow as tf; sys.exit(0 if "keras" in tf.keras.__name__ else 1)' fi # Import tf nightly wheel built with numpy2 from PyPI in numpy1 env for testing.
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Mon Sep 22 21:39:32 GMT 2025 - 4.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java
assertThrows(IllegalArgumentException.class, () -> resolver.where(t, String.class)); } public <T1, T2 extends List<T1>> void testWhere_recursiveMapping() { Type t1 = new TypeCapture<T1>() {}.capture(); Type t2 = new TypeCapture<T2>() {}.capture(); assertEquals(t2, new TypeResolver().where(t1, t2).resolveType(t1)); } public <T> void testWhere_genericArrayMapping() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 9.8K bytes - Click Count (0) -
src/arena/arena_test.go
// license that can be found in the LICENSE file. //go:build goexperiment.arenas package arena_test import ( "arena" "testing" ) type T1 struct { n int } type T2 [1 << 20]byte // 1MiB func TestSmoke(t *testing.T) { a := arena.NewArena() defer a.Free() tt := arena.New[T1](a) tt.n = 1 ts := arena.MakeSlice[T1](a, 99, 100) if len(ts) != 99 {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Oct 12 20:23:36 GMT 2022 - 742 bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java
+ " -Durl=[url] -DrepositoryId=[id]" + LS + LS + " Path to dependency: " + LS + " \t1) dependency1" + LS + " \t2) dependency2" + LS + LS; String actual = AbstractArtifactResolutionException.constructMissingArtifactMessage( message, indentation, groupId, artifactId, version, type, classifier, downloadUrl, path);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.7K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java
request.url(), chain.connection(), request.headers())); Response response = chain.proceed(request); long t2 = System.nanoTime(); logger.info(String.format("Received response for %s in %.1fms%n%s", request.url(), (t2 - t1) / 1e6d, response.headers())); return response; } } public static void main(String... args) throws Exception {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jan 01 15:55:32 GMT 2016 - 2K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
:= t1 + X3 y3.Mul({{.p}}B(), y3) // Y3 := b * Y3 t1.Add(t2, t2) // t1 := t2 + t2 t2.Add(t1, t2) // t2 := t1 + t2 y3.Sub(y3, t2) // Y3 := Y3 - t2 y3.Sub(y3, t0) // Y3 := Y3 - t0 t1.Add(y3, y3) // t1 := Y3 + Y3 y3.Add(t1, y3) // Y3 := t1 + Y3 t1.Add(t0, t0) // t1 := t0 + t0 t0.Add(t1, t0) // t0 := t1 + t0 t0.Sub(t0, t2) // t0 := t0 - t2 t1.Mul(t4, y3) // t1 := t4 * Y3 t2.Mul(t0, y3) // t2 := t0 * Y3 y3.Mul(x3, z3) // Y3 := X3 * Z3 y3.Add(y3, t2) // Y3 := Y3 + t2 x3.Mul(t3, x3) // X3 := t3 * X3 x3.Sub(x3,...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0)