Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 281 for Measure (0.96 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/UnitOfWork.java

            return false;
        }
    
        /**
         * This is a temporary measure for Gradle tasks to track a legacy measurement of all input snapshotting together.
         */
        default void markLegacySnapshottingInputsStarted() {}
    
        /**
         * This is a temporary measure for Gradle tasks to track a legacy measurement of all input snapshotting together.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/assignments.go

    		}
    		res = append(res, s)
    	}
    	return "(" + strings.Join(res, ", ") + ")"
    }
    
    func measure(x int, unit string) string {
    	if x != 1 {
    		unit += "s"
    	}
    	return fmt.Sprintf("%d %s", x, unit)
    }
    
    func (check *Checker) assignError(rhs []syntax.Expr, l, r int) {
    	vars := measure(l, "variable")
    	vals := measure(r, "value")
    	rhs0 := rhs[0]
    
    	if len(rhs) == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultWorkerLeaseService.java

            coordinationService.withStateLock(unlock(locks));
        }
    
        private void acquireLocks(final Iterable<? extends ResourceLock> locks) {
            if (containsProjectLocks(locks)) {
                projectLockStatistics.measure(new Runnable() {
                    @Override
                    public void run() {
                        coordinationService.withStateLock(lock(locks));
                    }
                });
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 04:43:28 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/signature.go

    				}
    			} else if len(tparams) < len(recvTParams) {
    				// Reporting an error here is a stop-gap measure to avoid crashes in the
    				// compiler when a type parameter/argument cannot be inferred later. It
    				// may lead to follow-on errors (see issues go.dev/issue/51339, go.dev/issue/51343).
    				// TODO(gri) find a better solution
    				got := measure(len(tparams), "type parameter")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashTestUtils.java

              if ((hash1 & (1 << k)) == (hash2 & (1 << k))) {
                same[k] += 1;
              } else {
                diff[k] += 1;
              }
            }
          }
          // measure probability and assert it's within margin of error
          for (int j = 0; j < hashBits; j++) {
            double prob = (double) diff[j] / (double) (diff[j] + same[j]);
            Assert.assertEquals(0.50d, prob, epsilon);
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/HashFunction.java

     * <p>A high-quality hash function strives for some subset of the following virtues:
     *
     * <ul>
     *   <li><b>collision-resistant:</b> while the definition above requires making at least <i>some</i>
     *       token attempt, one measure of the quality of a hash function is <i>how well</i> it succeeds
     *       at this goal. Important note: it may be easy to achieve the theoretical minimum collision
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/HashFunction.java

     * <p>A high-quality hash function strives for some subset of the following virtues:
     *
     * <ul>
     *   <li><b>collision-resistant:</b> while the definition above requires making at least <i>some</i>
     *       token attempt, one measure of the quality of a hash function is <i>how well</i> it succeeds
     *       at this goal. Important note: it may be easy to achieve the theoretical minimum collision
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * calling thread wait for that time.
       *
       * The simplest way to maintain a rate of QPS is to keep the timestamp of the last granted
       * request, and ensure that (1/QPS) seconds have elapsed since then. For example, for a rate of
       * QPS=5 (5 tokens per second), if we ensure that a request isn't granted earlier than 200ms after
       * the last one, then we achieve the intended rate. If a request comes and the last request was
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * calling thread wait for that time.
       *
       * The simplest way to maintain a rate of QPS is to keep the timestamp of the last granted
       * request, and ensure that (1/QPS) seconds have elapsed since then. For example, for a rate of
       * QPS=5 (5 tokens per second), if we ensure that a request isn't granted earlier than 200ms after
       * the last one, then we achieve the intended rate. If a request comes and the last request was
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/rsc.io/markdown/html.go

    			end = j + 1
    		}
    		if r > unicode.MaxRune || r == 0 {
    			r = unicode.ReplacementChar
    		}
    		return &Plain{string(rune(r))}, start, end, true
    	}
    
    	// Max name in list is 32 bytes. Try for 64 for good measure.
    	for j := i + 1; j < len(s) && j-i < 64; j++ {
    		if s[j] == '&' { // Stop possible quadratic search on &&&&&&&.
    			break
    		}
    		if s[j] == ';' {
    			if r, ok := htmlEntity[s[i:j+1]]; ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top