Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for T2 (0.04 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. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

        /**
         * @param <T1>
         * @param <T2>
         *
         */
        public interface Foo<T1, T2> {
    
            /**
             * @param foo
             * @return T2
             */
            T2 foo(T1 foo);
        }
    
        /**
         *
         */
        public interface Bar extends Foo<Integer, Long> {
        }
    
        /**
         * @param <T1>
         * @param <T2>
         *
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

            public int compare(final MyToken t1, final MyToken t2) {
                if (t1.startOffset < t2.startOffset) {
                    return -1;
                } else if (t1.startOffset > t2.startOffset) {
                    return 1;
                }
    
                if (t1.endOffset < t2.endOffset) {
                    return -1;
                } else if (t1.endOffset > t2.endOffset) {
                    return 1;
                }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  9. 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)
  10. ci/official/containers/linux_arm64/devel.usertools/wheel_verification.bats

        python3 -m pip install "$TF_WHEEL"
    }
    
    @test "TensorFlow is importable" {
        source /tf/venv/bin/activate
        python3 -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)'
    }
    
    # Is this still useful?
    @test "TensorFlow has Keras" {
        source /tf/venv/bin/activate
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jan 23 02:14:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top