Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for optimizations (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. android/guava/src/com/google/common/graph/Graphs.java

       * be updated after modifications to {@code graph}.
       *
       * @since 33.1.0 (present with return type {@code Graph} since 20.0)
       */
      // TODO(b/31438252): Consider potential optimizations for this algorithm.
      public static <N> ImmutableGraph<N> transitiveClosure(Graph<N> graph) {
        ImmutableGraph.Builder<N> transitiveClosure =
            GraphBuilder.from(graph).allowsSelfLoops(true).<N>immutable();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/Graphs.java

       * be updated after modifications to {@code graph}.
       *
       * @since 33.1.0 (present with return type {@code Graph} since 20.0)
       */
      // TODO(b/31438252): Consider potential optimizations for this algorithm.
      public static <N> ImmutableGraph<N> transitiveClosure(Graph<N> graph) {
        ImmutableGraph.Builder<N> transitiveClosure =
            GraphBuilder.from(graph).allowsSelfLoops(true).<N>immutable();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
Back to top