Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1341 - 1350 of 7,287 for _class (0.06 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

        //
        //        ArtifactFactory factory = (ArtifactFactory) lookup( ArtifactFactory.class );
        //        Artifact artifact = factory.createProjectArtifact( "maven", "p1", "1.0" );
        //
        //        ArtifactRepositoryFactory repoFactory = (ArtifactRepositoryFactory) lookup(
        // ArtifactRepositoryFactory.class );
        //        ArtifactRepository localArtifactRepo = repoFactory.createLocalRepository( localRepo );
        //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      public static Method[] getHoleMethods() {
        return new Method[] {
          getMethod(NavigableSetNavigationTester.class, "testLowerHole"),
          getMethod(NavigableSetNavigationTester.class, "testFloorHole"),
          getMethod(NavigableSetNavigationTester.class, "testCeilingHole"),
          getMethod(NavigableSetNavigationTester.class, "testHigherHole"),
        };
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AggregateFutureState.java

      private static final LazyLogger log = new LazyLogger(AggregateFutureState.class);
    
      static {
        AtomicHelper helper;
        Throwable thrownReflectionFailure = null;
        try {
          helper =
              new SafeAtomicHelper(
                  newUpdater(AggregateFutureState.class, Set.class, "seenExceptions"),
                  newUpdater(AggregateFutureState.class, "remaining"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        assertCanIterateAgain(filtered);
        assertEquals("[foo]", filtered.toString());
      }
    
      private static class TypeA {}
    
      private interface TypeB {}
    
      private static class HasBoth extends TypeA implements TypeB {}
    
      @GwtIncompatible // Iterables.filter(Iterable, Class)
      public void testFilterByType() throws Exception {
        HasBoth hasBoth = new HasBoth();
        FluentIterable<TypeA> alist =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

              }
            };
        TimeoutException e =
            assertThrows(
                TimeoutException.class, () -> service.startAsync().awaitRunning(1, MILLISECONDS));
        assertThat(e)
            .hasMessageThat()
            .isEqualTo("Timed out waiting for Foo [STARTING] to reach the RUNNING state.");
      }
    
      private static class TestService extends AbstractIdleService {
        int startUpCalled = 0;
        int shutDownCalled = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. docs_src/extra_models/tutorial002.py

    from fastapi import FastAPI
    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class UserBase(BaseModel):
        username: str
        email: EmailStr
        full_name: Union[str, None] = None
    
    
    class UserIn(UserBase):
        password: str
    
    
    class UserOut(UserBase):
        pass
    
    
    class UserInDB(UserBase):
        hashed_password: str
    
    
    def fake_password_hasher(raw_password: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 824 bytes
    - Viewed (0)
  7. docs/em/docs/advanced/custom-response.md

    👉 🔢 📨 ⚙️ **FastAPI**, 👆 ✍ 🔛.
    
    ### `ORJSONResponse`
    
    ⏩ 🎛 🎻 📨 ⚙️ <a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a>, 👆 ✍ 🔛.
    
    ### `UJSONResponse`
    
    🎛 🎻 📨 ⚙️ <a href="https://github.com/ultrajson/ultrajson" class="external-link" target="_blank">`ujson`</a>.
    
    /// warning
    
    `ujson` 🌘 💛 🌘 🐍 🏗-🛠️ ❔ ⚫️ 🍵 📐-💼.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

            request.setModelSource(new StringModelSource(BASE1));
            request.setModelResolver(new CycleInImportsResolver());
    
            assertThrows(ModelBuildingException.class, () -> builder.build(request));
        }
    
        static class CycleInImportsResolver extends BaseModelResolver {
            @Override
            public ModelSource resolveModel(org.apache.maven.model.Dependency dependency)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. docs_src/header_param_models/tutorial002_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Header
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class CommonHeaders(BaseModel):
        model_config = {"extra": "forbid"}
    
        host: str
        save_data: bool
        if_modified_since: str | None = None
        traceparent: str | None = None
        x_tag: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(headers: Annotated[CommonHeaders, Header()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 432 bytes
    - Viewed (0)
  10. docs_src/header_param_models/tutorial002_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Header
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class CommonHeaders(BaseModel):
        model_config = {"extra": "forbid"}
    
        host: str
        save_data: bool
        if_modified_since: Union[str, None] = None
        traceparent: Union[str, None] = None
        x_tag: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(headers: CommonHeaders = Header()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 430 bytes
    - Viewed (0)
Back to top