Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for consistentHash (0.42 sec)

  1. guava-tests/test/com/google/common/hash/HashingTest.java

          assertEquals(golden100[i], Hashing.consistentHash(i, 100));
        }
        assertEquals(6, Hashing.consistentHash(10863919174838991L, 11));
        assertEquals(3, Hashing.consistentHash(2016238256797177309L, 11));
        assertEquals(5, Hashing.consistentHash(1673758223894951030L, 11));
        assertEquals(80343, Hashing.consistentHash(2, 100001));
        assertEquals(22152, Hashing.consistentHash(2201, 100001));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashingTest.java

          assertEquals(golden100[i], Hashing.consistentHash(i, 100));
        }
        assertEquals(6, Hashing.consistentHash(10863919174838991L, 11));
        assertEquals(3, Hashing.consistentHash(2016238256797177309L, 11));
        assertEquals(5, Hashing.consistentHash(1673758223894951030L, 11));
        assertEquals(80343, Hashing.consistentHash(2, 100001));
        assertEquals(22152, Hashing.consistentHash(2201, 100001));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

       */
      public static int consistentHash(HashCode hashCode, int buckets) {
        return consistentHash(hashCode.padToLong(), buckets);
      }
    
      /**
       * Assigns to {@code input} a "bucket" in the range {@code [0, buckets)}, in a uniform manner that
       * minimizes the need for remapping as {@code buckets} grows. That is, {@code consistentHash(h,
       * n)} equals:
       *
       * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  4. manifests/charts/base/crds/crd-all.gen.yaml

                                  - required:
                                    - consistentHash
                              - required:
                                - simple
                              - required:
                                - consistentHash
                              properties:
                                consistentHash:
                                  allOf:
                                  - oneOf:
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:47 GMT 2024
    - 606.1K bytes
    - Viewed (0)
  5. manifests/charts/istiod-remote/templates/crd-all.gen.yaml

                                  - required:
                                    - consistentHash
                              - required:
                                - simple
                              - required:
                                - consistentHash
                              properties:
                                consistentHash:
                                  allOf:
                                  - oneOf:
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 18:46:49 GMT 2024
    - 570.3K bytes
    - Viewed (0)
  6. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    start being sent. type: string type: object type: object type: object loadBalancer: description: Settings controlling the load balancer algorithms. oneOf: - not: anyOf: - required: - simple - required: - consistentHash - required: - simple - required: - consistentHash properties: consistentHash: allOf: - oneOf: - not: anyOf: - required: - httpHeaderName - required: - httpCookie - required: - useSourceIp - required: - httpQueryParameterNa - required: - httpHeaderName - required: - httpCookie - required:...
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 198.1K bytes
    - Viewed (1)
Back to top