Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 88 for efficiency (0.49 seconds)

  1. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       * efficiency. The base class implementation determines successive Unicode code points and invokes
       * {@link #escape(int)} for each of them. If the semantics of your escaper are such that code
       * points in the supplementary range are either all escaped or all unescaped, this method can be
       * implemented more efficiently using {@link CharSequence#charAt(int)}.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        implements Serializable {
      // TODO(lowasser): consider overhauling this back to Map<E, Integer>
      private transient Map<E, Count> backingMap;
    
      /*
       * Cache the size for efficiency. Using a long lets us avoid the need for
       * overflow checking and ensures that size() will function correctly even if
       * the multiset had once been larger than Integer.MAX_VALUE.
       */
      private transient long size;
    
    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)
  3. android/guava/src/com/google/common/primitives/UnsignedLongs.java

     *
     * <p>Users of these utilities must be <i>extremely careful</i> not to mix up signed and unsigned
     * {@code long} values. When possible, it is recommended that the {@link UnsignedLong} wrapper class
     * be used, at a small efficiency penalty, to enforce the distinction in the type system.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained#unsigned-support">unsigned
     * primitive utilities</a>.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

    /**
     * Base class for SMB1 AndX (chained) command messages.
     * This class extends ServerMessageBlock to support SMB1 command chaining, where multiple
     * related commands can be batched together in a single message for improved efficiency.
     */
    public abstract class AndXServerMessageBlock extends ServerMessageBlock {
    
        private static final Logger log = LoggerFactory.getLogger(AndXServerMessageBlock.class);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SIDCacheImpl.java

         * expired because under normal circumstances SID information never changes.
         *
         * @param authorityServerName
         *            The hostname of the server that should be queried. For maximum efficiency this should be the hostname
         *            of a domain controller however a member server will work as well and a domain controller may not
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

                // Optimization: Use larger block sizes for better performance
                final int optimizedBlockSize = Math.min(blockSize * 2, 64 * 1024); // Cap at 64KB for memory efficiency
                final int effectiveBlockSize = Math.max(blockSize, optimizedBlockSize);
    
                SmbComReadAndXResponse response = null;
                if (!th.isSMB2()) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            urlFilter.addInclude(".+"); // Match at least one character
            assertTrue(urlFilter.match("https://example.com/"));
            assertFalse(urlFilter.match(""));
        }
    
        /**
         * Test memory efficiency with large number of patterns
         */
        public void test_largeNumberOfPatterns() {
            String sessionId = "test-session-028";
            urlFilter.init(sessionId);
    
            // Add many patterns
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Wed Sep 03 14:42:53 GMT 2025
    - 19K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

         * field should be used for calculating that. This would likely be zero
         * but an implemantation that encorporates the transport header(for
         * efficiency) might use a different initial bufferIndex. For example,
         * to eliminate copying data when writing NbtSession data one might
         * manage that 4 byte header specifically and therefore the initial
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/primitives/UnsignedInts.java

     *
     * <p>Users of these utilities must be <i>extremely careful</i> not to mix up signed and unsigned
     * {@code int} values. When possible, it is recommended that the {@link UnsignedInteger} wrapper
     * class be used, at a small efficiency penalty, to enforce the distinction in the type system.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained#unsigned-support">unsigned
     * primitive utilities</a>.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Feb 09 16:22:33 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  10. docs/smb3-features/01-smb3-lease-design.md

    - Implement periodic cleanup of expired leases
    
    ### 9.2 Thread Safety
    - Use concurrent data structures for lease storage
    - Minimize lock contention in hot paths
    - Async handling of lease breaks
    
    ### 9.3 Network Efficiency
    - Batch lease requests when possible
    - Implement lease key reuse for related files
    - Optimize lease break acknowledgment timing
    
    ## 10. Error Handling
    
    ### 10.1 Lease Break Timeout
    ```java
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 22K bytes
    - Click Count (0)
Back to Top