Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 181 for cleanly (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/jcifs/util/ResourceManager.java

                            cleaned++;
                        } catch (Exception e) {
                            log.error("Failed to auto-close resource: {}", holder.resourceId, e);
                        }
                    }
                }
            }
    
            if (cleaned > 0) {
                log.info("Cleaned up {} abandoned resources", cleaned);
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  8. cmd/prepare-storage.go

    			m[err.Error()]--
    			m[err.Error()]--
    		}
    		m[err.Error()]++
    	}
    }()
    
    // Cleans up tmp directory of the local disk.
    func bgFormatErasureCleanupTmp(diskPath string) {
    	// Need to move temporary objects left behind from previous run of minio
    	// server to a unique directory under `minioMetaTmpBucket-old` to clean
    	// up `minioMetaTmpBucket` for the current run.
    	//
    	// /disk1/.minio.sys/tmp-old/
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  9. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                }
            }
        }
    
        /**
         * Cleans up processed access results by updating their status in the data service.
         * This marks the access results as processed and clears the list.
         *
         * @param accessResultList the list of access results to clean up
         * @return the time taken for the cleanup operation in milliseconds, or -1 if no cleanup was needed
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  10. cmd/object-api-utils.go

    			// multiple / elements
    			return true
    		case path[r] == '.' && (r+1 == n || path[r+1] == '/'):
    			// . element - assume it has to be cleaned.
    			return true
    		case path[r] == '.' && path[r+1] == '.' && (r+2 == n || path[r+2] == '/'):
    			// .. element: remove to last / - assume it has to be cleaned.
    			return true
    		default:
    			// real path element.
    			// add slash if needed
    			if rooted && w != 1 || !rooted && w != 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
Back to top