Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 65 for optimization (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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 efficiency
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  2. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  3. 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: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  4. .github/bot_config.yml

             * All you need is a good internet connection and you are all set.
          * Try to build TF from sources by changing CPU optimization flags.
       
       *Please let us know if this helps.*
       
    windows_comment: >
       From the stack trace it looks like you are hitting windows path length limit.
          * Try to disable path length limit on Windows 10.
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Jun 30 16:38:59 GMT 2025
    - 4K bytes
    - Click Count (1)
  5. 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)
  6. 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)
  7. 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)
  8. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          // Asterisk (*) is only permitted in the left-most domain name label and must be the only
          // character in that label
          return false
        }
    
        // Optimization: check whether hostname is too short to match the pattern. hostName must be at
        // least as long as the pattern because asterisk must match the whole left-most label and
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java

                    filtered.addAll(upstream ? getUpstreamProjects(project, false) : getDownstreamProjects(project, false));
                }
            }
            if (filtered.isEmpty() || filtered.size() == 1) {
                // Optimization to skip streaming, distincting, and collecting to a new list when there is zero or one
                // project, aka there can't be duplicates.
                return filtered;
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 19 16:34:39 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top