Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 488 for isSnapshot (0.05 seconds)

  1. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

        @Override
        public Object[] toArray() {
          return snapshot().toArray();
        }
    
        @Override
        public <T> T[] toArray(T[] array) {
          return snapshot().toArray(array);
        }
    
        /*
         * We'd love to use 'new ArrayList(this)' or 'list.addAll(this)', but
         * either of these would recurse back to us again!
         */
        private List<E> snapshot() {
          List<E> list = newArrayListWithExpectedSize(size());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/test/resources/poms/inheritance/no-append-urls2-expected.xml

      <modelVersion>4.0.0</modelVersion>
    
      <parent>
        <groupId>inheritance</groupId>
        <artifactId>parent</artifactId>
        <version>11-SNAPSHOT</version>
      </parent>
    
      <groupId>inheritance</groupId>
      <artifactId>inheritance</artifactId>
      <version>11-SNAPSHOT</version>
      <name>Model urls inheritance test child</name>
    
      <scm child.scm.connection.inherit.append.path="false"
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  3. lib/fips140/Makefile

    # For example:
    #
    #	make v1.2.3.zip
    #	make v1.2.3.test
    #
    # and then if changes are needed, check them into master
    # and run 'make v1.2.3.rm' and repeat.
    #
    # Note that once published a snapshot zip file should never
    # be modified. We record the sha256 hashes of the zip files
    # in fips140.sum, and the cmd/go/internal/fips140 test checks
    # that the zips match.
    #
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Sep 16 00:31:59 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

         * This controls whether to search in release repositories, snapshot repositories, or both.
         *
         * @since 4.0.0
         */
        enum Nature {
            /**
             * Query only release repositories to discover versions.
             */
            RELEASE,
            /**
             * Query only snapshot repositories to discover versions.
             */
            SNAPSHOT,
            /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/self-referencing-classifier.xml

      <artifactId>testvalidpom</artifactId>
      <version>0.0.1-SNAPSHOT</version>
    
      <description>
        This will test if the module validator recognized that this dependency with classifier
        is not the same as the module itself.
      </description>
      <dependencies>
        <dependency>
          <groupId>com.example.group</groupId>
          <artifactId>testvalidpom</artifactId>
          <version>0.0.1-SNAPSHOT</version>
          <classifier>linux</classifier>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/self-referencing.xml

      <artifactId>testinvalidpom</artifactId>
      <version>0.0.1-SNAPSHOT</version>
    
      <description>
        This will test if the module validator recognized that this
        dependency is the same as the module itself.
      </description>
      <dependencies>
        <dependency>
          <groupId>com.example.group</groupId>
          <artifactId>testinvalidpom</artifactId>
          <version>0.0.1-SNAPSHOT</version>
        </dependency>
      </dependencies>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  7. tests/test_get_request_body.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Product(BaseModel):
        name: str
        description: str = None  # type: ignore
        price: float
    
    
    @app.get("/product")
    async def create_item(product: Product):
        return product
    
    
    client = TestClient(app)
    
    
    def test_get_with_body():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  8. tests/test_additional_responses_response_class.py

    from fastapi import FastAPI
    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class JsonApiResponse(JSONResponse):
        media_type = "application/vnd.api+json"
    
    
    class Error(BaseModel):
        status: str
        title: str
    
    
    class JsonApiError(BaseModel):
        errors: list[Error]
    
    
    @app.get(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  9. tests/test_additional_properties_bool.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel, ConfigDict
    
    
    class FooBaseModel(BaseModel):
        model_config = ConfigDict(extra="forbid")
    
    
    class Foo(FooBaseModel):
        pass
    
    
    app = FastAPI()
    
    
    @app.post("/")
    async def post(
        foo: Foo | None = None,
    ):
        return foo
    
    
    client = TestClient(app)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  10. tests/test_repeated_dependency_schema.py

    from fastapi import Depends, FastAPI, Header, status
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    
    def get_header(*, someheader: str = Header()):
        return someheader
    
    
    def get_something_else(*, someheader: str = Depends(get_header)):
        return f"{someheader}123"
    
    
    @app.get("/")
    def get_deps(dep1: str = Depends(get_header), dep2: str = Depends(get_something_else)):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 4K bytes
    - Click Count (0)
Back to Top