Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for candidates (1.86 sec)

  1. android/guava/src/com/google/common/collect/TopKSelector.java

      }
    
      private final int k;
      private final Comparator<? super T> comparator;
    
      /*
       * We are currently considering the elements in buffer in the range [0, bufferSize) as candidates
       * for the top k elements. Whenever the buffer is filled, we quickselect the top k elements to the
       * range [0, k) and ignore the remaining elements.
       */
      private final @Nullable T[] buffer;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

                        byAscendingSize, startIndex, inputIsSet),
                    e);
              }
              /*
               * TODO(cpovirk): Check that the values match one of candidates that
               * MutatedOnQuery*.delegate() actually returned during this test?
               */
              assertWithMessage(
                      "byAscendingSize %s, startIndex %s, inputIsSet %s",
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

                        byAscendingSize, startIndex, inputIsSet),
                    e);
              }
              /*
               * TODO(cpovirk): Check that the values match one of candidates that
               * MutatedOnQuery*.delegate() actually returned during this test?
               */
              assertWithMessage(
                      "byAscendingSize %s, startIndex %s, inputIsSet %s",
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Hashing.java

        int candidate = 0;
        int next;
    
        // Jump from bucket to bucket until we go out of range
        while (true) {
          next = (int) ((candidate + 1) / generator.nextDouble());
          if (next >= 0 && next < buckets) {
            candidate = next;
          } else {
            return candidate;
          }
        }
      }
    
      /**
    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)
Back to top