Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 103 for parameterize (0.13 sec)

  1. cmd/admin-handlers_test.go

    	err = signRequestV4(req, cred.AccessKey, cred.SecretKey)
    	if err != nil {
    		return nil, err
    	}
    	return req, nil
    }
    
    // testServicesCmdHandler - parametrizes service subcommand tests on
    // cmdType value.
    func testServicesCmdHandler(cmd cmdType, t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Optional.java

       * contained references are {@linkplain Object#equals equal} to each other or both are absent.
       * Note that {@code Optional} instances of differing parameterized types can be equal.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> no differences.
       */
      @Override
      public abstract boolean equals(@CheckForNull Object object);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

        ```
    
        For a single component e.g. softmax op:
    
        ```bash
        bazel test ${flags} tensorflow/python/kernel_tests/nn_ops:softmax_op_test
        ```
    
        For a single/parameterized test e.g. `test_capture_variables` in
        `tensorflow/python/saved_model/load_test.py`:
    
        (Requires `python>=3.7`)
    
        ```bash
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 23 06:20:12 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create();
        for (int z = 1; z <= 100; z++) {
          multimap.put("a", z);
          // The Eclipse compiler (and hence GWT) rejects a parameterized cast.
          @SuppressWarnings("unchecked")
          LinkedHashMultimap<String, Integer>.ValueSet valueSet =
              (LinkedHashMultimap.ValueSet) multimap.backingMap().get("a");
          assertEquals(z, valueSet.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/Invokable.java

            return constructor.newInstance(args);
          } catch (InstantiationException e) {
            throw new RuntimeException(constructor + " failed.", e);
          }
        }
    
        /**
         * If the class is parameterized, such as {@link java.util.ArrayList ArrayList}, this returns
         * {@code ArrayList<E>}.
         */
        @Override
        Type getGenericReturnType() {
          Class<?> declaringClass = getDeclaringClass();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. tests/test_application.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from .main import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/api_route", 200, {"message": "Hello World"}),
            ("/non_decorated_route", 200, {"message": "Hello World"}),
            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 52.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. api/maven-api-model/src/main/mdo/maven.mdo

            </field>
            <field>
              <name>filtering</name>
              <version>3.0.0+</version>
              <description>
                Whether resources are filtered to replace tokens with parameterised values or not.
                The values are taken from the {@code properties} element and from the
                properties in the files listed in the {@code filters} element. Note: While the type
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
Back to top