Search Options

Results per page
Sort
Preferred Languages
Advance

Results 981 - 990 of 3,421 for list (0.05 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        }
    
        protected <T> void insertAll(final List<T> list, final OpType opType) {
            insertAll(list, opType, false);
        }
    
        protected <T> void insertAll(final List<T> list, final OpType opType, final boolean ignoreAlreadyExists) {
            final List<T> bufferedList = new ArrayList<>(bulkBufferSize);
            final StringBuilder failureBuf = new StringBuilder(100);
            list.stream().forEach(target -> {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

    import java.lang.reflect.Method;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.Set;
    import java.util.concurrent.CopyOnWriteArraySet;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code listIterator} operations on a list. Can't be invoked
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. docs_src/response_model/tutorial001_01_py39.py

    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: list[str] = []
    
    
    @app.post("/items/")
    async def create_item(item: Item) -> Item:
        return item
    
    
    @app.get("/items/")
    async def read_items() -> list[Item]:
        return [
            Item(name="Portal Gun", price=42.0),
            Item(name="Plumbus", price=32.0),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 507 bytes
    - Viewed (0)
  4. docs_src/body_nested_models/tutorial007_py310.py

        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        images: list[Image] | None = None
    
    
    class Offer(BaseModel):
        name: str
        description: str | None = None
        price: float
        items: list[Item]
    
    
    @app.post("/offers/")
    async def create_offer(offer: Offer):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 520 bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

        @SuppressWarnings("unchecked")
        protected Set<RequestData> getAnchorSet(final Object obj) {
            List<String> anchorList;
            if (obj instanceof String) {
                anchorList = new ArrayList<>();
                anchorList.add(obj.toString());
            } else if (obj instanceof List<?>) {
                anchorList = (List<String>) obj;
            } else {
                return null;
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. docs_src/extra_models/tutorial004.py

    from typing import List
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str
    
    
    items = [
        {"name": "Foo", "description": "There comes my hero"},
        {"name": "Red", "description": "It's my aeroplane"},
    ]
    
    
    @app.get("/items/", response_model=List[Item])
    async def read_items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 381 bytes
    - Viewed (0)
  9. docs_src/body_nested_models/tutorial006.py

    from typing import List, Set, Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel, HttpUrl
    
    app = FastAPI()
    
    
    class Image(BaseModel):
        url: HttpUrl
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: Set[str] = set()
        images: Union[List[Image], None] = None
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 530 bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

         * java.util.List)
         */
        @Override
        public void offerAll(final String sessionId, final List<UrlQueueImpl<Long>> newUrlQueueList) {
            final Queue<UrlQueueImpl<Long>> urlQueueList = dataHelper.getUrlQueueList(sessionId);
            synchronized (urlQueueList) {
                final List<UrlQueueImpl<Long>> targetList = new ArrayList<>();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top