Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2131 - 2140 of 7,081 for returns (0.1 sec)

  1. docs_src/request_files/tutorial001_02_an.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 Mar 18 12:29:59 UTC 2023
    - 553 bytes
    - Viewed (0)
  2. docs_src/request_files/tutorial001_02_an_py39.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 Mar 18 12:29:59 UTC 2023
    - 524 bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

            } catch (InvalidVersionSpecificationException e) {
                return null;
            }
    
            return artifactFactory.createPluginArtifact(plugin.getGroupId(), plugin.getArtifactId(), versionRange);
        }
    
        @Override
        public Artifact createProjectArtifact(String groupId, String artifactId, String version) {
            return createArtifact(groupId, artifactId, version, "pom");
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                        logger.debug("[{}] match {}:{}", entry.getKey(), name, value);
                    }
                    return true;
                }
            }
            return false;
        }
    
        @Override
        public boolean isAvailable() {
            if (available != null) {
                return available;
            }
            if (generatorList != null && !generatorList.isEmpty()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

                        return true;
                    });
                }
                break;
            default:
                break;
            }
            return OptionalEntity.empty();
        }
    
        private HtmlResponse asListHtml() {
            return asHtml(path_AdminSearchlist_AdminSearchlistJsp);
        }
    
        private HtmlResponse asEditHtml() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/xml/DomUtil.java

         * @return {@link InputStream}
         */
        public static InputStream getContentsAsStream(final String contents, final String encoding) {
            assertArgumentNotNull("contents", contents);
    
            if (encoding == null) {
                return new ByteArrayInputStream(contents.getBytes());
            }
            try {
                return new ByteArrayInputStream(contents.getBytes(encoding));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          lastTimeoutInMillis = unit.toMillis(timeout);
          return inline.submit(Iterables.get(tasks, 0)).get(timeout, unit);
        }
    
        @Override
        public boolean isShutdown() {
          lastMethodCalled = "isShutdown";
          return false;
        }
    
        @Override
        public boolean isTerminated() {
          lastMethodCalled = "isTerminated";
          return false;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/InversionArtifactFilter.java

        }
    
        public boolean include(Artifact artifact) {
            return !toInvert.include(artifact);
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + toInvert.hashCode();
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. cmd/setup-type.go

    )
    
    func (setupType SetupType) String() string {
    	switch setupType {
    	case FSSetupType:
    		return globalMinioModeFS
    	case ErasureSDSetupType:
    		return globalMinioModeErasureSD
    	case ErasureSetupType:
    		return globalMinioModeErasure
    	case DistErasureSetupType:
    		return globalMinioModeDistErasure
    	}
    
    	return "unknown"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

            public String getDisplayName() {
                return signature;
            }
    
            public String getUrlFragment(String className) {
                return style == LinkMetaData.Style.Dsldoc ? String.format("%s:%s", className, signature) : signature.replace('(', '-').replace(')', '-');
            }
    
            @Override
            public String toString() {
                return signature;
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.4K bytes
    - Viewed (0)
Back to top