- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for T2 (0.01 sec)
-
src/main/java/org/codelibs/core/misc/Tuple4.java
* The type of the first value * @param <T2> * The type of the second value * @param <T3> * The type of the third value * @param <T4> * The type of the fourth value */ public class Tuple4<T1, T2, T3, T4> { /** The first value */ protected T1 value1; /** The second value */ protected T2 value2; /** The third value */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Tuple5.java
* @param value4 * The fourth value * @param value5 * The fifth value * @return A tuple of five values */ public static <T1, T2, T3, T4, T5> Tuple5<T1, T2, T3, T4, T5> tuple5(final T1 value1, final T2 value2, final T3 value3, final T4 value4, final T5 value5) { return new Tuple5<>(value1, value2, value3, value4, value5); } /** * Constructs an instance.
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Pair.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.5K bytes - Viewed (0) -
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 }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Dec 02 16:29:41 UTC 2022 - 552 bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Tuple3.java
* * @author koichik * @param <T1> * The type of the first value * @param <T2> * The type of the second value * @param <T3> * The type of the third value */ public class Tuple3<T1, T2, T3> { /** The first value */ protected T1 value1; /** The second value */ protected T2 value2; /** The third value */ protected T3 value3; /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.6K bytes - Viewed (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 not
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Mar 05 02:22:57 UTC 2024 - 3.4K bytes - Viewed (0) -
ci/official/utilities/rename_and_verify_wheels.sh
fi fi "$python" -m pip install *.whl $TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS 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.
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Apr 25 00:22:38 UTC 2025 - 4.7K bytes - Viewed (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 {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Oct 12 20:23:36 UTC 2022 - 742 bytes - Viewed (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() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 9.8K bytes - Viewed (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 {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jan 01 15:55:32 UTC 2016 - 2K bytes - Viewed (0)