Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 250 for cleanup2 (0.37 seconds)

  1. src/test/java/jcifs/netbios/LmhostsTest.java

                // Should handle IOException gracefully and return null
                NbtAddress result = lmhosts.getByName("ANYHOST", mockContext);
                assertNull(result);
            }
    
            // Cleanup
            lmhostsFile.setReadable(true);
        }
    
        @Test
        void testPopulateDirectCall() throws Exception {
            // Test direct populate call for code coverage
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  2. cmd/local-locker_test.go

    		t.Fatalf("lockUID len, got %d, want %d + %d", len(l.lockUID), len(rResources), len(wResources))
    	}
    
    	// Expire a minute ago.
    	l.expireOldLocks(-time.Minute)
    	if len(l.lockMap) != 0 {
    		t.Fatalf("after cleanup should be empty, got %d", len(l.lockMap))
    	}
    	if len(l.lockUID) != 0 {
    		t.Fatalf("lockUID len, got %d, want %d", len(l.lockUID), 0)
    	}
    }
    
    func TestLocalLockerUnlock(t *testing.T) {
    	const n = 1000
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  3. CHANGELOG/CHANGELOG-1.23.md

      - [Changelog since v1.23.14](#changelog-since-v12314)
      - [Changes by Kind](#changes-by-kind-2)
        - [Feature](#feature-2)
        - [Bug or Regression](#bug-or-regression-2)
        - [Other (Cleanup or Flake)](#other-cleanup-or-flake)
      - [Dependencies](#dependencies-2)
        - [Added](#added-2)
        - [Changed](#changed-2)
        - [Removed](#removed-2)
    - [v1.23.14](#v12314)
      - [Downloads for v1.23.14](#downloads-for-v12314)
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Feb 28 21:06:52 GMT 2023
    - 424.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

        }
    
        /**
         * SAX event handler called at the end of document parsing.
         * Cleans up internal data structures used during parsing.
         *
         * @throws SAXException if a SAX error occurs during cleanup
         */
        @Override
        public void endDocument() throws SAXException {
            globalParams.clear();
            tagQueue.clear();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  5. docs/smb3-features/01-smb3-lease-design.md

        }
    }
    ```
    
    ## 9. Performance Considerations
    
    ### 9.1 Memory Management
    - Lease entries should be evicted based on LRU when max leases reached
    - Implement periodic cleanup of expired leases
    
    ### 9.2 Thread Safety
    - Use concurrent data structures for lease storage
    - Minimize lock contention in hot paths
    - Async handling of lease breaks
    
    ### 9.3 Network Efficiency
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 22K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          // Note that if all the futures on the list are done prior to completing this loop, the last
          // call to addListener() will callback to setOneValue(), transitively call our cleanup
          // listener, and set this.futures to null.
          // This is not actually a problem, since the foreach only needs this.futures to be non-null
          // at the beginning of the loop.
          int i = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 16K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    # Dependencies with yield { #dependencies-with-yield }
    
    FastAPI supports dependencies that do some <dfn title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>extra steps after finishing</dfn>.
    
    To do this, use `yield` instead of `return`, and write the extra steps (code) after.
    
    /// tip
    
    Make sure to use `yield` one single time per dependency.
    
    ///
    
    /// note | Technical Details
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  8. cmd/batch-handlers.go

    		jobCancelers: make(map[string]context.CancelFunc),
    	}
    	jpool.ResizeWorkers(workers)
    
    	randomWait := func() time.Duration {
    		// randomWait depends on the number of nodes to avoid triggering resume and cleanups at the same time.
    		return time.Duration(rand.Float64() * float64(time.Duration(globalEndpoints.NEndpoints())*time.Hour))
    	}
    
    	go func() {
    		jpool.resume(randomWait)
    		jpool.cleanupReports(randomWait)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  9. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    # Abhängigkeiten mit `yield` { #dependencies-with-yield }
    
    FastAPI unterstützt Abhängigkeiten, die einige <dfn title="manchmal auch genannt: „Exit Code“, „Cleanup Code“, „Teardown Code“, „Closing Code“, „Kontextmanager Exit Code“, usw.">zusätzliche Schritte nach Abschluss</dfn> ausführen.
    
    Verwenden Sie dazu `yield` statt `return` und schreiben Sie die zusätzlichen Schritte / den zusätzlichen Code danach.
    
    /// tip | Tipp
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

     * entries may be counted in {@link Cache#size}, but will never be visible to read or write
     * operations.
     *
     * <p>Certain cache configurations will result in the accrual of periodic maintenance tasks which
     * will be performed during write operations, or during occasional read operations in the absence of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 51.7K bytes
    - Click Count (0)
Back to Top