Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1491 - 1500 of 2,165 for retorno (0.27 sec)

  1. tests/test_request_params/test_file/test_required.py

    
    @app.post("/required-bytes", operation_id="required_bytes")
    async def read_required_bytes(p: Annotated[bytes, File()]):
        return {"file_size": len(p)}
    
    
    @app.post("/required-uploadfile", operation_id="required_uploadfile")
    async def read_required_uploadfile(p: Annotated[UploadFile, File()]):
        return {"file_size": p.size}
    
    
    @pytest.mark.parametrize(
        "path",
        [
            "/required-bytes",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/FileAuthenticationService.java

            }).createPageNumberList());
    
            return fileAuthenticationList;
        }
    
        /**
         * Retrieves a specific file authentication configuration by its ID.
         *
         * @param id the unique identifier of the file authentication configuration
         * @return an OptionalEntity containing the file authentication if found, empty otherwise
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. docs_src/dependencies/tutorial011_py39.py

            self.fixed_content = fixed_content
    
        def __call__(self, q: str = ""):
            if q:
                return self.fixed_content in q
            return False
    
    
    checker = FixedContentQueryChecker("bar")
    
    
    @app.get("/query-checker/")
    async def read_query_check(fixed_content_included: bool = Depends(checker)):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 504 bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

              ((Buffer) buf).flip();
              to.append(buf);
              total += buf.remaining();
              ((Buffer) buf).clear();
            }
            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
        abstract long copy(Readable from, Appendable to) throws IOException;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/repository/DefaultArtifactRepositoryFactory.java

        @Inject
        private Map<String, ArtifactRepositoryLayout> repositoryLayouts;
    
        @Override
        public ArtifactRepositoryLayout getLayout(String layoutId) throws UnknownRepositoryLayoutException {
            return repositoryLayouts.get(layoutId);
        }
    
        @Override
        public ArtifactRepository createDeploymentArtifactRepository(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.7K bytes
    - Viewed (1)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

        @Override
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
        @Override
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. cmd/tier-last-day-stats.go

    		t = time.Now()
    	}
    
    	since := t.Sub(l.UpdatedAt).Hours()
    	// within the hour since l.UpdatedAt
    	if since < 1 {
    		return
    	}
    
    	idx, lastIdx := t.Hour(), l.UpdatedAt.Hour()
    
    	l.UpdatedAt = t // update to the latest time index
    
    	if since >= 24 {
    		l.Bins = [24]tierStats{}
    		return
    	}
    
    	for lastIdx != idx {
    		lastIdx = (lastIdx + 1) % 24
    		l.Bins[lastIdx] = tierStats{}
    	}
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

            return upgradedProperties.stream().collect(Collectors.toMap(AccessorKey::ofUpgradedProperty, Function.identity()));
        }
    
        private static Map<AccessorKey, ReplacedAccessor> oldRemovedAccessorsOfUpgradedProperties(List<UpgradedProperty> upgradedProperties) {
            return upgradedProperties.stream()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/net/UuidUtil.java

        /**
         * Creates a UUID.
         *
         * @return the UUID string
         */
        public static String create() {
            final StringBuilder buf = new StringBuilder(BASE.length() * 2);
            buf.append(BASE);
            final int lowTime = (int) (System.currentTimeMillis() >> 32);
            StringUtil.appendHex(buf, lowTime);
            StringUtil.appendHex(buf, RANDOM.nextInt());
            return buf.toString();
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationHolder.java

         * @param path The path to match.
         * @return The matching FtpAuthentication object, or null if no match is found.
         */
        public FtpAuthentication get(final String path) {
            if (path == null) {
                return null;
            }
    
            for (final FtpAuthentication auth : authenticationList) {
                if (auth.matches(path)) {
                    return auth;
                }
            }
            return null;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top