- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 117 for optimization (0.07 seconds)
-
futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java
/** * A future that, if it fails, may <i>optionally</i> provide access to the cause of the failure. * * <p>This class is used only for micro-optimization. Standard {@code Future} utilities benefit from * this optimization, so there is no need to specialize methods to return or accept this type * instead of {@code ListenableFuture}. * * <p>This class is GWT-compatible. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 2.3K bytes - Click Count (0) -
tensorflow/c/eager/c_api_distributed_test.cc
// Test to ensure that a registered graph optimization pass is only executed // once (i.e., on the main function side) in running distributed functions. // This test creates a cluster with two workers, create a variable on the // second worker, and run a distributed function (VariableAddFunction) whose ops // span the local and remote workers. If the graph optimization pass is executed
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 23.4K bytes - Click Count (0) -
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 efficiencyCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (0) -
.github/PULL_REQUEST_TEMPLATE.md
## Motivation and Context ## How to test this PR? ## Types of changes - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Optimization (provides speedup with no functional changes) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Checklist: - [ ] Fixes a regression (If yes, please add `commit-id` or `PR #` here)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Nov 14 17:29:11 GMT 2023 - 1K bytes - Click Count (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
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 17.8K bytes - Click Count (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<>();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 26.6K bytes - Click Count (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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 16K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/UserRoleLoginException.java
*/ public Class<? extends RootAction> getActionClass() { return actionClass; } /** * Overrides fillInStackTrace to return null for performance optimization. * This prevents stack trace generation for this exception type. * * @return null to skip stack trace generation */ @Override public synchronized Throwable fillInStackTrace() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Nov 19 08:04:23 GMT 2025 - 2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/UserAgentHelper.java
* This class analyzes the User-Agent header to determine which browser type is being used * and caches the result in the request attribute for performance optimization. * */ public class UserAgentHelper { /** * Default constructor for UserAgentHelper. */ public UserAgentHelper() { // Default constructor }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java
* * */ @Deprecated public class MetadataTreeNode { ArtifactMetadata md; // this node MetadataTreeNode parent; // papa /** default # of children. Used for tree creation optimization only */ int nChildren = 8; MetadataTreeNode[] children; // of cause public int getNChildren() { return nChildren; } public void setNChildren(int children) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.9K bytes - Click Count (0)