Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 129 for cleaner (0.07 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CertificateChainCleanerTest.kt

            .serialNumber(4L)
            .signedBy(certA)
            .build()
        val cleaner =
          get(
            selfSigned.certificate,
            trusted.certificate,
          )
        assertThat(cleaner.clean(list(certB, certA), "hostname")).isEqualTo(
          list(certB, certA, trusted, selfSigned),
        )
        assertThat(cleaner.clean(list(certB, certA, trusted), "hostname")).isEqualTo(
          list(certB, certA, trusted, selfSigned),
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 9.5K bytes
    - Click Count (1)
  2. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        assertThat(serverSocket.isClosed()).isTrue();
      }
    
      @SuppressWarnings("Java8ApiChecker")
      static class MyServerExampleWithCleaner implements AutoCloseable {
        private static final Cleaner cleaner = Cleaner.create();
    
        private static Runnable closeServerSocketRunnable(
            ServerSocket serverSocket, AtomicBoolean cleanerRan) {
          return () -> {
            try {
              serverSocket.close();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt

     * certificate.
     *
     * Use of the chain cleaner is necessary to omit unexpected certificates that aren't relevant to
     * the TLS handshake and to extract the trusted CA certificate for the benefit of certificate
     * pinning.
     */
    abstract class CertificateChainCleaner {
      @Throws(SSLPeerUnverifiedException::class)
      abstract fun clean(
        chain: List<Certificate>,
        hostname: String,
      ): List<Certificate>
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

    import java.security.cert.X509Certificate
    import java.util.ArrayDeque
    import java.util.Deque
    import javax.net.ssl.SSLPeerUnverifiedException
    
    /**
     * A certificate chain cleaner that uses a set of trusted root certificates to build the trusted
     * chain. This class duplicates the clean chain building performed during the TLS handshake. We
     * prefer other mechanisms where they exist, such as with
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

       * has consumed the entire input and they are ready to output a {@code HashCode}. The order of the
       * hashers are the same order as the functions given to the constructor.
       */
      // this could be cleaner if it passed HashCode[], but that would create yet another array...
      /* protected */ abstract HashCode makeHash(Hasher[] hashers);
    
      @Override
      public Hasher newHasher() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/advanced-dependencies.md

    /// tip
    
    Additionally, a background task is normally an independent set of logic that should be handled separately, with its own resources (e.g. its own database connection).
    
    So, this way you will probably have cleaner code.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Nov 13 07:37:15 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  7. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    // To make it easier to access these functions from Groovy
    @file:JvmName("Cleanup")
    
    package gradlebuild.cleanup
    
    import org.gradle.api.file.Directory
    import org.gradle.api.file.FileSystemOperations
    import org.gradle.api.logging.Logging
    import org.gradle.api.specs.Spec
    import org.gradle.kotlin.dsl.*
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  8. build-logic/cleanup/src/main/kotlin/gradlebuild.cleanup.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import gradlebuild.basics.repoRoot
    import gradlebuild.cleanup.services.DaemonTracker
    
    gradle.sharedServices.registerIfAbsent("daemonTracker", DaemonTracker::class) {
        parameters.rootProjectDir = repoRoot()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jan 20 15:24:40 GMT 2023
    - 828 bytes
    - Click Count (0)
  9. .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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 20 22:15:20 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/util/ResourceManagerTest.java

            resourceManager.registerResource(resource2);
    
            assertFalse(resource1.isClosed());
            assertFalse(resource2.isClosed());
    
            int cleaned = resourceManager.forceCleanup();
            assertTrue(cleaned >= 2);
    
            assertTrue(resource1.isClosed());
            assertTrue(resource2.isClosed());
        }
    
        @Test
        @DisplayName("Test leak detection for unclosed resources")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top