Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3761 - 3770 of 7,083 for returned (0.07 sec)

  1. docs_src/dependencies/tutorial001.py

        q: Union[str, None] = None, skip: int = 0, limit: int = 100
    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return commons
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 442 bytes
    - Viewed (0)
  2. docs_src/dependencies/tutorial001_an_py39.py

        q: Union[str, None] = None, skip: int = 0, limit: int = 100
    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return commons
    
    
    @app.get("/users/")
    async def read_users(commons: Annotated[dict, Depends(common_parameters)]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 473 bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

            if (value == null) {
                return StringUtil.EMPTY;
            }
            try {
                return MimeUtility.decodeText(value);
            } catch (final UnsupportedEncodingException e) {
                logger.warn("Invalid encoding.", e);
                return StringUtil.EMPTY;
            }
        }
    
        public Properties getMailProperties() {
            return mailProperties;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. docs_src/request_files/tutorial001_02.py

        if not file:
            return {"message": "No file sent"}
        else:
            return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(file: Union[UploadFile, None] = None):
        if not file:
            return {"message": "No upload file sent"}
        else:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 508 bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SetsTest.java

        bos.write(ref);
    
        return bos.toByteArray();
      }
    
      private static byte[] prepended(byte b, byte[] array) {
        byte[] out = new byte[array.length + 1];
        out[0] = b;
        arraycopy(array, 0, out, 1, array.length);
        return out;
      }
    
      @GwtIncompatible // java.nio.ByteBuffer
      private static byte[] toByteArray(int h) {
        return ByteBuffer.allocate(4).putInt(h).array();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    -      do
    -	{
    -	  c = *s2++;
    -	  *++s1 = c;
    -	  if (c == '\0')
    -	    return s;
    -	  c = *s2++;
    -	  *++s1 = c;
    -	  if (c == '\0')
    -	    return s;
    -	  c = *s2++;
    -	  *++s1 = c;
    -	  if (c == '\0')
    -	    return s;
    -	  c = *s2++;
    -	  *++s1 = c;
    -	  if (c == '\0')
    -	    return s;
    -	} while (--n4 > 0);
    -      n &= 3;
    -    }
    +  size_t ss = __strnlen (s2, n);
     
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

        public Optional<Path> getPath(Project project) {
            Optional<ProducedArtifact> mainArtifact = project.getMainArtifact();
            if (mainArtifact.isPresent()) {
                return artifactManager.getPath(mainArtifact.get());
            }
            return Optional.empty();
        }
    
        @Nonnull
        @Override
        public Collection<ProducedArtifact> getAttachedArtifacts(Project project) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                if (a.getArtifactId().equals(id) && a.getGroupId().equals(GROUP_ID)) {
                    return a;
                }
            }
            return null;
        }
    
        private ArtifactResolutionResult collect(Set<Artifact> artifacts) throws ArtifactResolutionException {
            return collect(artifacts, null);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java

                throw new IllegalStateException(getNoRootMessage());
            }
            return rootDirectory;
        }
    
        @Nullable
        default Path findRoot(Path basedir) {
            Path rootDirectory = basedir;
            while (rootDirectory != null && !isRootDirectory(rootDirectory)) {
                rootDirectory = rootDirectory.getParent();
            }
            return rootDirectory;
        }
    
        @Nonnull
        default String getNoRootMessage() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

                this.problems.addAll(problems);
            }
        }
    
        /**
         * Gets the problems that caused this exception.
         *
         * @return The problems that caused this exception, never {@code null}.
         */
        public List<SettingsProblem> getProblems() {
            return problems;
        }
    
        private static String toMessage(List<SettingsProblem> problems) {
            StringWriter buffer = new StringWriter(1024);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top