Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 156 for parameterized (0.07 seconds)

  1. 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());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  2. 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
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Jan 11 04:47:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  3. android/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();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  4. 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(@Nullable Object object);
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  5. 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
    @NullMarked
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  6. 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)                          \
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Nov 17 00:00:38 GMT 2025
    - 97K bytes
    - Click Count (0)
  7. api/maven-api-model/src/main/mdo/maven.mdo

            <field>
              <name>stringFiltering</name>
              <version>4.1.0+</version>
              <description>
                <![CDATA[
                Whether resources are filtered to replace tokens with parameterized values.
                The values are taken from the {@code properties} element and from the properties
                in the files listed in the {@code filters} element.
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 26 03:07:35 GMT 2025
    - 133.3K bytes
    - Click Count (0)
  8. tests/test_request_params/test_body/test_required_str.py

                "p": {"title": "P", "type": "string"},
            },
            "required": ["p"],
            "title": body_model_name,
            "type": "object",
        }
    
    
    @pytest.mark.parametrize("json", [None, {}])
    @pytest.mark.parametrize(
        "path",
        ["/required-str", "/model-required-str"],
    )
    def test_required_str_missing(path: str, json: Union[dict[str, Any], None]):
        client = TestClient(app)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 11K bytes
    - Click Count (0)
  9. tests/test_request_params/test_header/test_optional_str.py

                "in": "header",
            }
        ]
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    )
    def test_optional_str_missing(path: str):
        client = TestClient(app)
        response = client.get(path)
        assert response.status_code == 200
        assert response.json() == {"p": None}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  10. tests/test_request_params/test_header/test_required_str.py

    class HeaderModelRequiredStr(BaseModel):
        p: str
    
    
    @app.get("/model-required-str")
    async def read_model_required_str(p: Annotated[HeaderModelRequiredStr, Header()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-str", "/model-required-str"],
    )
    def test_required_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
                "required": True,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 10K bytes
    - Click Count (0)
Back to Top