Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 3,421 for list (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

          return (Entry<String, Integer>[]) new Entry<?, ?>[length];
        }
    
        @Override
        public Iterable<Entry<String, Integer>> order(List<Entry<String, Integer>> insertionOrder) {
          return insertionOrder;
        }
    
        @Override
        public List<Entry<String, Integer>> create(Object... elements) {
          ImmutableMap.Builder<String, Integer> builder = ImmutableMap.builder();
          for (Object o : elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            this.setDependencies(original.getDependencies());
            this.setDependencyNode(original.getDependencyNode());
        }
    
        private static List<ComponentDescriptor<?>> clone(List<MojoDescriptor> mojos, PluginDescriptor pluginDescriptor) {
            List<ComponentDescriptor<?>> clones = null;
            if (mojos != null) {
                clones = new ArrayList<>(mojos.size());
                for (MojoDescriptor mojo : mojos) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. docs_src/request_files/tutorial003.py

    from typing import List
    
    from fastapi import FastAPI, File, UploadFile
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_files(
        files: List[bytes] = File(description="Multiple files as bytes"),
    ):
        return {"file_sizes": [len(file) for file in files]}
    
    
    @app.post("/uploadfiles/")
    async def create_upload_files(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 913 bytes
    - Viewed (0)
  4. docs_src/request_files/tutorial003_an.py

    from typing import List
    
    from fastapi import FastAPI, File, UploadFile
    from fastapi.responses import HTMLResponse
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_files(
        files: Annotated[List[bytes], File(description="Multiple files as bytes")],
    ):
        return {"file_sizes": [len(file) for file in files]}
    
    
    @app.post("/uploadfiles/")
    async def create_upload_files(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 987 bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                      @Override
                      protected List<String> create(String[] elements) {
                        return ImmutableMultiset.copyOf(elements).asList();
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        List<String> order = new ArrayList<>();
                        for (String s : insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

        }
    
        @Override
        public Model interpolateModel(
                Model model, Path projectDir, ModelBuildingRequest config, ModelProblemCollector problems) {
            List<? extends ValueSource> valueSources = createValueSources(model, projectDir, config, problems);
            List<? extends InterpolationPostProcessor> postProcessors = createPostProcessors(model, projectDir, config);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            Map map = new HashMap();
            String key = connection.getHeaderFieldKey(0);
            String value = connection.getHeaderField(0);
            for (int i = 1; key != null || value != null; i++) {
                List values = (List) map.get(key);
                if (values == null) {
                    values = new ArrayList();
                    map.put(key, values);
                }
                values.add(value);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

          assertTrue(valueCollection instanceof List);
        }
      }
    
      public void testAsMapGetImplementsList() {
        for (K key : multimap().keySet()) {
          assertTrue(multimap().asMap().get(key) instanceof List);
        }
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testAsMapRemoveImplementsList() {
        List<K> keys = new ArrayList<>(multimap().keySet());
        for (K key : keys) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

                        ArtifactRepository localRepository,
                        List<ArtifactRepository> remoteRepositories) {
                    Set<Artifact> dependencies = new HashSet<>();
    
                    return new ResolutionGroup(artifact, dependencies, remoteRepositories);
                }
    
                @Override
                public List<ArtifactVersion> retrieveAvailableVersions(
                        Artifact artifact,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/TreeMultisetTest.java

                        return TreeMultiset.create(asList(elements)).elementSet();
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return Lists.newArrayList(Sets.newTreeSet(insertionOrder));
                      }
                    })
                .named("TreeMultiset[Ordering.natural].elementSet")
                .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top