Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Magic (0.36 sec)

  1. android/guava/src/com/google/common/net/HostAndPort.java

     * caller's responsibility.
     *
     * @author Paul Marks
     * @since 10.0
     */
    @Immutable
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class HostAndPort implements Serializable {
      /** Magic value indicating the absence of a port number. */
      private static final int NO_PORT = -1;
    
      /** Hostname, IPv4/IPv6 literal, or unvalidated nonsense. */
      private final String host;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            };
        assertEquals("foo", future.get(0, TimeUnit.SECONDS));
      }
    
      public void testEvilFuture_setFuture() throws Exception {
        final RuntimeException exception = new RuntimeException("you didn't say the magic word!");
        AbstractFuture<String> evilFuture =
            new AbstractFuture<String>() {
              @Override
              public void addListener(Runnable r, Executor e) {
                throw exception;
              }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            };
        assertEquals("foo", future.get(0, TimeUnit.SECONDS));
      }
    
      public void testEvilFuture_setFuture() throws Exception {
        final RuntimeException exception = new RuntimeException("you didn't say the magic word!");
        AbstractFuture<String> evilFuture =
            new AbstractFuture<String>() {
              @Override
              public void addListener(Runnable r, Executor e) {
                throw exception;
              }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

       * 1-bit characteristics.
       *
       * <p>There is more general code provided by Bob Jenkins to test arbitrarily sized characteristics
       * using the magic of gaussian elimination: http://burtleburtle.net/bob/crypto/findingc.html.
       */
      static void checkNo2BitCharacteristics(HashFunction function) {
        Random rand = new Random(0);
        int keyBits = 32;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Ordering.java

        }
    
        /*
         * We need to be able to mock identityHashCode() calls for tests, because it
         * can take 1-10 seconds to find colliding objects. Mocking frameworks that
         * can do magic to mock static method calls still can't do so for a system
         * class, so we need the indirection. In production, Hotspot should still
         * recognize that the call is 1-morphic and should still be willing to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/HashTestUtils.java

       * 1-bit characteristics.
       *
       * <p>There is more general code provided by Bob Jenkins to test arbitrarily sized characteristics
       * using the magic of gaussian elimination: http://burtleburtle.net/bob/crypto/findingc.html.
       */
      static void checkNo2BitCharacteristics(HashFunction function) {
        Random rand = new Random(0);
        int keyBits = 32;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
Back to top