Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 326 for ABS (0.1 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/proxy/transport_test.go

    			forwardedURI: "/proxy/node/node1:10250/",
    		},
    		"abs": {
    			input:        `<script src="http://google.com/kubernetes.js"/>`,
    			sourceURL:    "http://mynode.com/any/path/",
    			transport:    testTransport,
    			output:       `<script src="http://google.com/kubernetes.js"/>`,
    			contentType:  "text/html",
    			forwardedURI: "/proxy/node/node1:10250/any/path/",
    		},
    		"abs but same host": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  2. src/math/cmplx/tan.go

    	if x > 0.5 {
    		x--
    	}
    	return math.Pi * x
    }
    
    // Taylor series expansion for cosh(2y) - cos(2x)
    func tanSeries(z complex128) float64 {
    	const MACHEP = 1.0 / (1 << 53)
    	x := math.Abs(2 * real(z))
    	y := math.Abs(2 * imag(z))
    	x = reducePi(x)
    	x = x * x
    	y = y * y
    	x2 := 1.0
    	y2 := 1.0
    	f := 1.0
    	rn := 0.0
    	d := 0.0
    	for {
    		rn++
    		f *= rn
    		rn++
    		f *= rn
    		x2 *= x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/resources/org/gradle/reporting/flot.selection.min.js

    =range.axis.p2c(range.to)}selection.show=true;plot.triggerRedrawOverlay();if(!preventEvent&&selectionIsSane())triggerSelectedEvent()}function selectionIsSane(){var minSize=plot.getOptions().selection.minSize;return Math.abs(selection.second.x-selection.first.x)>=minSize&&Math.abs(selection.second.y-selection.first.y)>=minSize}plot.clearSelection=clearSelection;plot.setSelection=setSelection;plot.getSelection=getSelection;plot.hooks.bindEvents.push(function(plot,eventHolder){var o=plot.getOptions...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/test/testflag.go

    type outputdirFlag struct {
    	abs string
    }
    
    func (f *outputdirFlag) String() string {
    	return f.abs
    }
    
    func (f *outputdirFlag) Set(value string) (err error) {
    	if value == "" {
    		f.abs = ""
    	} else {
    		f.abs, err = filepath.Abs(value)
    	}
    	return err
    }
    
    func (f *outputdirFlag) getAbs() string {
    	if f.abs == "" {
    		return base.Cwd()
    	}
    	return f.abs
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. src/math/cmplx/asin.go

    // Also tested by csin(casin(z)) = z.
    
    // Asin returns the inverse sine of x.
    func Asin(x complex128) complex128 {
    	switch re, im := real(x), imag(x); {
    	case im == 0 && math.Abs(re) <= 1:
    		return complex(math.Asin(re), im)
    	case re == 0 && math.Abs(im) <= 1:
    		return complex(re, math.Asinh(im))
    	case math.IsNaN(im):
    		switch {
    		case re == 0:
    			return complex(re, math.NaN())
    		case math.IsInf(re, 0):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 5.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/metrics/metrics_test.go

    		t.Errorf("unexpected count: %v", c)
    	}
    	if math.Abs(s-2.0) > 1e-7 {
    		t.Fatalf("incorrect sum: %v", s)
    	}
    }
    
    func TestObserveEvaluation(t *testing.T) {
    	defer legacyregistry.Reset()
    	Metrics.ObserveEvaluation(2 * time.Second)
    	c, s := gatherHistogram(t, "apiserver_cel_evaluation_duration_seconds")
    	if c != 1 {
    		t.Errorf("unexpected count: %v", c)
    	}
    	if math.Abs(s-2.0) > 1e-7 {
    		t.Fatalf("incorrect sum: %v", s)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  7. src/runtime/complex.go

    	var e, f float64 // complex(e, f) = n/m
    
    	// Algorithm for robust complex division as described in
    	// Robert L. Smith: Algorithm 116: Complex division. Commun. ACM 5(8): 435 (1962).
    	if abs(real(m)) >= abs(imag(m)) {
    		ratio := imag(m) / real(m)
    		denom := real(m) + ratio*imag(m)
    		e = (real(n) + imag(n)*ratio) / denom
    		f = (imag(n) - real(n)*ratio) / denom
    	} else {
    		ratio := real(m) / imag(m)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 15 22:45:17 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/ir/FakeQuantSupport.cc

      const double zeroPointFromMin = qminDouble - rmin / scale;
      const double zeroPointFromMinError =
          std::abs(qminDouble) + std::abs(rmin / scale);
      const double zeroPointFromMax = qmaxDouble - rmax / scale;
      const double zeroPointFromMaxError =
          std::abs(qmaxDouble) + std::abs(rmax / scale);
    
      const double zeroPointDouble = (zeroPointFromMinError < zeroPointFromMaxError)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 11:52:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/eventclock/real_event_clock_test.go

    	now := ec.Now()
    	const batchSize = 100
    	times := make(chan time.Time, batchSize+1)
    	try := func(abs bool, d time.Duration) {
    		f := func(u time.Time) {
    			realD := ec.Since(now)
    			atomic.AddInt32(&numDone, 1)
    			times <- u
    			if realD < d {
    				t.Errorf("Asked for %v, got %v", d, realD)
    			}
    		}
    		if abs {
    			ec.EventAfterTime(f, now.Add(d))
    		} else {
    			ec.EventAfterDuration(f, d)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 07 04:07:31 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  10. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import kotlin.math.abs
    import okio.ByteString
    
    internal sealed interface MappedRange {
      val rangeStart: Int
    
      data class Constant(
        override val rangeStart: Int,
        val type: Int,
      ) : MappedRange {
        val b1: Int
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top