Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/main/java/org/codelibs/core/misc/Pair.java

     * @param <T2>
     *            The type of the second value
     */
    public class Pair<T1, T2> {
    
        /** The first value */
        protected T1 first;
    
        /** The second value */
        protected T2 second;
    
        /**
         * Creates and returns a pair of two values.
         *
         * @param <T1>
         *            The type of the first value
         * @param <T2>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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 Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

            assertEquals(5, t2.numThreads, "t2 should have its own numThreads value");
            assertEquals("smb://server1/share/file.txt", t1.url, "t1 should have its own URL");
            assertEquals("smb://server2/share/file.txt", t2.url, "t2 should have its own URL");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top