Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for t1 (0.02 sec)

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

         *
         * @param <T1>
         *            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

     */
    package org.codelibs.core.misc;
    
    /**
     * 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;
    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. callbacks/helper_test.go

    	type testM struct {
    		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)
  4. src/main/java/org/codelibs/core/misc/Tuple5.java

    /**
     * 5つの値の組です。
     *
     * @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番目の値 */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java

            assertFalse(kuromojiItem1.equals(new KuromojiItem(1, "t1", "s1", "R1", "p1")));
            assertFalse(kuromojiItem1.equals(new KuromojiItem(1, "t1", "s1", "r1", "P1")));
        }
    
        public void test_toLineString() {
            assertEquals("t1,s1,r1,p1", new KuromojiItem(1, "t1", "s1", "r1", "p1").toLineString());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            /**
             * @return T1
             */
            T1[] array();
    
            /**
             * @return List
             */
            List<T2> list();
    
            /**
             * @return Set
             */
            Set<T1> set();
    
            /**
             * @return Map
             */
            Map<T1, T2> map();
        }
    
        /**
         *
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. 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番目の値の型
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. internal/cachevalue/cache_test.go

    	}
    
    	if t1.Equal(t3) {
    		t.Fatalf("expected time to be un-equal: %s == %s", t1, t3)
    	}
    }
    
    func TestCache(t *testing.T) {
    	cache := New[time.Time]()
    	t.Parallel()
    	cache.InitOnce(2*time.Second, Opts{},
    		func(ctx context.Context) (time.Time, error) {
    			return time.Now(), nil
    		},
    	)
    
    	t1, _ := cache.Get()
    
    	t2, _ := cache.Get()
    
    	if !t1.Equal(t2) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

            @Override
            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)
  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