Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 250 for cleanup2 (0.06 seconds)

  1. src/test/java/jcifs/SmbTreeTest.java

        }
    
        /**
         * Test for close() with resource cleanup.
         * Verifies that close properly cleans up resources.
         */
        @Test
        void testClose_withResourceCleanup() {
            // Create a mock that simulates resource cleanup
            doAnswer(invocation -> {
                // Simulate cleanup actions
                return null;
            }).when(smbTree).close();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  2. android/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)
  3. src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingConfig.java

            public static class Config {
                public static final String KEEP_ORIGINAL_BODY = "keep.original.body";
                public static final String CLEANUP_ALL = "cleanup.all";
                public static final String CLEANUP_URL_FILTERS = "cleanup.urlFilters";
                public static final String JCIFS_PREFIX = "jcifs.";
                public static final String HTML_CANONICAL_XPATH = "html.canonical.xpath";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. docs_src/dependencies/tutorial008e_an_py310.py

    from typing import Annotated
    
    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: Annotated[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
    - 329 bytes
    - Click Count (0)
  5. cmd/os-readdir_test.go

    	dir := t.TempDir()
    	entries := []string{}
    	for i := range 10 {
    		name := fmt.Sprintf("file-%d", i)
    		if err := os.WriteFile(filepath.Join(dir, name), []byte{}, os.ModePerm); err != nil {
    			// For cleanup, its required to add these entries into test results.
    			testResults = append(testResults, result{dir, entries})
    			t.Fatalf("Unable to create file, %s", err)
    		}
    		entries = append(entries, name)
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  6. docs/site-replication/run-multi-site-ldap.sh

    #!/usr/bin/env bash
    
    # shellcheck disable=SC2120
    exit_1() {
    	cleanup
    
    	echo "minio1 ============"
    	cat /tmp/minio1_1.log
    	cat /tmp/minio1_2.log
    	echo "minio2 ============"
    	cat /tmp/minio2_1.log
    	cat /tmp/minio2_2.log
    	echo "minio3 ============"
    	cat /tmp/minio3_1.log
    	cat /tmp/minio3_2.log
    
    	exit 1
    }
    
    cleanup() {
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 10.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/SmbSessionTest.java

            }
    
            @Test
            @DisplayName("Should handle exceptions during resource cleanup")
            void shouldHandleExceptionsDuringResourceCleanup() throws Exception {
                SmbSession mockSession = mock(SmbSession.class);
                doThrow(new RuntimeException("Cleanup failed")).when(mockSession).close();
    
                assertThrows(RuntimeException.class, () -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  8. docs/site-replication/run-replication-with-checksum-header.sh

    #!/usr/bin/env bash
    
    # shellcheck disable=SC2120
    exit_1() {
    	cleanup
    
    	echo "minio1 ============"
    	cat /tmp/minio1_1.log
    	echo "minio2 ============"
    	cat /tmp/minio2_1.log
    
    	exit 1
    }
    
    cleanup() {
    	echo -n "Cleaning up instances of MinIO ..."
    	pkill -9 minio || sudo pkill -9 minio
    	rm -rf /tmp/minio{1,2}
    	echo "done"
    }
    
    # Function to convert number to corresponding alphabet
    num_to_alpha() {
    	local num=$1
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  9. docs/site-replication/run-sse-kms-object-replication.sh

    #!/usr/bin/env bash
    
    # shellcheck disable=SC2120
    exit_1() {
    	cleanup
    
    	echo "minio1 ============"
    	cat /tmp/minio1_1.log
    	echo "minio2 ============"
    	cat /tmp/minio2_1.log
    	echo "minio3 ============"
    	cat /tmp/minio3_1.log
    	echo "minio4 ============"
    	cat /tmp/minio4_1.log
    	exit 1
    }
    
    cleanup() {
    	echo -n "Cleaning up instances of MinIO ..."
    	pkill -9 minio || sudo pkill -9 minio
    	pkill -9 kes || sudo pkill -9 kes
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Oct 10 06:49:55 GMT 2024
    - 11.5K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java

                                    } catch (Exception e) {
                                        // Ignore cleanup errors
                                    }
                                });
                    } catch (Exception e) {
                        // Ignore cleanup errors
                    }
                }
            }
        }
    
        @Nested
        @DisplayName("Integration with AbstractUpgradeGoal")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 10:39:17 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top