Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for optimizations (0.04 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

                            context.success("Full inference optimizations applied");
                        } else {
                            context.success("Limited inference optimizations applied (parent-related only)");
                        }
                    } else {
                        context.success("No inference optimizations needed");
                    }
                } catch (Exception e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/package-info.java

     *   <li>{@link org.apache.maven.cling.invoker.mvnup.goals.InferenceStrategy} - Applies Maven 4.1.0+ inference optimizations</li>
     *   <li>{@link org.apache.maven.cling.invoker.mvnup.goals.CompatibilityFixStrategy} - Fixes Maven 4 compatibility issues</li>
     * </ul>
     *
     * <h3>Utility Classes</h3>
     * <ul>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        Appendable secretlyAWriter = new StringWriter();
        result = CharStreams.asWriter(secretlyAWriter);
        assertSame(secretlyAWriter, result);
      }
    
      // CharStreams.copy has type specific optimizations for Readers,StringBuilders and Writers
    
      public void testCopy() throws IOException {
        StringBuilder builder = new StringBuilder();
        long copied =
            CharStreams.copy(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharStreamsTest.java

        Appendable secretlyAWriter = new StringWriter();
        result = CharStreams.asWriter(secretlyAWriter);
        assertSame(secretlyAWriter, result);
      }
    
      // CharStreams.copy has type specific optimizations for Readers,StringBuilders and Writers
    
      public void testCopy() throws IOException {
        StringBuilder builder = new StringBuilder();
        long copied =
            CharStreams.copy(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     * If a plugin version is defined via a property, the property value is updated instead.
     *
     * <h3>Inference Optimizations (Optional)</h3>
     * When {@code --infer} option is enabled, applies inference optimizations to remove redundant information:
     *
     * <h4>Limited Inference for 4.0.0 Models (Maven 3.x POMs)</h4>
     * <ul>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableList.java

        checkElementIndex(index, size);
        // requireNonNull is safe because we guarantee that the first `size` elements are non-null.
        return (E) requireNonNull(array[index]);
      }
    
      // TODO(lowasser): benchmark optimizations for equals() and see if they're worthwhile
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

    import java.nio.CharBuffer;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for {@link CharStreams#copy}.
     *
     * <p>{@link CharStreams#copy} has type specific optimizations for various common Appendable and
     * Reader implementations, this compares the performance of the different options.
     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

                return MODEL_VERSION_4_2_0.equals(toVersion);
            }
    
            return false;
        }
    
        /**
         * Checks if a model version is eligible for inference optimizations.
         * Models 4.0.0+ are eligible (4.0.0 has limited inference, 4.1.0+ has full inference).
         *
         * @param modelVersion the model version to check
         * @return true if eligible for inference
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/BufferCache.java

    package jcifs.smb1.smb1;
    
    import jcifs.smb1.Config;
    
    /**
     * Buffer cache implementation for SMB1 protocol operations.
     * Manages a pool of byte buffers to reduce garbage collection overhead.
     *
     * Performance optimizations:
     * - Uses ConcurrentLinkedQueue for O(1) operations
     * - Lock-free operations for better concurrency
     * - Proper buffer validation and limits
     */
    public class BufferCache {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. README.md

    - **Template Method** - Resource traversal utilities with customizable handlers
    - **Utility Classes** - All core functionality exposed through static utility methods for easy access
    
    ### Performance Optimizations
    - **Caching** - Bean descriptors and reflection metadata are cached for improved performance
    - **Lazy initialization** - Resources and expensive operations are initialized only when needed  
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top