Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 108 for parameterized (0.15 sec)

  1. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     *
     * <p>This class incurs IO because it scans the classpath and reads classpath resources.
     *
     * @author Ben Yu
     * @since 14.0
     */
    // TODO: Switch to JUnit 4 and use @Parameterized and @BeforeClass
    // Note: @Test annotations are deliberate, as some subclasses specify @RunWith(JUnit4).
    @GwtIncompatible
    @J2ktIncompatible
    @J2ObjCIncompatible // com.google.common.reflect.ClassPath
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental_test.cc

    #include "tensorflow/core/platform/test.h"
    
    using tensorflow::Status;
    using tensorflow::string;
    using tensorflow::TF_StatusPtr;
    
    namespace tensorflow {
    namespace {
    
    // The tests are parameterized on:
    // - a string representing the tracing implementation: "mlir" or "graphdef".
    // - a boolean that when true enables TFRT as the execution engine.
    class UnifiedCAPI
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      int counter_;
    };
    
    // Helper macros for the TF_OperationGetAttr* tests.
    // TODO(ashankar): Use gmock matchers instead?
    // (https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#writing-new-parameterized-matchers-quickly)
    // That will require setting up the tensorflow build with gmock.
    #define EXPECT_TF_META(attr_name, expected_list_size, expected_type, \
                           expected_total_size)                          \
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

            return MethodUtil.isAbstract(method);
        }
    
        @Override
        public boolean isParameterized(final int index) {
            assertArgumentArrayIndex("index", index, parameterTypes.length);
    
            return parameterizedClassDescs[index].isParameterizedClass();
        }
    
        @Override
        public boolean isParameterized() {
            return parameterizedClassDesc.isParameterizedClass();
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. tests/test_allow_inf_nan_in_enforcing.py

    
    @pytest.mark.parametrize(
        "value,code",
        [
            ("-1", 200),
            ("inf", 200),
            ("-inf", 200),
            ("nan", 200),
            ("0", 200),
            ("342", 200),
        ],
    )
    def test_allow_inf_nan_param_default(value: str, code: int):
        response = client.post(f"/?z={value}")
        assert response.status_code == code, response.text
    
    
    @pytest.mark.parametrize(
        "value,code",
        [
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 24 19:27:37 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java

            return parameterTypes;
        }
    
        @Override
        public boolean isPublic() {
            return ConstructorUtil.isPublic(constructor);
        }
    
        @Override
        public boolean isParameterized(final int index) {
            assertArgumentArrayIndex("index", index, parameterTypes.length);
    
            return parameterizedClassDescs[index].isParameterizedClass();
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. tests/test_param_include_in_schema.py

    def test_openapi_schema():
        client = TestClient(app)
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == openapi_schema
    
    
    @pytest.mark.parametrize(
        "path,cookies,expected_status,expected_response",
        [
            (
                "/hidden_cookie",
                {},
                200,
                {"hidden_cookie": None},
            ),
            (
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            }
            if (valueOfMethod != null) {
                return MethodUtil.invoke(valueOfMethod, null, arg);
            }
            return arg;
        }
    
        @Override
        public boolean isParameterized() {
            return parameterizedClassDesc != null && parameterizedClassDesc.isParameterizedClass();
        }
    
        @Override
        public ParameterizedClassDesc getParameterizedClassDesc() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

         */
        public void testFieldType() throws Exception {
            BeanDesc bd = BeanDescFactory.getBeanDesc(Hoge.class);
            PropertyDesc pd = bd.getPropertyDesc("foo");
            assertThat(pd.isParameterized(), is(true));
            assertThat(pd.getElementClassOfCollection(), is(sameClass(String.class)));
    
            ParameterizedClassDesc pcd = pd.getParameterizedClassDesc();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. ci/official/utilities/repack_libtensorflow.sh

    # calls javac with options that create generated files under a
    # bazel-out directory. Next, it archives the generated source files
    # into a srcjar directly under the root. There doesn't appear to be a
    # simple way to parameterize this from bazel, hence this helper to
    # "normalize" the srcjar layout.
    #
    # Arguments:
    #   src_jar - path to the original srcjar
    #   dest_jar - path to the destination
    # Returns:
    #   None
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jul 12 19:47:53 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top