Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 661 for cleanly (0.04 seconds)

  1. android-test/src/androidDeviceTest/java/okhttp/android/test/StrictModeTest.kt

    import org.junit.jupiter.api.parallel.Isolated
    
    @Isolated
    @SdkSuppress(minSdkVersion = 28)
    class StrictModeTest {
      private val violations = mutableListOf<Violation>()
    
      @AfterEach
      fun cleanup() {
        StrictMode.setThreadPolicy(
          ThreadPolicy
            .Builder()
            .permitAll()
            .build(),
        )
      }
    
      @Test
      fun testInit() {
        Platform.resetForTests()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 26 07:38:51 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

        private Map<String, String> createPhaseUpgradeMap() {
            Map<String, String> phaseUpgrades = new HashMap<>();
    
            // Clean lifecycle aliases
            phaseUpgrades.put("pre-clean", Lifecycle.BEFORE + Lifecycle.Phase.CLEAN);
            phaseUpgrades.put("post-clean", Lifecycle.AFTER + Lifecycle.Phase.CLEAN);
    
            // Default lifecycle aliases
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/index/contents/document/DocumentReader.java

     * documents and converting them into a key-value structure.
     *
     * <p>This interface extends {@link java.io.Closeable}, so implementations
     * should also handle resource cleanup when the {@link #close()} method is called.</p>
     */
    public interface DocumentReader extends Closeable {
        /**
         * Reads a document and returns its contents as a map.
         *
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy

        }
    
        def "can clean existing API changes"() {
            given:
            jsonFile << existingAcceptedApiChanges()
    
            when:
            jsonFileManager.emptyAcceptedApiChanges(jsonFile)
    
            then:
            jsonFile.text == nonExistentAcceptedApiChanges()
        }
    
        def "can clean non-existing API changes"() {
            given:
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        // Let the rebuild complete successfully.
        filesystem.setFaultyRename(cacheDir / DiskLruCache.JOURNAL_FILE_BACKUP, false)
        taskFaker.runNextTask()
        assertJournalEquals("CLEAN a 1 1", "CLEAN b 1 1", "DIRTY e", "CLEAN c 1 1")
      }
    
      @Test
      fun rebuildJournalFailureWithEditorsInFlightThenClose() {
        while (taskFaker.isIdle()) {
          set("a", "a", "a")
          set("b", "b", "b")
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

                assertEquals("Braces should be balanced", openBraces, closeBraces);
            }
        }
    
        /**
         * Test that InputStream is properly closed even when exception occurs.
         * Verifies try-with-resources cleanup behavior.
         */
        @Test
        public void testResourceLoading_exceptionHandling() {
            try {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  7. 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(2, StringUtils.countMatches(result.output, "Found non-empty test files dir"))
            assertEquals(2, StringUtils.countMatches(result.output, "Failed to stop service 'testFilesCleanupBuildService'"))
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 10 00:16:44 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/job/JobExecutor.java

         */
        public abstract Object execute(String scriptType, String script);
    
        /**
         * Initiates shutdown of the job executor.
         * This method notifies the shutdown listener to perform cleanup operations.
         */
        public void shutdown() {
            shutdownListener.onShutdown();
        }
    
        /**
         * Adds a shutdown listener to be notified when the executor is shutting down.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. docs/smb3-features/04-directory-leasing-design.md

            this.leaseToPath = new ConcurrentHashMap<>();
            this.scheduler = Executors.newScheduledThreadPool(1);
            this.changeNotifier = new DirectoryChangeNotifier(this);
            
            // Schedule periodic cache cleanup
            scheduler.scheduleAtFixedRate(this::cleanupExpiredEntries, 60, 60, TimeUnit.SECONDS);
        }
        
        public Smb2LeaseKey requestDirectoryLease(String directoryPath, 
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  10. src/bootstrap.bash

    fi
    
    unset GOROOT
    src=$(cd .. && pwd)
    echo "#### Copying to $targ"
    cp -Rp "$src" "$targ"
    cd "$targ"
    echo
    echo "#### Cleaning $targ"
    chmod -R +w .
    rm -f .gitignore
    if [ -e .git ]; then
    	git clean -f -d
    fi
    echo
    echo "#### Building $targ"
    echo
    cd src
    ./make.bash --no-banner $forceflag
    gohostos="$(../bin/go env GOHOSTOS)"
    gohostarch="$(../bin/go env GOHOSTARCH)"
    goos="$(../bin/go env GOOS)"
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Jan 20 17:52:26 GMT 2023
    - 2.3K bytes
    - Click Count (0)
Back to Top