Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 338 for cleanly (0.3 sec)

  1. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

                assertTrue(e.getCause().getMessage().contains("Failed to create multi-channel transport"));
            }
        }
    
        @Test
        @DisplayName("MultiChannelManager should shutdown cleanly")
        void testShutdown() {
            assertDoesNotThrow(() -> {
                multiChannelManager.shutdown();
            });
        }
    
        @Test
        @DisplayName("createDefaultContext should work")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbTree.java

                        /* Someone removed the share while we were
                         * connected. Bastards! Disconnect this tree
                         * so that it reconnects cleanly should the share
                         * reappear in this client's lifetime.
                         */
                        treeDisconnect(true);
                    }
                    throw se;
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. docs/hotfixes.md

    ```
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 14 21:36:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

       */
      inner class FramingSource internal constructor(
        /** Maximum number of bytes to buffer before reporting a flow control error. */
        private val maxByteCount: Long,
        /**
         * True if either side has cleanly shut down this stream. We will receive no more bytes beyond
         * those already in the buffer.
         */
        internal var finished: Boolean,
      ) : Source {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

                    log.warn("Tree was not properly released, performing emergency cleanup: " + this);
                    emergencyCleanup();
                }
            } catch (Exception e) {
                log.error("Error during tree finalization", e);
            } finally {
                super.finalize();
            }
        }
    
        /**
         * Emergency cleanup method to prevent memory leaks during finalization
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/Monitor.java

     *
     * <p>A call to any of the <i>enter</i> methods with <b>void</b> return type should always be
     * followed immediately by a <i>try/finally</i> block to ensure that the current thread leaves the
     * monitor cleanly:
     *
     * {@snippet :
     * monitor.enter();
     * try {
     *   // do things while occupying the monitor
     * } finally {
     *   monitor.leave();
     * }
     * }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  7. cmd/iam.go

    				groupSet := set.CreateStringSet(actualGroups...)
    
    				// duplicates can be overwritten, fetched groups should be identical.
    				cleanQ.Users[lookupRes.NormDN] = groupSet
    			}
    			// Search for non-normalized DN as well for backward compatibility.
    			if _, ok := cleanQ.Users[user]; !ok {
    				cleanQ.Users[user] = nil
    			}
    		}
    
    		// Validate and normalize groups.
    		for _, group := range q.Groups {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                        pathToLease.remove(entry.getValue().getPath());
                        cleaned++;
                        log.debug("Cleaned up expired lease: {}", entry.getKey());
                    }
                }
    
                if (cleaned > 0) {
                    log.info("Cleaned up {} expired leases", cleaned);
                }
    
                return cleaned;
            } finally {
                lock.writeLock().unlock();
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            // Clean up leases older than 5ms
            int cleaned = leaseManager.cleanupExpiredLeases(5);
    
            // At least the first lease should be cleaned
            assertTrue(cleaned >= 1);
    
            // Check if old lease was removed
            LeaseEntry entry1 = leaseManager.getLease(key1);
            if (cleaned == 2) {
                assertNull(entry1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/AuthenticationRateLimiter.java

            this.cleanupInterval = cleanupInterval;
    
            // Start cleanup scheduler
            this.cleanupScheduler = Executors.newSingleThreadScheduledExecutor(r -> {
                Thread t = new Thread(r, "AuthRateLimiter-Cleanup");
                t.setDaemon(true);
                return t;
            });
    
            cleanupScheduler.scheduleWithFixedDelay(this::cleanup, cleanupInterval.toMillis(), cleanupInterval.toMillis(),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top