Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 1,420 for clean (0.02 seconds)

  1. README.md

    - Java 17+
    - Maven 3.9.0 or later
    - Run Maven, specifying a location into which the completed Maven distro should be installed:
        ```
        mvn -DdistributionTargetDir="$HOME/app/maven/apache-maven-4.1.x-SNAPSHOT" clean package
        ```
    
    
    [home]: https://maven.apache.org/
    [license]: https://www.apache.org/licenses/LICENSE-2.0
    [build]: https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven/job/master/
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 25 08:06:02 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

        socketFactory[proxyServer2] = server2.socketAddress
    
        println("\n\nRequest to ${server2.socketAddress}")
        executeSynchronously(request)
          .apply {
            // We may have a single failed request if not clean shutdown
            if (cleanClose) {
              assertSuccessful()
              assertCode(200)
    
              assertThat(server2.requestCount).isEqualTo(1)
            } else {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 10 15:25:06 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/events.md

    This can be very useful for setting up **resources** that you need to use for the whole app, and that are **shared** among requests, and/or that you need to **clean up** afterwards. For example, a database connection pool, or loading a shared machine learning model.
    
    ## Use Case { #use-case }
    
    Let's start with an example **use case** and then see how to solve it with this.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionBwcSetupPlugin.java

            gitExtension.setBwcBranch(versionInfoProvider.map(info -> info.branch));
            gitExtension.getCheckoutDir().set(checkoutDir);
    
            // we want basic lifecycle tasks like `clean` here.
            project.getPlugins().apply(LifecycleBasePlugin.class);
    
            TaskProvider<Task> buildBwcTaskProvider = project.getTasks().register("buildBwc");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 18 09:11:28 GMT 2021
    - 14.5K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

        client =
          client
            .newBuilder()
            // Since this test knowingly leaks a connection, avoid using the default shared connection
            // pool, which should remain clean for subsequent tests.
            .connectionPool(ConnectionPool())
            .addNetworkInterceptor(
              Interceptor { chain: Interceptor.Chain? ->
                val response =
                  chain!!.proceed(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.3K bytes
    - Click Count (1)
  6. callbacks/preload.go

    		}
    
    		if err := tx.Find(reflectResults.Addr().Interface()).Error; err != nil {
    			return err
    		}
    	}
    
    	fieldValues := make([]interface{}, len(relForeignFields))
    
    	// clean up old values before preloading
    	switch reflectValue.Kind() {
    	case reflect.Struct:
    		switch rel.Type {
    		case schema.HasMany, schema.Many2Many:
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

            return handles.size();
        }
    
        private void periodicMaintenance() {
            if (shutdown) {
                return;
            }
    
            lock.writeLock().lock();
            try {
                // Clean up expired handles
                handles.entrySet().removeIf(entry -> {
                    HandleInfo info = entry.getValue();
                    if (info.isExpired() && !info.isReconnecting()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

            if (handle != null) {
                handle.setActive(false);
                // Cancel any pending notifications
                cancelNotification(handle);
                // Clean up failure count to prevent memory leak
                failureCounts.remove(directoryPath);
            }
        }
    
        /**
         * Start asynchronous notification monitoring
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  9. README.md

    mvn test
    
    # Run specific test class
    mvn test -Dtest=SuggesterTest
    
    # Run with verbose output
    mvn surefire:test -Dmaven.surefire.debug=true
    ```
    
    ### Running Tests with Coverage
    
    ```bash
    mvn clean jacoco:prepare-agent test jacoco:report
    ```
    
    Coverage reports are generated in `target/site/jacoco/`.
    
    ## Common Use Cases
    
    ### E-commerce Search
    
    ```java
    // Product search suggestions
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Aug 31 03:31:14 GMT 2025
    - 12.1K bytes
    - Click Count (1)
  10. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                assertTrue("Content should contain 'Thread:'", content.contains("Thread:"));
                assertTrue("Content should contain stack trace elements", content.contains("\tat "));
    
            } finally {
                // Clean up
                Files.deleteIfExists(tempFile);
            }
        }
    
        @Test
        public void test_writeThreadDump_withInvalidPath() {
            // Test with invalid file path (directory that doesn't exist)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
Back to Top