- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 179 for leas (0.02 sec)
-
docs/es/docs/help-fastapi.md
preguntar. Y en GitHub puedo asegurarme de responder siempre todo, incluso si lleva tiempo. No puedo hacer eso personalmente con los sistemas de chat. 😅 Las conversaciones en los sistemas de chat tampoco son tan fácilmente buscables como en GitHub, por lo que las preguntas y respuestas podrÃan perderse en la conversación. Y solo las que están en GitHub cuentan para convertirse en un [FastAPI Expert](fastapi-people.md#fastapi-experts){.internal-link target=_blank}, por lo que probablemente recibirás...
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 14.5K bytes - Viewed (0) -
cmd/leak-detect_test.go
"sort" "strings" "time" ) const ( // deadline (in seconds) up to which the go routine leak detection has to be retried. leakDetectDeadline = 5 // pause time (in milliseconds) between each snapshot at the end of the go routine leak detection. leakDetectPauseTimeMs = 50 ) // LeakDetect - type with methods for go routine leak detection. type LeakDetect struct { relevantRoutines map[string]bool }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.2K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
public static final int SMB2_LEASE_FULL = 0x07; // RWH } ``` ### 3.2 Lease Versions - **Lease V1**: Basic lease support (SMB 3.0) - **Lease V2**: Adds epoch support for better consistency (SMB 3.0.2+) ## 4. Data Structures ### 4.1 Lease Key Structure ```java package jcifs.internal.smb2.lease; import java.security.SecureRandom; import java.util.Arrays; public class Smb2LeaseKey {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Centralized resource management for preventing resource leaks. * Tracks all AutoCloseable resources and ensures proper cleanup. * * Features: * - Automatic resource cleanup with weak references * - Resource leak detection * - Resource usage monitoring * - Periodic cleanup of abandoned resources * - Detailed resource tracking and reporting */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
// Force garbage collection System.gc(); Thread.sleep(200); // Check for leaks resourceManager.checkForLeaks(); Map<String, Object> stats = resourceManager.getStatistics(); // The leak counter may or may not increment depending on GC timing assertNotNull(stats.get("totalLeaks")); } private void createLeakyResource() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
* @return the directory path */ public String getDirectoryPath() { return directoryPath; } /** * Gets the lease key associated with this notification handle * @return the lease key */ public Smb2LeaseKey getLeaseKey() { return leaseKey; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
return CONTEXT_NAME_BYTES; } /** * Gets the lease key for this directory lease context * @return the lease key */ public Smb2LeaseKey getLeaseKey() { return leaseKey; } /** * Sets the lease key for this directory lease context * @param leaseKey the lease key to set */ public void setLeaseKey(Smb2LeaseKey leaseKey) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
scheduler.scheduleAtFixedRate(this::cleanupExpiredEntries, 60, 60, TimeUnit.SECONDS); } /** * Request a directory lease * * @param directoryPath directory path * @param requestedState requested lease state * @param scope cache scope * @return lease key */ public Smb2LeaseKey requestDirectoryLease(String directoryPath, int requestedState, DirectoryCacheScope scope) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
SMBUtil.writeInt4(32, buffer, 12); // DataLength (standard lease only) // Write name System.arraycopy("DLse".getBytes(), 0, buffer, 16, 4); // Write lease key Smb2LeaseKey key = new Smb2LeaseKey(); key.encode(buffer, 24); // Write lease state SMBUtil.writeInt4(DirectoryLeaseState.DIRECTORY_READ_HANDLE, buffer, 40);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
LeaseEntry lease = entry.getValue(); log.info("Evicting lease for path: {} due to max lease limit", lease.getPath()); // Flush any cached data before eviction if (lease.hasWriteCache()) { flushCachedWrites(lease.getPath()); } if (lease.hasReadCache()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0)