Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 84 for Optimizations (0.07 seconds)

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

  1. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

          frequency.set(0);
        }
        backingMap.clear();
        size = 0L;
      }
    
      @Override
      int distinctElements() {
        return backingMap.size();
      }
    
      // Optimizations - Query Operations
    
      @Override
      public int size() {
        return Ints.saturatedCast(size);
      }
    
      @Override
      public Iterator<E> iterator() {
        return new MapBasedMultisetIterator();
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

       * even to an intermediate buffer) should be considerably more efficient than potentially
       * copying the CharSequence to a String and then calling getBytes(Charset) on that String, in
       * reality there are optimizations that make the getBytes(Charset) approach considerably faster,
       * at least for commonly used charsets like UTF-8.
       */
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putByte(byte b) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  3. tensorflow/c/c_api_experimental.h

    // as if passed in XLA_FLAGS. This has global effect.
    TF_CAPI_EXPORT void TF_SetXlaAutoJitMode(const char* mode);
    
    // Returns whether the single GPU or general XLA auto jit optimizations are
    // enabled through MarkForCompilationPassFlags.
    TF_CAPI_EXPORT unsigned char TF_GetXlaAutoJitEnabled();
    
    // Sets XLA's minimum cluster size. This has global effect.
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Click Count (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

    import org.apache.maven.api.model.Model;
    import org.apache.maven.model.v4.MavenStaxReader;
    
    /**
     * A utility class that analyzes Maven POM files to identify memory usage patterns and potential memory optimizations.
     * This analyzer focuses on identifying duplicate strings and their memory impact across different paths in the POM structure.
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  5. RELEASE.md

                optimizations. Setting the variable to 0 or unsetting it will
                disable the optimizations.
            *   These optimizations can yield slightly different numerical results
                from when they are off due to floating-point round-off errors from
                different computation approaches and orders.
            *   To verify that the optimizations are on, look for a message with
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Tue Oct 28 22:27:41 GMT 2025
    - 740.4K bytes
    - Click Count (3)
  6. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 16K bytes
    - Click Count (0)
  7. 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
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/AbstractBiMap.java

        return new Inverse<>(backward, this);
      }
    
      void setInverse(AbstractBiMap<V, K> inverse) {
        this.inverse = inverse;
      }
    
      // Query Operations (optimizations)
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        return inverse.containsKey(value);
      }
    
      // Modification Operations
    
      @CanIgnoreReturnValue
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  9. 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();
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  10. 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) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
Back to Top