Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 117 for reuse (0.02 sec)

  1. src/main/java/jcifs/smb/SmbFile.java

            if (th != null) {
                this.treeHandle = null;
    
                // Optimization: For non-strict lifecycle, delay tree handle closure
                // to allow connection reuse for subsequent operations
                if (this.transportContext.getConfig().isStrictResourceLifecycle()) {
                    th.close();
                } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  2. docs/smb3-features/04-directory-leasing-design.md

    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    
    public class DirectoryLeaseManager {
        private final CIFSContext context;
        private final LeaseManager baseLeaseManager;  // Reuse existing lease manager
        private final ConcurrentHashMap<String, DirectoryCacheEntry> directoryCache;
        private final ConcurrentHashMap<Smb2LeaseKey, String> leaseToPath;
        private final ScheduledExecutorService scheduler;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  3. docs/smb3-features/05-rdma-smb-direct-design.md

        assertNotNull(region);
        assertTrue(region.getSize() >= 1024);
        
        // Test buffer release
        manager.releaseSendRegion(region);
        
        // Test reuse
        RdmaMemoryRegion region2 = manager.getSendRegion(1024);
        assertNotNull(region2);
        
        manager.cleanup();
    }
    ```
    
    ### 7.2 Integration Tests
    ```java
    @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/MoreObjects.java

         * again and get a more complete representation of the same object; but properties cannot be
         * removed, so this only allows limited reuse of the helper instance. The helper allows
         * duplication of properties (multiple name/value pairs with the same name can be added).
         */
        @Override
        public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          InternetDomainName domain = InternetDomainName.from(inputName);
    
          /*
           * We would ordinarily use constants for the expected results, but
           * doing it by derivation allows us to reuse the test case definitions
           * used in other tests.
           */
    
          String expectedName = Ascii.toLowerCase(inputName);
          expectedName = expectedName.replaceAll("[\u3002\uFF0E\uFF61]", ".");
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          recurse(0);
        } catch (Exception e) { // sneaky checked exception
          throw new RuntimeException(Arrays.toString(stimuli), e);
        }
      }
    
      private void recurse(int level) {
        // We're going to reuse the stimuli array 3^steps times by overwriting it
        // in a recursive loop.  Sneaky.
        if (level == stimuli.length) {
          // We've filled the array.
          compareResultsForThisListOfStimuli();
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. docs/smb3-features/01-smb3-lease-design.md

    - 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
    public void handleLeaseBreakWithTimeout(Smb2LeaseKey key, int newState) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          } else {
            assertEqualIgnoringOrder(expectedElements, targetElements);
          }
        }
      }
    
      private void recurse(int level) {
        // We're going to reuse the stimuli array 3^steps times by overwriting it
        // in a recursive loop.  Sneaky.
        if (level == stimuli.length) {
          // We've filled the array.
          compareResultsForThisListOfStimuli();
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/audit/SecurityAuditLogger.java

                entry.timestamp = Instant.now();
                entry.eventType = type;
                entry.severity = severity;
                entry.message = maskSensitiveData ? maskSensitiveData(message) : message;
    
                // Reuse context map or create new
                entry.context = getContextMap();
                if (context != null) {
                    entry.context.putAll(maskContext(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)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

         *       ThreadConfinedTaskQueue object must be created for each inline execution, because
         *       observing a null thread does not mean the object is safe to reuse.
         *   <li>If this field's value is some other thread object, we know that it's not our thread.
         *   <li>If this field's value == null because it originally belonged to another thread and that
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top