- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 833 for if (0.15 sec)
-
android/guava/src/com/google/common/primitives/Floats.java
} /** * Returns the value nearest to {@code value} which is within the closed range {@code [min..max]}. * * <p>If {@code value} is within the range {@code [min..max]}, {@code value} is returned * unchanged. If {@code value} is less than {@code min}, {@code min} is returned, and if {@code * value} is greater than {@code max}, {@code max} is returned. * * @param value the {@code float} value to constrain
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 25.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Collections2.java
// next permutation. if (j == -1) { return; } while (true) { int q = c[j] + o[j]; if (q < 0) { switchDirection(); continue; } if (q == j + 1) { if (j == 0) { break; } s++; switchDirection();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 22.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
} /** Resizes the entries storage if necessary. */ private void resizeMeMaybe(int newSize) { int entriesSize = requireEntries().length; if (newSize > entriesSize) { // 1.5x but round up to nearest odd (this is optimal for memory consumption on Android) int newCapacity = Math.min(CompactHashing.MAX_SIZE, (entriesSize + Math.max(1, entriesSize >>> 1)) | 1); if (newCapacity != entriesSize) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 05 21:38:59 GMT 2024 - 24K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
public boolean isStale() { File pomFile = pomArtifact.getFile(); if (pomFile != null) { if (pomFile.canRead()) { return length != pomFile.length() || timestamp != pomFile.lastModified(); } else { // if the POM didn't exist, retry if any repo is configured to always update boolean snapshot = pomArtifact.isSnapshot();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Jun 15 14:24:56 GMT 2023 - 11.8K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
int offset = 0; if ( domainLength > 0 ) { writeUShort(targetInfo, offset, 2); offset += 2; writeUShort(targetInfo, offset, domainLength); offset += 2; System.arraycopy(domain, 0, targetInfo, offset, domainLength); offset += domainLength; } if ( serverLength > 0 ) { writeUShort(targetInfo, offset, 1);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 14.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java
if (path.startsWith("http:") || path.startsWith("https:") || path.startsWith("smb:") || path.startsWith("smb1:") || path.startsWith("ftp:") || path.startsWith("storage:")) { return path; } if (path.startsWith("www.")) { return "http://" + path; } if (path.startsWith("//")) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 12.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java
Collection<String> scopes = Collections.emptyList(); if (classpath != null && !classpath.isEmpty()) { if (Artifact.SCOPE_COMPILE.equals(classpath)) { scopes = Arrays.asList(Artifact.SCOPE_COMPILE, Artifact.SCOPE_SYSTEM, Artifact.SCOPE_PROVIDED); } else if (Artifact.SCOPE_RUNTIME.equals(classpath)) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 20.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
} } protected void buildRoleQuery(final QueryContext queryContext, final SearchRequestType searchRequestType) { if (queryContext.roleQueryEnabled()) { final Set<String> roleSet = ComponentUtil.getRoleQueryHelper().build(searchRequestType); if (!roleSet.isEmpty()) { queryContext.addQuery(boolQuery -> buildRoleQuery(roleSet, boolQuery)); } } }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 11.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
* * <p>If {@code expectedSize} is exactly the number of entries added to the builder before {@link * Builder#build} is called, the builder is likely to perform better than an unsized {@link * #builder()} would have. * * <p>It is not specified if any performance benefits apply if {@code expectedSize} is close to,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 22.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
* Futures#getUnchecked}. * </ul> * * @throws ExecutionException if the computation threw an exception * @throws CancellationException if the computation was cancelled * @throws TimeoutException if the wait timed out */ @CanIgnoreReturnValue @J2ktIncompatible @GwtIncompatible // TODO
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 14.4K bytes - Viewed (0)