Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3941 - 3950 of 7,602 for _class (0.05 sec)

  1. guava-tests/test/com/google/common/collect/HashBiMapTest.java

    import junit.framework.TestSuite;
    
    /**
     * Tests for {@link HashBiMap}.
     *
     * @author Mike Bostock
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class HashBiMapTest extends TestCase {
    
      public static final class HashBiMapGenerator extends TestStringBiMapGenerator {
        @Override
        protected BiMap<String, String> create(Entry<String, String>[] entries) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionRetainAllTester<E> extends AbstractCollectionTester<E> {
    
      /** A collection of elements to retain, along with a description for use in failure messages. */
      private class Target {
        private final Collection<E> toRetain;
        private final String description;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. docs_src/response_directly/tutorial001.py

    from datetime import datetime
    from typing import Union
    
    from fastapi import FastAPI
    from fastapi.encoders import jsonable_encoder
    from fastapi.responses import JSONResponse
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        title: str
        timestamp: datetime
        description: Union[str, None] = None
    
    
    app = FastAPI()
    
    
    @app.put("/items/{id}")
    def update_item(id: str, item: Item):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 505 bytes
    - Viewed (0)
  4. docs_src/query_param_models/tutorial002_an_py310.py

    from typing import Annotated, Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        model_config = {"extra": "forbid"}
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 483 bytes
    - Viewed (0)
  5. docs_src/body_multiple_params/tutorial005_an.py

    from typing import Union
    
    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 457 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

    /**
     * @author shinsuke
     * @author Keiichi Watanabe
     */
    public class AdminSearchlistAction extends FessAdminAction {
    
        public static final String ROLE = "admin-searchlist";
    
        // ===================================================================================
        // Constant
        //
        private static final Logger logger = LogManager.getLogger(AdminSearchlistAction.class);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/log/cbean/cq/bs/BsUserInfoCQ.java

    import org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder.FilterFunctionBuilder;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public abstract class BsUserInfoCQ extends EsAbstractConditionQuery {
    
        protected static final Class<?> suppressUnusedImportLocalDateTime = LocalDateTime.class;
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

    import org.opensearch.common.settings.Settings;
    import org.opensearch.common.xcontent.XContentType;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.SearchHit;
    
    public class AnalyzerSettings {
        public static final String READING_ANALYZER = "reading_analyzer";
        public static final String READING_TERM_ANALYZER = "reading_term_analyzer";
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java

    import java.util.Set;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Set} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6SetTests extends TestsForSetsInJavaUtil {
      public static Test suite() {
        return new OpenJdk6SetTests().allTests();
      }
    
      @Override
      protected Collection<Method> suppressForTreeSetNatural() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ComparatorOrdering.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** An ordering for a pre-existing comparator. */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class ComparatorOrdering<T extends @Nullable Object> extends Ordering<T>
        implements Serializable {
      final Comparator<T> comparator;
    
      ComparatorOrdering(Comparator<T> comparator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 1.9K bytes
    - Viewed (0)
Back to top