Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 62 for fcma (0.04 sec)

  1. src/hash/crc64/crc64.go

    // The size of a CRC-64 checksum in bytes.
    const Size = 8
    
    // Predefined polynomials.
    const (
    	// The ISO polynomial, defined in ISO 3309 and used in HDLC.
    	ISO = 0xD800000000000000
    
    	// The ECMA polynomial, defined in ECMA 182.
    	ECMA = 0xC96C5795D7870F42
    )
    
    // Table is a 256-word table representing the polynomial for efficient processing.
    type Table [256]uint64
    
    var (
    	slicing8TablesBuildOnce sync.Once
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. src/hash/crc64/crc64_test.go

    	tabISO := MakeTable(ISO)
    	tabECMA := MakeTable(ECMA)
    	for i := 0; i < len(golden); i++ {
    		g := golden[i]
    		c := New(tabISO)
    		io.WriteString(c, g.in)
    		s := c.Sum64()
    		if s != g.outISO {
    			t.Fatalf("ISO crc64(%s) = 0x%x want 0x%x", g.in, s, g.outISO)
    		}
    		c = New(tabECMA)
    		io.WriteString(c, g.in)
    		s = c.Sum64()
    		if s != g.outECMA {
    			t.Fatalf("ECMA crc64(%s) = 0x%x want 0x%x", g.in, s, g.outECMA)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 25 06:32:12 UTC 2018
    - 9.9K bytes
    - Viewed (0)
  3. src/runtime/mkfastlog2table.go

    		fastlog2Table[i] = log2(1.0 + float64(i)/(1<<fastlogNumBits))
    	}
    	return fastlog2Table
    }
    
    // log2 is a local copy of math.Log2 with an explicit float64 conversion
    // to disable FMA. This lets us generate the same output on all platforms.
    func log2(x float64) float64 {
    	frac, exp := math.Frexp(x)
    	// Make sure exact powers of two give an exact answer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jun 26 22:12:19 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/listenertest/match.go

    	MTLSHTTP    FilterChainType = "mTLS HTTP"
    	Unknown     FilterChainType = "unknown"
    )
    
    func classifyFilterChain(have *listener.FilterChain) FilterChainType {
    	fcm := have.GetFilterChainMatch()
    	alpn := sets.New(fcm.GetApplicationProtocols()...)
    	switch fcm.GetTransportProtocol() {
    	case xdsfilters.TLSTransportProtocol:
    		if alpn.Contains("istio-http/1.1") {
    			return MTLSHTTP
    		}
    		if alpn.Contains("istio") {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/arm64/doc.go

    using different register names.
    
    Examples:
    
    	ADC R24, R14, R12          <=>     adc x12, x14, x24
    	ADDW R26->24, R21, R15     <=>     add w15, w21, w26, asr #24
    	FCMPS F2, F3               <=>     fcmp s3, s2
    	FCMPD F2, F3               <=>     fcmp d3, d2
    	FCVTDH F2, F3              <=>     fcvt h3, d2
    
    2. Go uses .P and .W suffixes to indicate post-increment and pre-increment.
    
    Examples:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:21:42 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/amd64/versions_test.go

    		}
    	}
    }
    
    func TestFMA(t *testing.T) {
    	for _, tt := range []struct {
    		x, y, z, want float64
    	}{
    		{2, 3, 4, 10},
    		{3, 4, 5, 17},
    	} {
    		if got := math.FMA(tt.x, tt.y, tt.z); got != tt.want {
    			t.Errorf("FMA(%f,%f,%f) = %f, want %f", tt.x, tt.y, tt.z, got, tt.want)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  7. src/internal/cpu/cpu_x86.go

    			option{Name: "avx", Feature: &X86.HasAVX},
    			option{Name: "avx2", Feature: &X86.HasAVX2},
    			option{Name: "bmi1", Feature: &X86.HasBMI1},
    			option{Name: "bmi2", Feature: &X86.HasBMI2},
    			option{Name: "fma", Feature: &X86.HasFMA})
    	}
    	if level < 4 {
    		// These options are required at level 4. At lower levels
    		// they can be turned off.
    		options = append(options,
    			option{Name: "avx512f", Feature: &X86.HasAVX512F},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:20 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/syscall/js/js_test.go

    }
    
    // See
    // - https://developer.mozilla.org/en-US/docs/Glossary/Truthy
    // - https://stackoverflow.com/questions/19839952/all-falsey-values-in-javascript/19839953#19839953
    // - http://www.ecma-international.org/ecma-262/5.1/#sec-9.2
    func TestTruthy(t *testing.T) {
    	want := true
    	for _, key := range []string{
    		"someBool", "someString", "someInt", "someFloat", "someArray", "someDate",
    		"stringZero", // "0" is truthy
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/sys/cpu/cpu_x86.go

    		{Name: "amxbf16", Feature: &X86.HasAMXBF16},
    		{Name: "bmi1", Feature: &X86.HasBMI1},
    		{Name: "bmi2", Feature: &X86.HasBMI2},
    		{Name: "cx16", Feature: &X86.HasCX16},
    		{Name: "erms", Feature: &X86.HasERMS},
    		{Name: "fma", Feature: &X86.HasFMA},
    		{Name: "osxsave", Feature: &X86.HasOSXSAVE},
    		{Name: "pclmulqdq", Feature: &X86.HasPCLMULQDQ},
    		{Name: "popcnt", Feature: &X86.HasPOPCNT},
    		{Name: "rdrand", Feature: &X86.HasRDRAND},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. src/math/all_test.go

    		t.Errorf("Yn(0, 0) = %g, want %g", f, Inf(-1))
    	}
    }
    
    var PortableFMA = FMA // hide call from compiler intrinsic; falls back to portable code
    
    func TestFMA(t *testing.T) {
    	for _, c := range fmaC {
    		got := FMA(c.x, c.y, c.z)
    		if !alike(got, c.want) {
    			t.Errorf("FMA(%g,%g,%g) == %g; want %g", c.x, c.y, c.z, got, c.want)
    		}
    		got = PortableFMA(c.x, c.y, c.z)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
Back to top