Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for 1013 (0.02 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/SimpleArtifactMetadataSource.java

            return Collections.singletonList(new DefaultArtifactVersion("10.1.3"));
        }
    
        public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(
                Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository) {
            return Collections.singletonList(new DefaultArtifactVersion("10.1.3"));
        }
    
        public ResolutionGroup retrieve(MetadataResolutionRequest request) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertFalse(range.isSelectedVersionKnown(artifact), CHECK_SELECTED_VERSION_KNOWN);
            assertNull(range.getSelectedVersion(artifact), CHECK_SELECTED_VERSION);
    
            range = VersionRange.createFromVersionSpec("(,1.0],[1.2,)");
            restrictions = range.getRestrictions();
            assertEquals(2, restrictions.size(), CHECK_NUM_RESTRICTIONS);
            restriction = restrictions.get(0);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

                    "1.0-alpha-10",
                    "1.0-beta-1-SNAPSHOT",
                    "1.0-beta-1",
                    "1.0-rc-1-SNAPSHOT",
                    "1.0-rc-1",
                    "1.0-SNAPSHOT",
                    "1.0",
                    "1.0-sp-1-SNAPSHOT",
                    "1.0-sp-1",
                    "1.0.1-alpha-1-SNAPSHOT",
                    "1.0.1-alpha-1",
                    "1.0.1-beta-1-SNAPSHOT",
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

      }
    
      public void testFlatMapToInt_nullStream() {
        SpliteratorTester.ofInt(
                () ->
                    CollectSpliterators.flatMapToInt(
                        Arrays.spliterator(new Integer[] {1, 0, 1, 2, 3}),
                        (Integer i) -> i == 0 ? null : IntStream.of(i).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        4))
            .expect(1, 1, 2, 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/background-tasks.md

    ## Utiliser `BackgroundTasks`
    
    Pour commencer, importez `BackgroundTasks` et définissez un paramètre dans votre *fonction de chemin* avec `BackgroundTasks` comme type déclaré.
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[1,13] *}
    
    **FastAPI** créera l'objet de type `BackgroundTasks` pour vous et le passera comme paramètre.
    
    ## Créer une fonction de tâche
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:29:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

            assertVersionOlder("1.0-SNAPSHOT-SNAPSHOT", "1.0-SNAPSHOT");
            assertVersionOlder("1.0-alpha-1-SNAPSHOT-SNAPSHOT", "1.0-alpha-1-SNAPSHOT");
    
            assertVersionOlder("1.0-SNAPSHOT", "1.0-1-SNAPSHOT");
            assertVersionOlder("1.0-1-SNAPSHOT", "1.0-2-SNAPSHOT");
            // assertVersionEqual( "2.0-0-SNAPSHOT", "2.0-SNAPSHOT" );
            assertVersionOlder("2.0-SNAPSHOT", "2.0-1-SNAPSHOT");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/RangeTest.java

        // separate above
        expected =
            assertThrows(
                IllegalArgumentException.class, () -> range.intersection(Range.closed(10, 12)));
        assertThat(expected).hasMessageThat().contains("connected");
      }
    
      public void testGap_overlapping() {
        Range<Integer> range = Range.closedOpen(3, 5);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

            multimap.putAll("bar", asList(4, 5));
            multimap.putAll("foo", asList(6));
            multimap.putAll("baz", asList(7, 8));
            multimap.putAll("dog", asList(9));
            multimap.putAll("bar", asList(10, 11));
            multimap.putAll("cat", asList(12, 13, 14));
            return multimap.keySet().iterator();
          }
    
          @Override
          protected void verify(List<String> elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/background-tasks.md

    ## Using `BackgroundTasks`
    
    First, import `BackgroundTasks` and define a parameter in your *path operation function* with a type declaration of `BackgroundTasks`:
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[1,13] *}
    
    **FastAPI** will create the object of type `BackgroundTasks` for you and pass it as that parameter.
    
    ## Create a task function
    
    Create a function to be run as the background task.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:22:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/events.md

    ### Async Context Manager
    
    If you check, the function is decorated with an `@asynccontextmanager`.
    
    That converts the function into something called an "**async context manager**".
    
    {* ../../docs_src/events/tutorial003.py hl[1,13] *}
    
    A **context manager** in Python is something that you can use in a `with` statement, for example, `open()` can be used as a context manager:
    
    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:36:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top