- Sort Score
- Num 10 results
- Language All
Results 1001 - 1010 of 1,273 for integers (0.12 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/rest/client.go
func exponentialBackoffWait(r *rand.Rand, unit, maxSleep time.Duration) func(uint) time.Duration { if unit > time.Hour { // Protect against integer overflow panic("unit cannot exceed one hour") } return func(attempt uint) time.Duration { if attempt > 16 { // Protect against integer overflow attempt = 16 } // sleep = random_between(unit, min(cap, base * 2 ** attempt))
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
@Inject private PlexusContainer container; @Inject private LegacySupport legacySupport; private final Executor executor; public DefaultArtifactResolver() { int threads = Integer.getInteger("maven.artifact.threads", 5); if (threads <= 1) { executor = Runnable::run; } else { executor = new ThreadPoolExecutor(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 25K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java
* @param form the search form containing filter criteria * @return HTML response with the role list */ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) { pageNumber.ifPresent(num -> { rolePager.setCurrentPageNumber(pageNumber.get()); }).orElse(() -> { rolePager.setCurrentPageNumber(0);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/boostdoc/AdminBoostdocAction.java
* @param pageNumber The page number. * @param form The search form. * @return The HTML response. */ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) { pageNumber.ifPresent(num -> { boostDocPager.setCurrentPageNumber(pageNumber.get()); }).orElse(() -> { boostDocPager.setCurrentPageNumber(0);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 14.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/Maps.java
* <p> * By statically importing this class, you can easily initialize {@literal Map} instances as follows: * </p> * * <pre> * import static org.codelibs.core.collection.Maps.*; * * Map<String, Integer> map = map("a", 1).$("b", 2).$("c", 3).$(); * </pre> * * @author koichik * @param <K> the key type of the {@literal Map} * @param <V> the value type of the {@literal Map} */ public class Maps<K, V> {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 7.2K bytes - Click Count (0) -
fastapi/encoders.py
def decimal_encoder(dec_value: Decimal) -> int | float: """ Encodes a Decimal as int if there's no exponent, otherwise float This is useful when we use ConstrainedDecimal to represent Numeric(x,0) where an integer (but not int typed) is used. Encoding this as a float results in failed round-tripping between encode and parse. Our Id type is a prime example of this. >>> decimal_encoder(Decimal("1.0")) 1.0
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 10.9K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy
@Internal protected File getPidFile() { return new File(baseDir, 'pid') } /** Reads the pid file and returns the process' pid */ @Internal int getPid() { return Integer.parseInt(pidFile.getText('UTF-8').trim()) } /** Returns the file the process writes its bound ports to. Defaults to "ports" inside baseDir. */ @Internal protected File getPortsFile() {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java
test.getExtensions().add("nonInputProperties", nonInputProperties); test.setWorkingDir(project.file(project.getBuildDir() + "/testrun/" + test.getName())); test.setMaxParallelForks(Integer.parseInt(System.getProperty("tests.jvms", BuildParams.getDefaultParallel().toString()))); test.exclude("**/*$*.class"); test.jvmArgs(
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 24 22:14:49 GMT 2021 - 10.4K bytes - Click Count (0) -
src/test/java/jcifs/config/MultiChannelConfigurationTest.java
props.setProperty("jcifs.smb.client.useMultiChannel", "invalid"); PropertyConfiguration config = new PropertyConfiguration(props); assertTrue(config.isUseMultiChannel()); // Invalid integer should use default props.clear(); props.setProperty("jcifs.smb.client.maxChannels", "invalid"); config = new PropertyConfiguration(props); assertEquals(4, config.getMaxChannels());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 8.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/EnumMultiset.java
if (occurrences == 0) { return count(element); } int index = element.ordinal(); int oldCount = counts[index]; long newCount = (long) oldCount + occurrences; checkArgument(newCount <= Integer.MAX_VALUE, "too many occurrences: %s", newCount); counts[index] = (int) newCount; if (oldCount == 0) { distinctElements++; } size += occurrences; return oldCount; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.3K bytes - Click Count (0)