Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 189 for cleaners (0.09 seconds)

  1. 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);
            }
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  2. cmd/prepare-storage.go

    	files, _ := filepath.Glob(filepath.Join(diskPath, ".writable-check-*.tmp"))
    	for _, file := range files {
    		go removeAll(file)
    	}
    
    	// Remove the entire folder in case there are leftovers that didn't get cleaned up before restart.
    	go removeAll(pathJoin(diskPath, minioMetaTmpBucket+"-old"))
    
    	// Renames and schedules for purging all bucket metacache.
    	go renameAllBucketMetacache(diskPath)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 11.1K bytes
    - Click Count (1)
  3. internal/lru/lru.go

    		c.removeElement(ent)
    	}
    	c.nextCleanupBucket = (c.nextCleanupBucket + 1) % numBuckets
    	c.mu.Unlock()
    }
    
    // addToBucket adds entry to expire bucket so that it will be cleaned up when the time comes. Has to be called with lock!
    func (c *LRU[K, V]) addToBucket(e *Entry[K, V]) {
    	bucketID := (numBuckets + c.nextCleanupBucket - 1) % numBuckets
    	e.ExpireBucket = bucketID
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  4. 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);
                assertNull(leaseManager.getLease(key2));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  5. internal/grid/connection_test.go

    		localServer.Close()
    		remote.debugMsg(debugWaitForExit)
    		local.debugMsg(debugWaitForExit)
    	}()
    
    	cleanReqs := make(chan struct{})
    	gotCall := make(chan struct{})
    	defer close(cleanReqs)
    	// 1: Block forever
    	h1 := func(payload []byte) ([]byte, *RemoteErr) {
    		gotCall <- struct{}{}
    		<-cleanReqs
    		return nil, nil
    	}
    	// 2: Also block, but with streaming.
    	h2 := StreamHandler{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  6. CODE_OF_CONDUCT.md

    Instances of abusive, harassing, or otherwise unacceptable behavior may be
    reported to the community leaders responsible for enforcement at
    .
    All complaints will be reviewed and investigated promptly and fairly.
    
    All community leaders are obligated to respect the privacy and security of the
    reporter of any incident.
    
    ## Enforcement Guidelines
    
    Community leaders will follow these Community Impact Guidelines in determining
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 17 06:18:13 GMT 2024
    - 5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/PreauthIntegrityService.java

            }
        }
    
        /**
         * Clears all session contexts (for cleanup).
         */
        public void cleanup() {
            for (PreauthIntegrityContext context : sessionContexts.values()) {
                context.invalidate();
            }
            sessionContexts.clear();
            log.debug("Cleaned up all preauth integrity contexts");
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 12.1K bytes
    - Click Count (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();
            }
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt

     * certificate is signed by the certificate that follows, and the last certificate is a trusted CA
     * certificate.
     *
     * Use of the chain cleaner is necessary to omit unexpected certificates that aren't relevant to
     * the TLS handshake and to extract the trusted CA certificate for the benefit of certificate
     * pinning.
     */
    abstract class CertificateChainCleaner {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

            assertEquals(TaskOutcome.FAILED, result.task(":failed-test-with-leftover:test")!!.outcome)
    
            // leftover files failed tests are reported but not counted as an exception, but cleaned up eventually
            assertEquals(1, StringUtils.countMatches(result.output, "Found non-empty test files dir"))
            assertEquals(1, StringUtils.countMatches(result.output, "Failed to stop service 'testFilesCleanupBuildService'"))
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 18 10:36:40 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top