Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for precomputed (0.13 sec)

  1. guava-tests/test/com/google/common/base/CharMatcherTest.java

        reallyTestNoMatchThenMatch(matcher.precomputed().negate(), s);
      }
    
      private void doTestNoMatchThenMatch(CharMatcher matcher, String s) {
        reallyTestNoMatchThenMatch(matcher, s);
        reallyTestMatchThenNoMatch(matcher.negate(), s);
        reallyTestNoMatchThenMatch(matcher.precomputed(), s);
        reallyTestMatchThenNoMatch(matcher.negate().precomputed(), s);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        reallyTestNoMatchThenMatch(matcher.precomputed().negate(), s);
      }
    
      private void doTestNoMatchThenMatch(CharMatcher matcher, String s) {
        reallyTestNoMatchThenMatch(matcher, s);
        reallyTestMatchThenNoMatch(matcher.negate(), s);
        reallyTestNoMatchThenMatch(matcher.precomputed(), s);
        reallyTestMatchThenNoMatch(matcher.negate().precomputed(), s);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java

    /** @author Jesse Wilson */
    final class Platform {
      static CharMatcher precomputeCharMatcher(CharMatcher matcher) {
        // CharMatcher.precomputed() produces CharMatchers that are maybe a little
        // faster (and that's debatable), but definitely more memory-hungry. We're
        // choosing to turn .precomputed() into a no-op in GWT, because it doesn't
        // seem to be a worthwhile tradeoff in a browser.
        return matcher;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 27 13:56:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/CharMatcher.java

       * worthwhile only if the precomputed matcher is queried many thousands of times.
       *
       * <p>This method has no effect (returns {@code this}) when called in GWT: it's unclear whether a
       * precomputed matcher is faster, but it certainly consumes more memory, which doesn't seem like a
       * worthwhile tradeoff in a browser.
       */
      public CharMatcher precomputed() {
        return Platform.precomputeCharMatcher(this);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  5. architecture/networking/pilot.md

    First, we have a concept of a `Full` push. Only `Full` pushes will recompute `PushContext` on change; otherwise this is skipped and the last `PushContext` is re-used. Note: even when `Full`, we try to copy as much from the previous `PushContext` as possible. For example, if only a `WasmPlugin` changed, we would not recompute services indexes.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Feb 07 17:53:24 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

      void pollAndAdd(int reps) {
        for (int i = 0; i < reps; i++) {
          // TODO(kevinb): precompute random #s?
          queue.add(queue.poll() ^ random.nextInt());
        }
      }
    
      @Benchmark
      void populate(int reps) {
        for (int i = 0; i < reps; i++) {
          queue.clear();
          for (int j = 0; j < size; j++) {
            // TODO(kevinb): precompute random #s?
            queue.add(random.nextInt());
          }
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

     *          since this whole object is kept in the classloader between builds.
     *          Anything that changes must be in a val with a get() method that recomputes the value each time.
     */
    object BuildEnvironment {
    
        /**
         * A selection of environment variables injected into the environment by the `codeql-env.sh` script.
         */
        private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeMultiset.java

          this.totalCount = elemCount + totalCount(left) + totalCount(right);
        }
    
        private void recomputeHeight() {
          this.height = 1 + max(height(left), height(right));
        }
    
        private void recompute() {
          recomputeMultiset();
          recomputeHeight();
        }
    
        private AvlNode<E> rebalance() {
          switch (balanceFactor()) {
            case -2:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TreeMultiset.java

          this.totalCount = elemCount + totalCount(left) + totalCount(right);
        }
    
        private void recomputeHeight() {
          this.height = 1 + max(height(left), height(right));
        }
    
        private void recompute() {
          recomputeMultiset();
          recomputeHeight();
        }
    
        private AvlNode<E> rebalance() {
          switch (balanceFactor()) {
            case -2:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. .teamcity/performance-test-durations.json

        "linux" : 1135
      }, {
        "testProject" : "smallNative",
        "linux" : 131
      } ]
    }, {
      "scenario" : "org.gradle.performance.experiment.nativeplatform.NativePreCompiledHeaderPerformanceTest.clean assemble with precompiled headers",
      "durations" : [ {
        "testProject" : "bigPCHNative",
        "linux" : 785
      }, {
        "testProject" : "mediumPCHNative",
        "linux" : 257
      }, {
        "testProject" : "smallPCHNative",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 12 14:38:24 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top