Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 23 for Cleaner (0.06 seconds)

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

            .Builder()
            .serialNumber(1L)
            .build()
        val cleaner = get(root.certificate)
        assertThat(cleaner.clean(list(root), "hostname")).isEqualTo(list(root))
      }
    
      @Test
      fun normalizeUnknownSelfSignedCertificate() {
        val root =
          HeldCertificate
            .Builder()
            .serialNumber(1L)
            .build()
        val cleaner = get()
        assertFailsWith<SSLPeerUnverifiedException> {
    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 is signed by the certificate that follows, and the last certificate is a trusted CA
     * 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 {
    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.Certificate
    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. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CleanArgument.java

                    } else {
                        cleaned.add(arg);
                    }
                }
            }
    
            if (currentArg != null) {
                cleaned.add(currentArg.toString());
            }
    
            int cleanedSz = cleaned.size();
    
            String[] cleanArgs;
    
            if (cleanedSz == 0) {
                cleanArgs = args;
            } else {
                cleanArgs = cleaned.toArray(new String[0]);
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java

                    } else {
                        cleaned.add(arg);
                    }
                }
            }
    
            if (currentArg != null) {
                cleaned.add(currentArg.toString());
            }
    
            int cleanedSz = cleaned.size();
    
            String[] cleanArgs;
    
            if (cleanedSz == 0) {
                cleanArgs = args;
            } else {
                cleanArgs = cleaned.toArray(new String[0]);
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/path-params-numeric-validations.md

    ## Validierung von Zahlen: Größer und kleiner oder gleich { #number-validations-greater-than-and-less-than-or-equal }
    
    Das Gleiche gilt für:
    
    * `gt`: `g`reater `t`han (größer als)
    * `le`: `l`ess than or `e`qual (kleiner oder gleich)
    
    {* ../../docs_src/path_params_numeric_validations/tutorial005_an_py39.py hl[10] *}
    
    ## Validierung von Zahlen: Floats, größer und kleiner { #number-validations-floats-greater-than-and-less-than }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  10. cmd/callhome.go

    	if !globalCallhomeConfig.Enabled() {
    		return
    	}
    
    	go func() {
    		r := rand.New(rand.NewSource(time.Now().UnixNano()))
    		// Leader node (that successfully acquires the lock inside runCallhome)
    		// will keep performing the callhome. If the leader goes down for some reason,
    		// the lock will be released and another node will acquire it and take over
    		// because of this loop.
    		for {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top