- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 55 for optimization (0.08 seconds)
-
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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 26.6K 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: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Wed Nov 19 08:04:23 GMT 2025 - 2K bytes - Click Count (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()); }
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 11.4K bytes - Click Count (0) -
cmd/config.go
_, err := objAPI.DeleteObject(ctx, minioMetaBucket, historyFile, ObjectOptions{ DeletePrefix: true, DeletePrefixObject: true, // use prefix delete on exact object (this is an optimization to avoid fan-out calls) }) return err } func readServerConfigHistory(ctx context.Context, objAPI ObjectLayer, uuidKV string) ([]byte, error) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.9K bytes - Click Count (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/ModelObjectProcessor.java
* * <p>This service allows implementations to:</p> * <ul> * <li>Pool identical objects to reduce memory footprint</li> * <li>Intern objects for faster equality comparisons</li> * <li>Apply custom optimization strategies</li> * <li>Transform or modify objects during building</li> * </ul> * * <p>Implementations are discovered via the Java ServiceLoader mechanism and should
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
*/ @Override public synchronized void close() { final SmbTreeHandleImpl th = this.treeHandle; if (th != null) { this.treeHandle = null; // Optimization: For non-strict lifecycle, delay tree handle closure // to allow connection reuse for subsequent operations if (this.transportContext.getConfig().isStrictResourceLifecycle()) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.6K bytes - Click Count (0) -
cmd/erasure-server-pool.go
// from older format, for older format we will rewrite them as // newer using PutObject() - this is an optimization to save space if dstOpts.Versioned && srcOpts.VersionID != dstOpts.VersionID && !srcInfo.Legacy { // CopyObject optimization where we don't create an entire copy // of the content, instead we add a reference. srcInfo.versionOnly = true
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 89.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java
*/ @Nonnull default Path targetPath(@Nonnull Project project) { Optional<Path> targetPath = targetPath(); // The test for `isAbsolute()` is a small optimization for avoiding the call to `getOutputDirectory(…)`. return targetPath.filter(Path::isAbsolute).orElseGet(() -> { Path base = project.getOutputDirectory(scope());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 14.2K bytes - Click Count (0)