Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 99 for nominator (0.17 sec)

  1. src/math/big/rat.go

    	return &x.a
    }
    
    // Denom returns the denominator of x; it is always > 0.
    // The result is a reference to x's denominator, unless
    // x is an uninitialized (zero value) [Rat], in which case
    // the result is a new [Int] of value 1. (To initialize x,
    // any operation that sets x will do, including x.Set(x).)
    // If the result is a reference to x's denominator it
    // may change if a new value is assigned to x, and vice versa.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/LongMath.java

        x /= commonDivisor;
        denominator /= commonDivisor;
        // We know gcd(x, denominator) = 1, and x * numerator / denominator is exact,
        // so denominator must be a divisor of numerator.
        return x * (numerator / denominator);
      }
    
      /*
       * binomial(biggestBinomials[k], k) fits in a long, but not binomial(biggestBinomials[k] + 1, k).
       */
      static final int[] biggestBinomials = {
        Integer.MAX_VALUE,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  3. src/math/big/rat_test.go

    	}
    
    	// 3) aliasing of denominator
    	x = NewRat(2, 3)
    	x.SetFrac(x.Denom(), NewInt(2))
    	if x.Cmp(q) != 0 {
    		t.Errorf("3) got %s want %s", x, q)
    	}
    
    	// 4) aliasing of numerator and denominator
    	x = NewRat(2, 3)
    	x.SetFrac(x.Denom(), x.Num())
    	if x.Cmp(q) != 0 {
    		t.Errorf("4) got %s want %s", x, q)
    	}
    
    	// 5) numerator and denominator are the same
    	q = NewRat(1, 1)
    	x = new(Rat)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 07 00:15:59 UTC 2022
    - 18.9K bytes
    - Viewed (0)
  4. tests/integration/telemetry/policy/testdata/enable_envoy_local_ratelimit_per_route.yaml

                      default_value:
                        numerator: 100
                        denominator: HUNDRED
                    filter_enforced:
                      runtime_key: local_rate_limit_enforced
                      default_value:
                        numerator: 100
                        denominator: HUNDRED
                    response_headers_to_add:
                      - append: false
                        header:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 02 03:31:35 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  5. tests/integration/telemetry/policy/testdata/enable_envoy_local_ratelimit_sa.yaml

                    default_value:
                      numerator: 100
                      denominator: HUNDRED
                  filter_enforced:
                    runtime_key: local_rate_limit_enforced
                    default_value:
                      numerator: 100
                      denominator: HUNDRED
                  response_headers_to_add:
                    - append: false
                      header:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 24 23:09:50 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/zcse.go

    				if vals[key] == nil {
    					vals[key] = v
    					if b != f.Entry {
    						// Move v to the entry block so it will dominate every block
    						// where we might use it. This prevents the need for any dominator
    						// calculations in this pass.
    						v.Block = f.Entry
    						f.Entry.Values = append(f.Entry.Values, v)
    						last := len(b.Values) - 1
    						b.Values[i] = b.Values[last]
    						b.Values[last] = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 08 01:46:31 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  7. cmd/utils.go

    }
    
    // ceilFrac takes a numerator and denominator representing a fraction
    // and returns its ceiling. If denominator is 0, it returns 0 instead
    // of crashing.
    func ceilFrac(numerator, denominator int64) (ceil int64) {
    	if denominator == 0 {
    		// do nothing on invalid input
    		return
    	}
    	// Make denominator positive
    	if denominator < 0 {
    		numerator = -numerator
    		denominator = -denominator
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 22:00:34 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/func.go

    	return f.postorder()
    }
    
    // Idom returns a map from block ID to the immediate dominator of that block.
    // f.Entry.ID maps to nil. Unreachable blocks map to nil as well.
    func (f *Func) Idom() []*Block {
    	if f.cachedIdom == nil {
    		f.cachedIdom = dominators(f)
    	}
    	return f.cachedIdom
    }
    
    // Sdom returns a sparse tree representing the dominator relationships
    // among the blocks of f.
    func (f *Func) Sdom() SparseTree {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. samples/ratelimit/local-rate-limit-service.yaml

                    runtime_key: test_enabled
                    default_value:
                      numerator: 100
                      denominator: HUNDRED
                  filter_enforced:
                    runtime_key: test_enabled
                    default_value:
                      numerator: 100
                      denominator: HUNDRED
                  response_headers_to_add:
                    - append: false
                      header:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 31 08:22:09 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/LongMath.java

        x /= commonDivisor;
        denominator /= commonDivisor;
        // We know gcd(x, denominator) = 1, and x * numerator / denominator is exact,
        // so denominator must be a divisor of numerator.
        return x * (numerator / denominator);
      }
    
      /*
       * binomial(biggestBinomials[k], k) fits in a long, but not binomial(biggestBinomials[k] + 1, k).
       */
      static final int[] biggestBinomials = {
        Integer.MAX_VALUE,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top