Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for domingo (0.17 sec)

  1. guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

          for (int j = 0; j < datasetSize; j++) {
            datasets[i][j] = rng.nextDouble();
          }
        }
      }
    
      private double[] dataset(int i) {
        // We must test on a fresh clone of the dataset each time. Doing sorts and quickselects on a
        // dataset which is already sorted or partially sorted is cheating.
        return datasets[i & 0xFF].clone();
      }
    
      @Benchmark
      double median(int reps) {
        double dummy = 0.0;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

            or even industries &mdash; utilities useful for a sizable proportion of all Java programmers
            everywhere. If you can give enough detail such that any of us can imagine coming across
            a similar need in our own work, that's extremely helpful in studying how broadly useful the
            feature will be.
    
      - type: textarea
        attributes:
          label: Concrete Use Cases
    Others
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        thread.joinSuccessfully(LONG_DELAY_MS);
        assertInterrupted();
      }
    
      public void testJoinTimeoutMultiInterruptExpired() {
        /*
         * We don't "need" to schedule a thread completion at all here, but by doing
         * so, we come the closest we can to testing that the wait time is
         * appropriately decreased on each progressive join() call.
         */
        TimedThread thread = TimedThread.createWithDelay(LONG_DELAY_MS);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 31.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Interners.java

               *
               * Technically this loop not guaranteed to terminate, so theoretically (extremely
               * unlikely) this thread might starve, but even then, there is always going to be another
               * thread doing progress here.
               */
            }
          }
        }
      }
    
      /**
       * Returns a function that delegates to the {@link Interner#intern} method of the given interner.
       *
       * @since 8.0
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/base/StandardSystemProperty.java

       *     href="https://openjdk.java.net/jeps/220#Removed:-The-extension-mechanism">deprecated</a> in
       *     Java 8 and removed in Java 9. We do not plan to remove this API from Guava, but if you are
       *     using it, it is probably not doing what you want.
       */
      @Deprecated
      JAVA_EXT_DIRS("java.ext.dirs"),
    
      /** Operating system name. */
      OS_NAME("os.name"),
    
      /** Operating system architecture. */
      OS_ARCH("os.arch"),
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

     *
     * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized)
     * constant time operations. Expected in the hashtable sense (depends on the hash function doing a
     * good job of distributing the elements to the buckets to a distribution not far from uniform), and
     * amortized since some operations can trigger a hash table resize.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

                // If this CAS succeeds, we know that the provided callable will never be invoked,
                // so when oldFuture completes it is safe to allow the next submitted task to
                // proceed. Doing this immediately here lets the next task run without waiting for
                // the cancelled task's executor to run the noop AsyncCallable.
                //
                // ---
                //
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

      }
    
      /*
       * TODO(cpovirk): It would be great to run all these tests (including class unloading) in an
       * environment that forces Futures.getChecked to its fallback WeakSetValidator. One awful way of
       * doing so would be to derive a separate test library by using remove_from_jar to strip out
       * ClassValueValidator.
       *
       * Fortunately, we get pretty good coverage "by accident": We run all these tests against the
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       *
       * <p><b>Note:</b> When implementing an escaper it is a good idea to override this method for
       * efficiency by inlining the implementation of {@link #nextEscapeIndex(CharSequence, int, int)}
       * directly. Doing this for {@link com.google.common.net.PercentEscaper} more than doubled the
       * performance for unescaped strings (as measured by {@code CharEscapersBenchmark}).
       *
       * @param string the literal string to be escaped
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeToken.java

      @LazyInit @CheckForNull private transient TypeResolver covariantTypeResolver;
    
      /**
       * Constructs a new type token of {@code T}.
       *
       * <p>Clients create an empty anonymous subclass. Doing so embeds the type parameter in the
       * anonymous class's type hierarchy so we can reconstitute it at runtime despite erasure.
       *
       * <p>For example:
       *
       * <pre>{@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
Back to top