Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for T2 (0.01 sec)

  1. src/main/java/org/codelibs/core/misc/Tuple3.java

         *            1番目の値の型
         * @param <T2>
         *            2番目の値の型
         * @param <T3>
         *            3番目の値の型
         * @param value1
         *            1番目の値
         * @param value2
         *            2番目の値
         * @param value3
         *            3番目の値
         * @return 3つの値の組
         */
        public static <T1, T2, T3> Tuple3<T1, T2, T3> tuple3(final T1 value1, final T2 value2, final T3 value3) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/Tuple4.java

    /**
     * 4つの値の組です。
     *
     * @author koichik
     * @param <T1>
     *            1番目の値の型
     * @param <T2>
     *            2番目の値の型
     * @param <T3>
     *            3番目の値の型
     * @param <T4>
     *            4番目の値の型
     */
    public class Tuple4<T1, T2, T3, T4> {
    
        /** 1番目の値 */
        protected T1 value1;
    
        /** 2番目の値 */
        protected T2 value2;
    
        /** 3番目の値 */
        protected T3 value3;
    
        /** 4番目の値 */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/Tuple5.java

     *
     * @author koichik
     * @param <T1>
     *            1番目の値の型
     * @param <T2>
     *            2番目の値の型
     * @param <T3>
     *            3番目の値の型
     * @param <T4>
     *            4番目の値の型
     * @param <T5>
     *            5番目の値の型
     */
    public class Tuple5<T1, T2, T3, T4, T5> {
    
        /** 1番目の値 */
        protected T1 value1;
    
        /** 2番目の値 */
        protected T2 value2;
    
        /** 3番目の値 */
        protected T3 value3;
    
        /** 4番目の値 */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. 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 Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 05 02:22:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/misc/Pair.java

     *
     * @author koichik
     * @param <T1>
     *            1番目の値の型
     * @param <T2>
     *            2番目の値の型
     */
    public class Pair<T1, T2> {
    
        /** 1番目の値 */
        protected T1 first;
    
        /** 2番目の値 */
        protected T2 second;
    
        /**
         * 二つの値のペアを作成して返します。
         *
         * @param <T1>
         *            1番目の値の型
         * @param <T2>
         *            2番目の値の型
         * @param first
         *            1番目の値
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 552 bytes
    - Viewed (0)
  7. 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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/NtlmTest.java

            };
    
            byte[] ti = new byte[] {
                0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8
            };
    
            Type2Message t2 = new Type2Message(this.context, flags, challenge, null);
            t2.setTargetInformation(ti);
    
            Type2Message parsed = new Type2Message(t2.toByteArray());
            assertArrayEquals(challenge, parsed.getChallenge());
            assertNull(parsed.getTarget());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 16 10:38:43 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  10. ci/official/utilities/rename_and_verify_wheels.sh

    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 Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 21:18:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top