Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 81 (0.01 sec)

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

          }
          assertEquals(expectHost, hp2.getHost());
        }
      }
    
      public void testFromParts() {
        HostAndPort hp = HostAndPort.fromParts("gmail.com", 81);
        assertEquals("gmail.com", hp.getHost());
        assertTrue(hp.hasPort());
        assertEquals(81, hp.getPort());
    
        try {
          HostAndPort.fromParts("gmail.com:80", 81);
          fail("Expected IllegalArgumentException");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 11:19:47 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/FarmHashFingerprint64.java

      }
    
      /*
       * Compute an 8-byte hash of a byte array of length greater than 64 bytes.
       */
      private static long hashLength65Plus(byte[] bytes, int offset, int length) {
        int seed = 81;
        // For strings over 64 bytes we loop. Internal state consists of 56 bytes: v, w, x, y, and z.
        long x = seed;
        @SuppressWarnings("ConstantOverflow")
        long y = seed * K1 + 113;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 01 22:39:48 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/FarmHashFingerprint64.java

      }
    
      /*
       * Compute an 8-byte hash of a byte array of length greater than 64 bytes.
       */
      private static long hashLength65Plus(byte[] bytes, int offset, int length) {
        int seed = 81;
        // For strings over 64 bytes we loop. Internal state consists of 56 bytes: v, w, x, y, and z.
        long x = seed;
        @SuppressWarnings("ConstantOverflow")
        long y = seed * K1 + 113;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 01 22:39:48 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            "R0.76", // #4, this is what the throttling would be with the old rate
            "R0.20, R0.10, R0.10, R0.10", // #5
            "U4.10", // #6
            "R0.00, R0.94, R0.81, R0.69, R0.57, R0.44, R0.32", // #7
            "R0.20, R0.10, R0.10, R0.10"); // #7 (cont.), note, this matches #5
      }
    
      public void testBurstyAndUpdate() {
        RateLimiter rateLimiter = RateLimiter.create(1.0, stopwatch);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            "R0.76", // #4, this is what the throttling would be with the old rate
            "R0.20, R0.10, R0.10, R0.10", // #5
            "U4.10", // #6
            "R0.00, R0.94, R0.81, R0.69, R0.57, R0.44, R0.32", // #7
            "R0.20, R0.10, R0.10, R0.10"); // #7 (cont.), note, this matches #5
      }
    
      public void testBurstyAndUpdate() {
        RateLimiter rateLimiter = RateLimiter.create(1.0, stopwatch);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/HashTestUtils.java

       */
      private static void assertHashStringWithSurrogatesEquivalence(
          HashFunction hashFunction, Random random) {
        int size = random.nextInt(8) + 1;
        char[] chars = new char[size];
        for (int i = 0; i < chars.length; i++) {
          chars[i] = random.nextBoolean() ? randomLowSurrogate(random) : randomHighSurrogate(random);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 25.3K bytes
    - Viewed (0)
Back to top