Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for IDs (0.23 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelRepositoryHolder.java

            if (replace) {
                Set<String> ids = repos.stream().map(RemoteRepository::getId).collect(Collectors.toSet());
                repositories =
                        repositories.stream().filter(r -> !ids.contains(r.getId())).toList();
                pomRepositories = pomRepositories.stream()
                        .filter(r -> !ids.contains(r.getId()))
                        .toList();
            } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java

            private final List<String> ids;
    
            private final int hashCode;
    
            public CacheKey(List<Artifact> extensionArtifacts) {
                this.files = new ArrayList<>(extensionArtifacts.size());
                this.timestamps = new ArrayList<>(extensionArtifacts.size());
                this.sizes = new ArrayList<>(extensionArtifacts.size());
                this.ids = new ArrayList<>(extensionArtifacts.size());
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/tape.h

      }
      if (result.size() != source_tensor_ids.size()) {
        return errors::Internal("Expected result Span to be of size ",
                                source_tensor_ids.size(), " found ", result.size(),
                                " in call to Tape::ComputeGradient.");
      }
      std::unordered_set<int64_t> used_gradient_ids(source_tensor_ids.size());
      for (int i = 0; i < source_tensor_ids.size(); i++) {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  4. tests/test_serialize_response_model.py

        assert response.json() == [
            {"aliased_name": "foo", "price": None, "owner_ids": None},
            {"aliased_name": "bar", "price": 1.0, "owner_ids": None},
            {"aliased_name": "baz", "price": 2.0, "owner_ids": [1, 2, 3]},
        ]
    
    
    def test_validdict():
        response = client.get("/items/validdict")
        response.raise_for_status()
        assert response.json() == {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  5. tests/test_serialize_response_dataclass.py

                "price": None,
                "owner_ids": None,
            },
            {
                "name": "bar",
                "date": datetime(2021, 7, 26).isoformat(),
                "price": 1.0,
                "owner_ids": None,
            },
            {
                "name": "baz",
                "date": datetime(2021, 7, 26).isoformat(),
                "price": 2.0,
                "owner_ids": [1, 2, 3],
            },
        ]
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Aug 26 13:56:47 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/prefix/PluginPrefixRequest.java

        /**
         * Gets the list of group ids to scan for the plugin prefix.
         *
         * @return The list of group ids to scan for the plugin prefix, never {@code null}.
         */
        List<String> getPluginGroups();
    
        /**
         * Sets the list of group ids to scan for the plugin prefix.
         *
         * @param pluginGroups The list of group ids to scan for the plugin prefix, may be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  7. tests/test_validate_response.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
        return {"name": "invalid", "price": "foo"}
    
    
    @app.get("/items/invalidnone", response_model=Item)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

                    final String[] ids = { "", "", "" };
                    if (Constants.WEB_CRAWLER_TYPE.equals(type)) {
                        ids[0] = "\"" + id + "\"";
                    } else if (Constants.FILE_CRAWLER_TYPE.equals(type)) {
                        ids[1] = "\"" + id + "\"";
                    } else if (Constants.DATA_CRAWLER_TYPE.equals(type)) {
                        ids[2] = "\"" + id + "\"";
                    }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  9. fastapi/openapi/utils.py

        if operation_id in operation_ids:
            message = (
                f"Duplicate Operation ID {operation_id} for function "
                + f"{route.endpoint.__name__}"
            )
            file_name = getattr(route.endpoint, "__globals__", {}).get("__file__")
            if file_name:
                message += f" at {file_name}"
            warnings.warn(message, stacklevel=1)
        operation_ids.add(operation_id)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/generate-clients.md

    But I'll show you how to improve that next. 🤓
    
    ## Custom Operation IDs and Better Method Names
    
    You can **modify** the way these operation IDs are **generated** to make them simpler and have **simpler method names** in the clients.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top