Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 70 for cleanup2 (0.26 seconds)

  1. .github/workflows/cleanup-stale-performance-data.yml

    name: Cleanup stale performance test data
    
    on:
      schedule:
        - cron: '0 4 * * 1'  # Run every Monday at 4:00 AM UTC
      workflow_dispatch:
    
    permissions:
      contents: read
      id-token: write
    
    jobs:
      cleanup-stale-performance-data:
        runs-on: ubuntu-latest
    
        if: github.repository == 'gradle/gradle'
    
        steps:
          - name: Checkout repository
            uses: actions/checkout@v6
          
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Mar 24 22:05:21 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       * either it has exceeded the keep alive limit or the idle connections limit.
       *
       * Returns the duration in nanoseconds to sleep until the next scheduled call to this method.
       * Returns -1 if no further cleanups are required.
       */
      fun closeConnections(now: Long): Long {
        // Find the longest-idle connections in 2 categories:
        //
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

            assertTrue(true);
        }
    
        @Test
        public void test_process_cleanupMode() throws Exception {
            // Test process method in cleanup mode
            ThumbnailGenerator.Options options = new ThumbnailGenerator.Options();
            options.numOfThreads = 1;
            options.cleanup = true;
    
            setupMockComponents();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java

            // Guava Cache handles expiration automatically
            // Wait for cache to expire and call cleanup
            try {
                Thread.sleep(100L);
            } catch (final InterruptedException e) {
                // ignore
            }
    
            rateLimitHelper.cleanup();
            // After cleanup, the expired entry should be removed
            // Note: The actual expiration depends on the configured block duration
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

            protected int numOfThreads = 1;
    
            /**
             * Whether to run in cleanup mode to remove old thumbnails.
             */
            @Option(name = "-c", aliases = "--cleanup", usage = "Clean-Up mode")
            protected boolean cleanup;
    
            /**
             * Default constructor for command-line options.
             */
            protected Options() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                    }
                }
            }
            return containingFailures
        }
    
        /**
         * After archiving the test files, do a cleanup to get rid of TeamCity "XX published a lot of small artifacts" warning.
         */
        private
        fun cleanUp(filesToCleanUp: Collection<File>) {
            try {
                fileSystemOperations.delete {
                    delete(*filesToCleanUp.toTypedArray())
                }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 11 11:05:07 GMT 2026
    - 14.3K bytes
    - Click Count (1)
  7. .teamcity/src/main/kotlin/common/CommonExtensions.kt

            PLUGINS_PORTAL_URL_OVERRIDE,
            "-DenablePredictiveTestSelection=false",
            "%additional.gradle.parameters%",
        ).joinToString(" ")
    
    /**
     * Align with build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
     */
    enum class KillProcessMode {
        KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS,
        KILL_PROCESSES_STARTED_BY_GRADLE,
        KILL_ALL_GRADLE_PROCESSES,
    }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            assertEquals(4, thumbnailJob.numOfThreads);
        }
    
        // Test cleanup setter
        @Test
        public void test_cleanup() {
            assertFalse(thumbnailJob.cleanup);
    
            GenerateThumbnailJob result = thumbnailJob.cleanup();
    
            assertSame(thumbnailJob, result);
            assertTrue(thumbnailJob.cleanup);
        }
    
        // Test execute method with successful execution
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  9. guava/src/com/google/common/cache/ForwardingCache.java

        return delegate().stats();
      }
    
      @Override
      @J2ktIncompatible
      public ConcurrentMap<K, V> asMap() {
        return delegate().asMap();
      }
    
      @Override
      public void cleanUp() {
        delegate().cleanUp();
      }
    
      /**
       * A simplified version of {@link ForwardingCache} where subclasses can pass in an already
       * constructed {@link Cache} as the delegate.
       *
       * @since 10.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  10. docs_src/dependencies/tutorial008e_py310.py

    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    def get_username():
        try:
            yield "Rick"
        finally:
            print("Cleanup up before response is sent")
    
    
    @app.get("/users/me")
    def get_user_me(username: str = Depends(get_username, scope="function")):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 289 bytes
    - Click Count (0)
Back to Top