- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 3,211 for List (0.03 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
} private fun splitDomain(domain: String): List<String> { val domainLabels = domain.split('.') if (domainLabels.last() == "") { // allow for domain name trailing dot return domainLabels.dropLast(1) } return domainLabels } private fun findMatchingRule(domainLabels: List<String>): List<String> { if (!listRead.get() && listRead.compareAndSet(false, true)) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.7K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/LifecycleConfiguration.java
/** * Method getLifecycles. * * @return List */ public java.util.List<Lifecycle> getLifecycles() { if (this.lifecycles == null) { this.lifecycles = new java.util.ArrayList<Lifecycle>(); } return this.lifecycles; } // -- java.util.List<Lifecycle> getLifecycles() /** * Get the modelEncoding field. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
docs/zh/docs/tutorial/body-nested-models.md
但是 Python 有一种特定的方法来声明具有子类型的列表: ### 从 typing 导入 `List` 首先,从 Python 的标准库 `typing` 模块中导入 `List`: ```Python hl_lines="1" {!> ../../docs_src/body_nested_models/tutorial002.py!} ``` ### 声明具有子类型的 List 要声明具有子类型的类型,例如 `list`、`dict`、`tuple`: * 从 `typing` 模块导入它们 * 使用方括号 `[` 和 `]` 将子类型作为「类型参数」传入 ```Python from typing import List my_list: List[str] ``` 这完全是用于类型声明的标准 Python 语法。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java
protected int crawlerPriority = Thread.NORM_PRIORITY; protected final List<Crawler> crawlerList = Collections.synchronizedList(new ArrayList<>()); public void crawl(final String sessionId, final List<String> webConfigIdList, final List<String> fileConfigIdList) { final boolean runAll = webConfigIdList == null && fileConfigIdList == null; final List<WebConfig> webConfigList; if (runAll || webConfigIdList != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 22.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
} return parser; } protected String getBaseHref(final Document document) { try { final XPathNodes list = getXPathAPI().selectNodeList(document, "//BASE"); if (list.size() > 0) { final Node node = list.get(0); final Node attrNode = node.getAttributes().getNamedItem("href"); if (attrNode != null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Oct 24 12:16:00 UTC 2024 - 19.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-nested-models.md
### Importe `List` do typing Primeiramente, importe `List` do módulo `typing` que já vem por padrão no Python: ```Python hl_lines="1" {!../../docs_src/body_nested_models/tutorial002.py!} ``` ### Declare a `List` com um parâmetro de tipo Para declarar tipos que têm parâmetros de tipo(tipos internos), como `list`, `dict`, `tuple`: * Importe os do modulo `typing`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Address.kt
.build() /** * The protocols the client supports. This method always returns a non-null list that * contains minimally [Protocol.HTTP_1_1]. */ @get:JvmName("protocols") val protocols: List<Protocol> = protocols.toImmutableList() @get:JvmName("connectionSpecs") val connectionSpecs: List<ConnectionSpec> = connectionSpecs.toImmutableList() @JvmName("-deprecated_url") @Deprecated(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.4K bytes - Viewed (0) -
tests/test_typing_python39.py
from .utils import needs_py310 @needs_py310 def test_typing(): types = { list[int]: [1, 2, 3], dict[str, list[int]]: {"a": [1, 2, 3], "b": [4, 5, 6]}, set[int]: [1, 2, 3], # `set` is converted to `list` tuple[int, ...]: [1, 2, 3], # `tuple` is converted to `list` } for test_type, expect in types.items(): app = FastAPI()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 709 bytes - Viewed (0) -
common-protos/k8s.io/api/networking/v1/generated.proto
message NetworkPolicyEgressRule { // ports is a list of destination ports for outgoing traffic. // Each item in this list is combined using a logical OR. If this field is // empty or missing, this rule matches all ports (traffic not restricted by port). // If this field is present and contains at least one item, then this rule allows // traffic only if the traffic matches at least one port in the list. // +optional
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 25.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryFactory.java
@Nonnull RemoteRepository createRemote(@Nonnull Repository repository); @Nonnull List<RemoteRepository> aggregate( @Nonnull Session session, @Nonnull List<RemoteRepository> dominant, @Nonnull List<RemoteRepository> recessive, boolean processRecessive);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu May 02 15:10:38 UTC 2024 - 1.8K bytes - Viewed (0)