Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for precomputed (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. .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)
  7. guava/src/com/google/common/math/BigIntegerMath.java

            return (logX2Floor < 2 * logFloor + 1) ? logFloor : logFloor + 1;
        }
        throw new AssertionError();
      }
    
      /*
       * The maximum number of bits in a square root for which we'll precompute an explicit half power
       * of two. This can be any value, but higher values incur more class load time and linearly
       * increasing memory consumption.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  8. .teamcity/performance-tests-ci.json

          "coverage" : {
            "per_week" : [ "linux" ]
          }
        } ]
      }, {
        "testId" : "org.gradle.performance.experiment.nativeplatform.NativePreCompiledHeaderPerformanceTest.clean assemble with precompiled headers",
        "groups" : [ {
          "testProject" : "bigPCHNative",
          "coverage" : {
            "per_week" : [ "linux" ]
          }
        }, {
          "testProject" : "mediumPCHNative",
          "coverage" : {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 12 14:38:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        int iterations = 10;
        WeakReference<Object> ref = new WeakReference<>(null);
        int expectedComputations = 0;
        for (int i = 0; i < iterations; i++) {
          // The entry should get garbage collected and recomputed.
          Object oldValue = ref.get();
          if (oldValue == null) {
            expectedComputations++;
          }
          ref = new WeakReference<>(cache.getUnchecked(1));
          oldValue = null;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    	return c.loadType(dtype, pos, "")
    }
    
    // loadType recursively loads the requested dtype and its dependency graph.
    func (c *typeConv) loadType(dtype dwarf.Type, pos token.Pos, parent string) *Type {
    	// Always recompute bad pointer typedefs, as the set of such
    	// typedefs changes as we see more types.
    	checkCache := true
    	if dtt, ok := dtype.(*dwarf.TypedefType); ok && c.badPointerTypedef(dtt) {
    		checkCache = false
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top