- Sort Score
- Result 10 results
- Languages All
Results 681 - 690 of 3,211 for List (0.02 sec)
-
tests/test_serialize_response.py
from typing import List, Optional from fastapi import FastAPI 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/valid", response_model=Item) def get_valid(): return {"name": "valid", "price": 1.0} @app.get("/items/coerce", response_model=Item)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Aug 03 12:29:07 UTC 2020 - 1.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java
import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.apache.maven.artifact.ArtifactScopeEnum; /** * classpath container that is aware of the classpath scope * * */ @Deprecated public class ClasspathContainer implements Iterable<ArtifactMetadata> { private List<ArtifactMetadata> classpath; private ArtifactScopeEnum scope;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocMap.java
} @Override public Set<java.util.Map.Entry<String, Object>> entrySet() { if (parent.containsKey(LANG_KEY)) { final List<java.util.Map.Entry<String, Object>> list = new ArrayList<>(parent.entrySet()); Collections.sort(list, (o1, o2) -> { final String k1 = o1.getKey(); if (LANG_KEY.equals(k1)) { return -1; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java
// paramMap.put( // HcHttpClient.AUTHENTICATIONS_PROPERTY, // basicAuthList.toArray(new Authentication[basicAuthList.size()])); // // List<Callable<ResponseData>> list = // new ArrayList<Callable<ResponseData>>(); // for (int i = 0; i < 100; i++) { // list.add(new Callable<ResponseData>() { // public ResponseData call() throws Exception { // String[] urls = // new String[] { // "http://.../",
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 09 09:28:25 UTC 2024 - 8.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableListMultimap.java
Collection<? extends V> values = entry.getValue(); ImmutableList<V> list = (valueComparator == null) ? ImmutableList.copyOf(values) : ImmutableList.sortedCopyOf(valueComparator, values); if (!list.isEmpty()) { builder.put(key, list); size += list.size(); } } return new ImmutableListMultimap<>(builder.buildOrThrow(), size);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 16 20:20:32 UTC 2024 - 19K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java
@Override public Set<Feature<? super Void>> getImpliedFeatures() { return emptySet(); } } @SuppressWarnings("rawtypes") // class literals @Override protected List<Class<? extends AbstractTester>> getTesters() { List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters()); testers.add(CollectionSerializationEqualTester.class); testers.add(MultisetAddTester.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 10.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
* TestContainerGenerator#order(List)}. Tests should use this method only if they declare * requirement {@link com.google.common.collect.testing.features.CollectionFeature#KNOWN_ORDER}. */ protected List<E> getOrderedElements() { List<E> list = new ArrayList<>(); for (E e : getSubjectGenerator().order(new ArrayList<E>(getSampleElements()))) { list.add(e); } return unmodifiableList(list);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestTransferListener.java
*/ package org.apache.maven.artifact.resolver; import java.util.ArrayList; import java.util.List; import org.apache.maven.wagon.observers.AbstractTransferListener; public class TestTransferListener extends AbstractTransferListener { private final List<String> transfers = new ArrayList<>(); public List<String> getTransfers() { return transfers; } public void addTransfer(String name) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java
package org.codelibs.fess.crawler.service; import java.util.List; import org.codelibs.fess.crawler.entity.AccessResult; import org.codelibs.fess.crawler.util.AccessResultCallback; /** * @author shinsuke * */ public interface DataService<RESULT extends AccessResult<?>> { void store(RESULT accessResult); void update(RESULT accessResult); void update(List<RESULT> accessResult);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.3K bytes - Viewed (0) -
common-protos/k8s.io/api/rbac/v1alpha1/generated.proto
optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is a list of ClusterRoles repeated ClusterRole items = 2; } // PolicyRule holds information that describes a policy rule, but does not contain information // about who the rule applies to or which namespace the rule applies to. message PolicyRule { // Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 8.5K bytes - Viewed (0)