- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for Optimization (0.17 sec)
-
src/main/java/jcifs/smb/SmbFileInputStream.java
} final int type = this.file.getType(); int r, n; final int blockSize = type == SmbConstants.TYPE_FILESYSTEM ? this.readSizeFile : this.readSize; // Optimization: Use larger block sizes for better performance final int optimizedBlockSize = Math.min(blockSize * 2, 64 * 1024); // Cap at 64KB for memory efficiencyRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
checkVersionsOrder(b, c); // now b < c, but before MNG-5568, we had b > c checkVersionsOrder(a, c); } /** * Test <a href="https://jira.apache.org/jira/browse/MNG-6572">MNG-6572</a> optimization. */ @Test void testMng6572() { String a = "20190126.230843"; // resembles a SNAPSHOT String b = "1234567890.12345"; // 10 digit number
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
* doesn't need access to the futures again, so we can just pass `null`. * * TODO(b/112550045): Allocating a single, cheaper listener is (I think) only an optimization. * If we make some other optimizations, this one will no longer be necessary. The optimization * could actually hurt in some cases, as it forces us to keep all inputs in memory until the * final input completes. */ @RetainedLocalRef
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 16K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
private static final Pattern IP_PATTERN = Pattern.compile("\\b(?:[0-9]{1,3}\\.){3}[0-9]{1,3}\\b"); // Object pools for performance optimization private final Queue<AuditEntry> auditEntryPool = new ConcurrentLinkedQueue<>(); private final Queue<StringBuilder> stringBuilderPool = new ConcurrentLinkedQueue<>();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java
final String sessionId = "session5"; final List<String> emptyList = Collections.emptyList(); // Should not throw exception when adding empty list // This validates the early return optimization try { urlFilterService.addIncludeUrlFilter(sessionId, emptyList); } catch (final Exception e) { fail("Should not throw exception for empty list: " + e.getMessage()); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
if (compare(dividend, divisor) < 0) { return 0; // dividend < divisor } else { return 1; // dividend >= divisor } } // Optimization - use signed division if dividend < 2^63 if (dividend >= 0) { return dividend / divisor; } /* * Otherwise, approximate the quotient, check, and correct if necessary. Our approximation is
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComparisonChain.java
* inputs' {@link Comparable#compareTo compareTo} and {@link Comparator#compare compare} methods as * soon as one of them returns a nonzero result. This optimization is typically important only in * the presence of expensive {@code compareTo} and {@code compare} implementations. * * <p>See the Guava User Guide article on <a href=
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.1K bytes - Viewed (0) -
guava/src/com/google/common/base/Joiner.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 21K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java
* <li>Most frequent string values and their occurrence counts</li> * <li>Statistics grouped by POM element types</li> * </ul> * * <p>This tool is particularly useful for identifying memory optimization opportunities * in large Maven multi-module projects where POM files may contain significant * duplicate content.</p> */ public class PomMemoryAnalyzer {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 13.4K bytes - Viewed (0) -
configure.py
return curr_version print('You have bazel %s installed.' % curr_version) return curr_version def set_cc_opt_flags(environ_cp): """Set up architecture-dependent optimization flags. Also append CC optimization flags to bazel.rc.. Args: environ_cp: copy of the os.environ. """ if is_ppc64le(): # gcc on ppc64le does not support -march, use mcpu instead
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Wed Apr 30 15:18:54 UTC 2025 - 48.3K bytes - Viewed (0)