Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 999999999 (0.03 sec)

  1. guava-tests/test/com/google/common/net/HostAndPortTest.java

      }
    
      public void testFromStringBadPort() {
        // Out-of-range ports.
        checkFromStringCase("google.com:65536", 1, null, 99, false);
        checkFromStringCase("google.com:9999999999", 1, null, 99, false);
        // Invalid port parts.
        checkFromStringCase("google.com:port", 1, null, 99, false);
        checkFromStringCase("google.com:-25", 1, null, 99, false);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashCodeTest.java

        assertEquals(0x9999999999999999L, HashCode.fromLong(0x9999999999999999L).padToLong());
        assertEquals(0x0000000011111111L, HashCode.fromInt(0x11111111).padToLong());
        assertEquals(0x0000000099999999L, HashCode.fromInt(0x99999999).padToLong());
      }
    
      public void testPadToLongWith4Bytes() {
        assertEquals(0x0000000099999999L, HashCode.fromBytesNoCopy(byteArrayWith9s(4)).padToLong());
      }
    
      public void testPadToLongWith6Bytes() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        assertEquals(0x9999999999999999L, HashCode.fromLong(0x9999999999999999L).padToLong());
        assertEquals(0x0000000011111111L, HashCode.fromInt(0x11111111).padToLong());
        assertEquals(0x0000000099999999L, HashCode.fromInt(0x99999999).padToLong());
      }
    
      public void testPadToLongWith4Bytes() {
        assertEquals(0x0000000099999999L, HashCode.fromBytesNoCopy(byteArrayWith9s(4)).padToLong());
      }
    
      public void testPadToLongWith6Bytes() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      public void testConsistentHash_ofHashCode() {
        checkSameResult(HashCode.fromLong(1), 1);
        checkSameResult(HashCode.fromLong(0x9999999999999999L), 0x9999999999999999L);
        checkSameResult(HashCode.fromInt(0x99999999), 0x0000000099999999L);
      }
    
      public void checkSameResult(HashCode hashCode, long equivLong) {
        assertEquals(Hashing.consistentHash(equivLong, 5555), Hashing.consistentHash(hashCode, 5555));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  5. android/guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      public void testConsistentHash_ofHashCode() {
        checkSameResult(HashCode.fromLong(1), 1);
        checkSameResult(HashCode.fromLong(0x9999999999999999L), 0x9999999999999999L);
        checkSameResult(HashCode.fromInt(0x99999999), 0x0000000099999999L);
      }
    
      public void checkSameResult(HashCode hashCode, long equivLong) {
        assertEquals(Hashing.consistentHash(equivLong, 5555), Hashing.consistentHash(hashCode, 5555));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SetsTest.java

          new EqualsTester()
              .addEqualityGroup(powerSet1, powerSet2, toHashSets(powerSet1))
              .addEqualityGroup(ImmutableSet.of())
              .addEqualityGroup(ImmutableSet.of(9999999))
              .addEqualityGroup("notASet")
              .testEquals();
          assertEquals(toHashSets(powerSet1).hashCode(), powerSet1.hashCode());
        }
      }
    
      public void testPowerSetEquals_independentOfOrder() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
Back to top