Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 345 for Hatter (0.05 sec)

  1. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

            int uniqueBytes = countUniqueBytes(data);
            double entropy = (double) uniqueBytes / 256.0;
    
            // Estimate compression ratio based on entropy
            // Lower entropy = better compression
            return 0.3 + (entropy * 0.6); // Range from 30% to 90%
        }
    
        @Override
        public int getMinCompressionSize() {
            return MIN_COMPRESSION_SIZE;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

            }
        }
    
        @Test
        void testConstructorAndGettersWithValidTicket() throws IOException, GeneralSecurityException, PACDecodingException {
            // Test successful instantiation and getter methods with a valid ticket
            byte[] validToken = createTestTicketBytes(new BigInteger(KerberosConstants.KERBEROS_VERSION), SERVER_REALM, SERVER_PRINCIPAL_NAME,
                    ENCRYPTION_TYPE, ENCRYPTED_DATA, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body.md

    But adding the type annotations will allow your editor to give you better support and detect errors.
    
    ///
    
    ## Without Pydantic { #without-pydantic }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:58:56 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InternetDomainName.java

     * one can get a better result, as only a few registry suffixes are addressable. However, the most
     * useful test to determine if a domain is a plausible web host is {@link #hasPublicSuffix()}. This
     * will return {@code true} for many domains which (currently) are not hosts, such as {@code "com"},
     * but given that any public suffix may become a host without warning, it is better to err on the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          // but work beyond that must take at least one second
          assertTrue(afterBurst >= 1000);
        }
      }
    
      /**
       * This neat test shows that no matter what weights we use in our requests, if we push X amount of
       * permits in a cool state, where X = rate * timeToCoolDown, and we have specified a
       * timeToWarmUp() period, it will cost as the prescribed amount of time. E.g., calling
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          // but work beyond that must take at least one second
          assertTrue(afterBurst >= 1000);
        }
      }
    
      /**
       * This neat test shows that no matter what weights we use in our requests, if we push X amount of
       * permits in a cool state, where X = rate * timeToCoolDown, and we have specified a
       * timeToWarmUp() period, it will cost as the prescribed amount of time. E.g., calling
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          /**
           * For whatever reason our BouncyCastle provider doesn't work with ECDSA keys. Just configure it
           * to use RSA-2048 instead.
           *
           * (We otherwise prefer ECDSA because it's faster.)
           */
          private val localhostHandshakeCertificatesWithRsa2048: HandshakeCertificates by lazy {
            val heldCertificate =
              HeldCertificate
                .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        // Do blocking calls to plan a route for a new connection.
        val connect = planConnect()
    
        // Now that we have a set of IP addresses, make another attempt at getting a connection from
        // the pool. We have a better chance of matching thanks to connection coalescing.
        val pooled2 = planReusePooledConnection(connect, connect.routes)
        if (pooled2 != null) return pooled2
    
        return connect
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. README.md

     [conscrypt]: https://github.com/google/conscrypt/
     [get_example]: https://raw.github.com/square/okhttp/master/samples/guide/src/main/java/okhttp3/guide/GetExample.java
     [kotlin]: https://kotlinlang.org/
     [okhttp3_pro]: https://raw.githubusercontent.com/square/okhttp/master/okhttp/src/main/resources/META-INF/proguard/okhttp3.pro
     [okhttp]: https://square.github.io/okhttp/
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            // Assert
            verify(mockConnection).disconnect();
            // Connection should be closed after disconnect
        }
    
        /**
         * Test simple getter methods that should trigger the handshake.
         * We mock a simple 200 OK response to test the handshake is called.
         * @throws IOException
         */
        @Test
        void testGettersTriggerHandshake() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top