Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 154 for Cleanup (0.04 seconds)

  1. ci/official/utilities/setup.sh

      tfrun bazel --version
    done
    set -e
    
    # Single handler for all cleanup actions, triggered on an EXIT trap.
    # TODO(angerson) Making this use different scripts may be overkill.
    cleanup() {
      if [[ "$TFCI_DOCKER_ENABLE" == 1 ]]; then
        ./ci/official/utilities/cleanup_docker.sh
      fi
      ./ci/official/utilities/cleanup_summary.sh
    }
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Jan 09 18:37:25 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/cache/ForwardingCache.java

      public CacheStats stats() {
        return delegate().stats();
      }
    
      @Override
      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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  3. docs_src/dependencies/tutorial008e_py39.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 Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 289 bytes
    - Click Count (0)
  4. .github/workflows/codeql-analysis.yml

          if: ${{ matrix.language == 'java' && github.repository_owner != 'gradle' }}
          run: ./gradlew --init-script .github/workflows/codeql-analysis.init.gradle -S testClasses
    
        - name: Cleanup Gradle Daemons
          run: ./gradlew --stop
          if: ${{ matrix.language == 'java' }}
    
        # â„šī¸ Command-line programs to run using the OS shell.
        # 📚 https://git.io/JvXDl
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 22:12:03 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 10:39:17 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. 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 Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. 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 Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 10 06:49:55 GMT 2024
    - 11.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

                                    } catch (Exception e) {
                                        // Ignore cleanup errors
                                    }
                                });
                    } catch (Exception e) {
                        // Ignore cleanup errors
                    }
                }
            }
        }
    
        @Nested
        @DisplayName("Integration with AbstractUpgradeGoal")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. 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 Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  10. build-logic/integration-testing/build.gradle.kts

            }
        }
    }
    
    dependencies {
        implementation("gradlebuild:basics")
        implementation("gradlebuild:module-identity")
    
        implementation(projects.cleanup)
        implementation(projects.dependencyModules)
        implementation(projects.jvm)
    
        testImplementation("junit:junit")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 27 06:24:17 GMT 2025
    - 930 bytes
    - Click Count (0)
Back to Top