- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for optimizations (0.07 sec)
-
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.2K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.7K bytes - Viewed (0) -
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: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
assertTrue("Boundary value tests should be fast", true); } public void test_performance_optimization() { // Verify that performance optimizations are working long startTime = System.currentTimeMillis(); try { dataIndexHelper.crawl("performance-test"); } catch (Exception e) { // Expected }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
} catch (InterruptedException e) { logExecutor.shutdownNow(); Thread.currentThread().interrupt(); } } /** * Log a security event with performance optimizations * * @param type event type * @param severity event severity * @param message event message * @param context additional context */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
double totalTimeMs = (end - start) / 1_000_000.0; System.out.printf("Overall Performance Test: completed in %.2f ms%n", totalTimeMs); // Should complete very quickly with all optimizations assertTrue(totalTimeMs < 100, "All operations should complete quickly with performance fixes"); pool.close(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
return getBooleanProperty(DIRECTORY_NOTIFICATIONS_ENABLED, true); } public int getMaxDirectoryCacheEntries() { return getIntProperty(MAX_DIRECTORY_CACHE_ENTRIES, 1000); } ``` ## 7. Performance Optimizations ### 7.1 Batch Directory Operations ```java public class BatchDirectoryOperations { private final DirectoryLeaseManager leaseManager; public List<SmbFile> batchExists(List<String> paths) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0)