Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for optimization (0.05 sec)

  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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  2. 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)
  3. proguard/base.pro

    # Note: We intentionally don't add the flags we'd need to make Flags and Enums
    # work. That's because the Proguard configuration required to make them work on
    # optimized code would preclude lots of optimization, like converting enums
    # into ints.
    
    # Throwables uses internal APIs for lazy stack trace resolution
    -dontnote sun.misc.SharedSecrets
    -keep class sun.misc.SharedSecrets {
      *** getJavaLangAccess(...);
    }
    -dontnote sun.misc.JavaLangAccess
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 09 00:29:01 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. 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() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 08:04:23 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. 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)
  6. 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
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  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
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Joiner.java

         *
         * We could consider recognizing specific other collections as safe (like ImmutableCollection,
         * except ContiguousSet!) or as not worth this optimization (CopyOnWriteArrayList?).
         */
        if (parts instanceof List) {
          int size = ((List<?>) parts).size();
          if (size == 0) {
            return "";
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top