Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for conker (0.2 sec)

  1. android/guava/src/com/google/common/math/Quantiles.java

       * value returned by this method is the {@code i} in that range such that {@code allRequired[i]}
       * is as close as possible to the center of the range [{@code from}, {@code to}]. Choosing the
       * value closest to the center of the range first is the most efficient strategy because it
       * minimizes the size of the subranges from which the remaining selections must be done.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

          void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) {
            builder.add(counter.getAndIncrement());
          }
        },
        ADD_ARRAY {
          @Override
          void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) {
            double[] array = new double[RANDOM.nextInt(10)];
            for (int i = 0; i < array.length; i++) {
              array[i] = counter.getAndIncrement();
            }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

          void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) {
            builder.add(counter.getAndIncrement());
          }
        },
        ADD_ARRAY {
          @Override
          void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) {
            long[] array = new long[RANDOM.nextInt(10)];
            for (int i = 0; i < array.length; i++) {
              array[i] = counter.getAndIncrement();
            }
            builder.addAll(array);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 19K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/TempFileCreator.java

          @SuppressWarnings("GoodTime") // reading system time without TimeSource
          String baseName = System.currentTimeMillis() + "-";
    
          for (int counter = 0; counter < TEMP_DIR_ATTEMPTS; counter++) {
            File tempDir = new File(baseDir, baseName + counter);
            if (tempDir.mkdir()) {
              return tempDir;
            }
          }
          throw new IllegalStateException(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/SuppliersTest.java

        final Supplier<Integer> nonThreadSafe =
            new Supplier<Integer>() {
              int counter = 0;
    
              @Override
              public Integer get() {
                int nextValue = counter + 1;
                Thread.yield();
                counter = nextValue;
                return counter;
              }
            };
    
        final int numThreads = 10;
        final int iterations = 1000;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        final Supplier<Integer> nonThreadSafe =
            new Supplier<Integer>() {
              int counter = 0;
    
              @Override
              public Integer get() {
                int nextValue = counter + 1;
                Thread.yield();
                counter = nextValue;
                return counter;
              }
            };
    
        final int numThreads = 10;
        final int iterations = 1000;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InetAddresses.java

        int hextet = 0;
        for (int i = start; i < end; i++) {
          hextet = hextet << 4;
          hextet |= Character.digit(ipString.charAt(i), 16);
        }
        return (short) hextet;
      }
    
      /**
       * Convert a byte array into an InetAddress.
       *
       * <p>{@link InetAddress#getByAddress} is documented as throwing a checked exception "if IP
       * address is of illegal length." We replace it with an unchecked exception, for use by callers
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

         * whenAll*().call*(), this future may be pending until the callback runs -- or even longer in
         * the case of callAsync(), which waits for the callback's returned future to complete.
         */
        releaseResources(ALL_INPUT_FUTURES_PROCESSED);
      }
    
      /**
       * Clears fields that are no longer needed after this future has completed -- or at least all its
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedInts.java

       * unsigned.
       *
       * <p><b>Java 8+ users:</b> use {@link Integer#toUnsignedString(int, int)} instead.
       *
       * @param x the value to convert to a string.
       * @param radix the radix to use while working with {@code x}
       * @throws IllegalArgumentException if {@code radix} is not between {@link Character#MIN_RADIX}
       *     and {@link Character#MAX_RADIX}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/RangeTest.java

        assertEquals(range, range.intersection(range));
    
        try {
          range.intersection(Range.open(3, 5));
          fail();
        } catch (IllegalArgumentException expected) {
          // TODO(kevinb): convert the rest of this file to Truth someday
          assertThat(expected).hasMessageThat().contains("connected");
        }
        try {
          range.intersection(Range.closed(0, 2));
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 24.1K bytes
    - Viewed (0)
Back to top